rosbridge_library.internal.cbor_conversion module

rosbridge_library.internal.cbor_conversion.extract_cbor_values(msg: ROSMessage) dict[str, Any]

Extract a dictionary of CBOR-friendly values from a ROS message.

Primitive values will be casted to specific Python primitives.

Typed arrays will be tagged and packed into byte arrays.