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

Topic info command line doesn't list subscribers #39

Closed
osrf-migration opened this issue May 9, 2016 · 4 comments
Closed

Topic info command line doesn't list subscribers #39

osrf-migration opened this issue May 9, 2016 · 4 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@osrf-migration
Copy link

Original report (archived issue) by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


To reproduce:

  1. Compile examples

  2. Start publisher, it publishes HELLO messages

  3. Start subscriber, it receives HELLO messages

  4. Check topic info with ign topic -i -t /foo and we see the publisher, but not the subscriber.

@osrf-migration
Copy link
Author

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


Note how the Node::TopicInfo function only returns publishers:

https://github.com/ignitionrobotics/ign-transport/blob/1b74477b81025e1e2245ce49ec6da0f46c080d62/include/ignition/transport/Node.hh#L1012

@osrf-migration
Copy link
Author

Original comment by Kavya (Bitbucket: Kavya ).


Hi,
While I was working on this bug, I faced some difficulties while executing files.
When I 'make' files under the src folder, I can see the executable file only under the 'ignition-transport5.dir' and the following error is being displayed when I try to execute it

'bash: ./Publisher.cc.o: cannot execute binary file: Exec format error'

Is there something that I am missing out on after successfully making files ?

@osrf-migration
Copy link
Author

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


Thanks for working on this!

The examples I mentioned are under the example folder, you can run them like this:

cd example
mkdir build
cd build
cmake ..
make -j4
./publisher

And on another terminal:

cd example/build
./subscriber

@chapulina
Copy link
Contributor

Duplicate of #263

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants