Micro-XRCE-DDS
Micro-XRCE-DDS copied to clipboard
if ROS agent gets this error: eprosima::fastcdr::exception::BadParamException: Unexpected byte value in Cdr::deserialize(bool), expected 0 or 1,we need change ucdr serialize bool
If ROS gets this error,we need change all "ucdr_serialize_bool"in xrce_types.c.
liskes:
There is no real bool type in a microcontroller, and a value >0 is considered true,but if true not equal 0x01,(SOC)it will be error. So we should input 0 or 1 parameters for ucdr_serialize_bool();