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

Is the byte-format of ROS messages documented anywhere? [closed]

asked 2018-12-20 11:02:38 -0600

BitBasher4095 gravatar image

I'm a bit new to the ROS framework, but I'm really enjoying what I've seen so far. One thing I'd like to know is if the byte format for individual messages is documented anywhere? I realize that the format is essentially doing a simple serialization of the low-level data types, but I'd be interested in having a little understanding about how the individual messages are formatted across the wire.

I have some plans for doing a little experimentation to do a little reverse engineering if necessary, but I figure if it's documented somewhere it would save me a lot of work.

Thanks.

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by tfoote
close date 2018-12-20 20:09:31.354990

Comments

Thank you. These resources are somewhat helpful. However, the Wireshark tool doesn't seem to be working with Melodic? At least, I can't seem to capture any packets with it. Just filtering on tcpros.message yields no messages, even though I see my messages coming across with rostopic echo.

BitBasher4095 gravatar image BitBasher4095  ( 2018-12-20 13:39:01 -0600 )edit

The dissector is not release-specific, as the (de)serialisation hasn't changed since almost forever. You could however be capturing on the wrong interface. Try lo.

gvdhoorn gravatar image gvdhoorn  ( 2018-12-20 13:53:28 -0600 )edit

Ah, found it. The problem was that TCPROS was not an "enabled protocol" in the Wireshark options. I enabled it in the "Analyze -> Enabled Protocols" dialog and now I see them. Thanks!

BitBasher4095 gravatar image BitBasher4095  ( 2018-12-20 14:19:47 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-12-20 11:05:53 -0600

gvdhoorn gravatar image

updated 2018-12-20 11:06:25 -0600

Related / possible duplicates: #q224202 and #q189803.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-12-20 11:02:38 -0600

Seen: 248 times

Last updated: Dec 20 '18