ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Actually, I can use "connection.addHandler('/a',function(msg) {.....});" to get msg from topic /a .
And what I want is to use msg from both topic /a and topic /b in the same handler.
I'm not sure there's any way to use msg from two topics in one handler.
By the way, using your example I found that rsp is "OK" but not the msg from topic, so what does the rsp's content mean? just subscribe is successful?
Thank you for your kindness!