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

where are the 42 header bytes?

asked 2015-02-26 19:57:24 -0500

brice rebsamen gravatar image

I went through the code carefully, I can't figure out where are the 42 header bytes.

According to the doc for the 32E, the data packet should start with a 42 bytes header, followed by 1200 bytes of data (block + encoder + points), terminated by 6 status bytes.

In the pcap reading code, those are discarded ( line 269). I cannot find any trace of it in the InputSocket code. Can anyone explain?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-02-27 12:00:06 -0500

joq gravatar image

The IP and UDP headers are not returned by a recvfrom() on a UDP socket.


edit flag offensive delete link more

Question Tools



Asked: 2015-02-26 19:57:24 -0500

Seen: 774 times

Last updated: Feb 27 '15