Ask Your Question
2

Is there a way to watch service calls?

asked 2012-08-03 02:46:42 -0500

tbernhard gravatar image

One of the features I love about ROS's publisher-subscriber design is that I can passively "tune in" to the streams of communication between nodes to better understand their interaction. I have yet to find a convenient way to do the same for services.

I'm working on writing a man-in-the-middle node that could allow me to do this, but this seems like something ROS might provide already. Another option that I have yet to explore is using a debugger, but this could become tedious for a large software pipeline. Does anyone know of something better?

If it informs your answer, I'd like to use parts of the arm_navigation pipeline with existing motor controllers that do not conform to ROS's PR2 controller interface. Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-08-03 03:27:38 -0500

Lorenz gravatar image

There is no easy way to do introspection of service calls. You might be able to achieve it like a network sniffer though.

However, services are used quite rarely at least in PR2 interfaces since for all longer running processes like execution of arm trajectories, actionlib is used. actionlib is completely based on topics, i.e. you can use rostopic to do introspection.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2012-08-03 02:46:42 -0500

Seen: 197 times

Last updated: Aug 03 '12