[ros-users] [Discourse.ros.org] [Next Generation ROS] Discus…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Dirk Thomas via ros-users
Date:  
To: ros-users
CC: Dirk Thomas
Subject: [ros-users] [Discourse.ros.org] [Next Generation ROS] Discussion about how to add a new PRIMITIVE_TYPES to rosidl(msg)


[quote="johnmark, post:9, topic:4607"]
I still think that using `bytes` rather than `list[byte]` would be a good move (at least from IDL `byte[]` types, if not for `uint8[]` types).
[/quote]

Just mention the current state: you can already use `byte[]` in a `.msg` file and the resulting field in Python will be of type `bytes` (see https://github.com/ros2/rosidl_python/blob/3b97dc828ad14e3360ac52a1ef90ff335ce65715/rosidl_generator_py/rosidl_generator_py/generate_py_impl.py#L219-L221).





---
[Visit Topic](https://discourse.ros.org/t/discussion-about-how-to-add-a-new-primitive-types-to-rosidl-msg/4607/11) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>