ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How to know service/topic detail information from remote

asked 2011-09-05 13:14:10 -0500

ysuga gravatar image

Hi, I'm ysuga. Japanese Robotics Engineer.

I'm currently developing a Java library and tools for connecting ROS topic/service with other robotics suites.

I want to know the way how to investigate the topic/service detail information that can be acquired by "rosmsg show ..." or "rossrv show...". I guess these command-line tools get the information by using the host pc's file system. However, I want to develop the Java library that can be universally used even if the remote PC does not have ROS library and file system.

Is it possible to acquire the information from the remote pc w/o ROS filesystem?

edit retag flag offensive close merge delete


For using the messages in Java, have a look at the new rosjava implementation (
Lorenz gravatar image Lorenz  ( 2011-09-06 01:55:14 -0500 )edit
>> Lorenz Yes, I know the rosjava. But it looks strongly coupled with the ROS filesystem, so it may not be installed to the windows and other non-supported machines. I want to make more dynamic and universal tool for any ROS users including beginners:-)
ysuga gravatar image ysuga  ( 2011-09-06 12:46:00 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2011-09-06 00:27:28 -0500

Guido gravatar image

Hi Ysuga,

I guess there is no simple way to do that. The two solutions I would advice are: 1) Make function which calls "rosmsg show"/"rossrv show" on the remote host (the one with ROS installed) and forward the results to your computer (the one without ROS). 2) Modify rosmsg and rossrv scripts so they search on a remote host.

Hope this will help you,


edit flag offensive delete link more


If 1) is OK, a simple ssh user@host "rosmsg show..." might do the trick.
dornhege gravatar image dornhege  ( 2011-09-06 00:46:46 -0500 )edit

Question Tools


Asked: 2011-09-05 13:14:10 -0500

Seen: 307 times

Last updated: Sep 06 '11