Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hello_world example subscriber unable to receive data #66

Open
kanagarajan0709 opened this issue Nov 15, 2022 · 0 comments
Open

hello_world example subscriber unable to receive data #66

kanagarajan0709 opened this issue Nov 15, 2022 · 0 comments

Comments

@kanagarajan0709
Copy link

kanagarajan0709 commented Nov 15, 2022

Hi,

I have followed the documentation to setup and build hello world example from the link below,

https://community.rti.com/static/documentation/connext-dds/6.0.1/doc/manuals/connext_dds/getting_started/cpp11/intro_pubsub_cpp.html

~/rti_workspace/6.1.1/examples/getting_started/2_hello_world/c++11$ ./objs/x64Linux4gcc7.3.0/hello_world_publisher
Publisher output,
Writing HelloWorld, count 242
Writing HelloWorld, count 243
Writing HelloWorld, count 244

~/rti_workspace/6.1.1/examples/getting_started/2_hello_world/c++11$ ./objs/x64Linux4gcc7.3.0/hello_world_subscriber
Subscriber output,
HelloWorld subscriber sleeping for 4 sec...
HelloWorld subscriber sleeping for 4 sec...
HelloWorld subscriber sleeping for 4 sec...
[msg: ]
HelloWorld subscriber sleeping for 4 sec...
[msg: ]
HelloWorld subscriber sleeping for 4 sec...
HelloWorld subscriber sleeping for 4 sec...
[msg: ]
HelloWorld subscriber sleeping for 4 sec...
[msg: ]
HelloWorld subscriber sleeping for 4 sec...

From the log above, [msg: ] doesn't contain the actual data, it's empty.

I run this RTI DDS 6.1.1 example on remote Linux PC connected via SSH.
I was able to verify shapes demo from rtilauncher application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant