Ask Your Question
0

Message Format or Description

asked 2014-08-07 14:13:21 -0600

Naz gravatar image

Hello everyone,

Is there a way we can know the description of the data that is logged for each topic ?

For example the data logged to the topic /navsat/fix contains altitude ,longitude and latitude and also many other fields. Is there a way we can understand what these other fields are ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-08-07 14:25:29 -0600

ahubers gravatar image

Do you mean like knowing the rest of the fields of that message type? that can be done through rosmsg show <message>, as described here here. If you wish to know the message type of the topic, the you can run rostopic type <topic>, or in your case, rostopic type /navsat/fix.

The source .msg file will also often contain documentation describing each field.

edit flag offensive delete link more

Comments

Thank you , where exactly is the source .msg file for each datatype , I need a detailed description of different datatypes.

Naz gravatar imageNaz ( 2014-08-07 14:46:28 -0600 )edit

Each message type is specified by its package name and then the message name, e.g, geometry_msgs/Pose refers to Pose.msg in the geometry_msgs package. Hence navigating to the package first and looking for the .msg file should be fruitful. You can learn more here http://wiki.ros.org/Messages

ahubers gravatar imageahubers ( 2014-08-07 14:56:35 -0600 )edit

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-08-07 14:13:21 -0600

Seen: 110 times

Last updated: Aug 07 '14