A complete ROS service server and client implementation of the example_interfaces AddTwoInts service is done, along with an acompaning testbench.
32 lines
1.8 KiB
Plaintext
32 lines
1.8 KiB
Plaintext
31............24..............16..............8...............0
|
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
|
| Representation_id | Representation_options |
|
|
00 01 (=CDR_LE) 00 00
|
|
| request_id.writer_guid |
|
|
| |
|
|
55 05 54 47 12 ee 90 0d
|
|
| request_id.sn |
|
|
| |
|
|
01 00 00 00 00 00 00 00
|
|
| AddTwoInts.a |
|
|
| |
|
|
02 00 00 00 00 00 00 00
|
|
| AddTwoInts.b |
|
|
| |
|
|
03 00 00 00 00 00 00 00
|
|
+---------------------------------------------------------------+
|
|
|
|
31............24..............16..............8...............0
|
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
|
| Representation_id | Representation_options |
|
|
00 01 (=CDR_LE) 00 00
|
|
| request_id.writer_guid |
|
|
| |
|
|
55 05 54 47 12 ee 90 0d
|
|
| request_id.sn |
|
|
| |
|
|
01 00 00 00 00 00 00 00
|
|
| AddTwoInts.sum |
|
|
| |
|
|
05 00 00 00 00 00 00 00
|
|
+---------------------------------------------------------------+ |