OFERA is happy to announce that micro-ROS has updated the RMW default creation mode to Binary mode. This saves around 1 kB of static memory in RAM in a typical micro-ROS build.
Up to now, eProsima Micro XRCE-DDS Client describes DDS entities that are created in the Agent by using an XML description or a Reference to an existing XML description in the Agent side. The Reference mode is available through configuration flags and the XML mode has been upgraded to Binary mode in the micro-ROS RMW.
The support of the Binary entity creation mode allows the Micro XRCE-DDS Client to create DDS entities in the Agent using a common serialized format described in IDL by the OMG.
The new Binary entity creation mode brings remarkable advantages:
- More flexibility than Reference mode because the Client can describe the DDS entities easily.
- More memory consumption saving because the Client does not need to handle and store XML strings (usually hundreds of bytes).
The Binary entity creation mode has an initial subset of DDS QoS that can be set in the Client library. Those QoS are lightweight because usually they are just a bitmask for enabling/disabling QoS and operation modes.