Skip to content

hello_world example subscriber unable to receive data #66

Description

@kanagarajan0709

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions