I am new to ROS and have inherited simple code to subscribe and monitor topic on a remote node. The code is using ws4py's WebSocketClient, connecting to wss://myhost/ws, subscribing to the topic by sending {'op':'subscribe','topic':'mynode/mytopic'} request. The messages are coming just fine.

How do I list all topics published by myhost/mynode using a websocket request?

Would it be better to use rospy for higher-level access?

I tried some google-fu, no result, found only rosbridge protocol description, but it does not mention listing topics.

Thanks for help!


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.