Skip to content

hello_world example subscriber unable to receive data #66

@kanagarajan0709

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions