Robotics StackExchange | Archived questions

rosbridge - How to run example in hydro

I need to use rosbridge. But when I install the version for hydro, I can not run the example "roslibjs/Tutorials/BasicRosFunctionality" I tried to run "rostopic pub /listener std_msgs/String "Hello, World"". But there isn´t a node /listener to run Thanks

Asked by Bastbeat on 2014-03-04 11:39:17 UTC

Comments

Which version of rosbridge are you running? Can you add the exact command you're running and the error you're receiving to your question?

Asked by ahendrix on 2014-03-04 11:54:51 UTC

I´m running the version rosbridge 2.0 (hydro version) Sorry, but I did´nt explain correctly my problem. "roslibjs/Tutorials/BasicRosFunctionality" That´s the example that I can not run. this command: rostopic pub /listener std_msgs/String "Hello, World" There is not any node listener running.

Asked by Bastbeat on 2014-03-04 21:44:22 UTC

I'm not sure what you mean by "there isn't a node /listener to run". I have no trouble running that command on my computer.

Asked by ahendrix on 2014-03-04 22:04:17 UTC

Ok, I solved it. It was only a problem of distros. Thank you!

Asked by Bastbeat on 2014-03-04 22:26:54 UTC

Can you write up your solution as an answer, to help the next person who has this problem?

Asked by ahendrix on 2014-03-05 09:23:29 UTC

I had installed 2 distros, groovy and hydro. and I had 2 workspaces. The problem: I was loging in in the incorrect workspace(groovy)

Asked by Bastbeat on 2014-04-06 23:40:05 UTC

Answers