ros2 / rosidl_python

rosidl support for Python
Apache License 2.0
19 stars 45 forks source link

allow byte array to use int data #184

Open iuhilnehc-ynos opened 1 year ago

iuhilnehc-ynos commented 1 year ago

to fix https://github.com/ros2/ros2cli/issues/760

Signed-off-by: Chen Lihui lihui.chen@sony.com

iuhilnehc-ynos commented 1 year ago

and use ros2 topic to publish ByteMultiArray message as follows:

# console A
$ ros2 topic pub -1 /whatever std_msgs/msg/ByteMultiArray "{data: [1, 2, 3]}"

# console B
$ ros2 topic echo /whatever std_msgs/msg/ByteMultiArray
fujitatomoya commented 1 year ago

@sloretz can you take a look?

fujitatomoya commented 8 months ago

@iuhilnehc-ynos can you rebase and start CI for this?

iuhilnehc-ynos commented 8 months ago

CI:

fujitatomoya commented 8 months ago

@sloretz friendly ping.