ROS Serial C client library
|
Structure to hold serialized messages. More...
#include <ros_types.h>
Data Fields | |
union { | |
uint8_t sync_flag_ [2] | |
uint16_t sync_flag | |
}; | |
union { | |
uint8_t topic_id_ [2] | |
uint16_t topic_id | |
}; | |
union { | |
uint8_t message_length_ [2] | |
uint16_t message_length | |
}; | |
uint8_t * | buffer |
uint16_t | buffer_size |
uint8_t | checksum |
Structure to hold serialized messages.
uint8_t* buffer |
pointer to packets serialized message data
uint16_t buffer_size |
pointer to packets serialized message data
uint8_t checksum |
packet checksum
uint16_t message_length |
message length
uint8_t message_length_[2] |
array used to store message length
uint16_t sync_flag |
sync flag
uint8_t sync_flag_[2] |
array used to store sync flag
uint16_t topic_id |
topic id
uint8_t topic_id_[2] |
array used to store topic id