4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |body_l.|sequen.| signature | len1 | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | element1 | ... | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + ... + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Generated with:: protocol "body_length:4,sequence:4,signature:13,len1:4, element1:32,...:4,...:67" --bits 32 As per ROS Melodic Morenia v1.14.5. this package is generally seen separated from a TCPROSHeader. An exemplary such package:: AB 00 00 00 00 00 00 00 7D 81 03 5F 7C A4 3F 0E ........}.._|.?. 00 00 00 00 02 09 00 00 00 2F 6C 69 73 74 65 6E ........./listen 65 72 18 00 00 00 49 20 68 65 61 72 64 3A 20 5B er....I heard: [ 68 65 6C 6C 6F 20 77 6F 72 6C 64 20 33 5D 47 00 hello world 3]G. 00 00 2F 74 6D 70 2F 62 69 6E 61 72 79 64 65 62 ../tmp/binarydeb 2F 72 6F 73 2D 6D 65 6C 6F 64 69 63 2D 72 6F 73 /ros-melodic-ros 63 70 70 2D 74 75 74 6F 72 69 61 6C 73 2D 30 2E cpp-tutorials-0. 39 2E 32 2F 6C 69 73 74 65 6E 65 72 2F 6C 69 73 9.2/listener/lis 74 65 6E 65 72 2E 63 70 70 0F 00 00 00 63 68 61 tener.cpp....cha 74 74 65 72 43 61 6C 6C 62 61 63 6B 26 00 00 00 tterCallback&... 01 00 00 00 07 00 00 00 2F 72 6F 73 6F 75 74 ......../rosout and the next one referring also to '/listener':: AB 00 00 00 01 00 00 00 7D 81 03 5F 00 54 42 14 ........}.._.TB. 00 00 00 00 02 09 00 00 00 2F 6C 69 73 74 65 6E ........./listen 65 72 18 00 00 00 49 20 68 65 61 72 64 3A 20 5B er....I heard: [ 68 65 6C 6C 6F 20 77 6F 72 6C 64 20 34 5D 47 00 hello world 4]G. 00 00 2F 74 6D 70 2F 62 69 6E 61 72 79 64 65 62 ../tmp/binarydeb 2F 72 6F 73 2D 6D 65 6C 6F 64 69 63 2D 72 6F 73 /ros-melodic-ros 63 70 70 2D 74 75 74 6F 72 69 61 6C 73 2D 30 2E cpp-tutorials-0. 39 2E 32 2F 6C 69 73 74 65 6E 65 72 2F 6C 69 73 9.2/listener/lis 74 65 6E 65 72 2E 63 70 70 0F 00 00 00 63 68 61 tener.cpp....cha 74 74 65 72 43 61 6C 6C 62 61 63 6B 26 00 00 00 tterCallback&... 01 00 00 00 07 00 00 00 2F 72 6F 73 6F 75 74 ......../rosout NOTE: not all packages are disgested appropriately and some fields need to be better understood (e.g. signature) for appropriate building. NOTE 2: Needs further research to convert Padding at the end to something that makes sense. rr