You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds ROS2 message type support to the rclcpy module. Creating a Publisher now
requires a ROS message type - all future messages must adhere to that message
type. A small group of test messages are available in the std_msgs submodule of
rclcpy, including Int32 and Bool. Message type detection is done through a type
registry, and the appropriate C level information passed to the Micro-ROS
interface. Ideally, future messages and message packages will be supported with
an automated class and registry generator. Due to MicroROS restrictions, custom
user message types cannot be supported without rebuilding Circuitpython.
API changes:
Removes the test publisher function `publish_int32` and replaces it with the
correct `publish` function, which accepts a message object. Adds the MsgType
parameter to publisher creation. Adds the std_msgs module to the module root.
0 commit comments