ros2 / rosidl_python

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

allow byte array to use int data #184

Open iuhilnehc-ynos opened 2 years ago

iuhilnehc-ynos commented 2 years ago

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

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

iuhilnehc-ynos commented 2 years 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 1 year ago

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

iuhilnehc-ynos commented 1 year ago

CI:

fujitatomoya commented 1 year ago

@sloretz friendly ping.

andrew-chapman-smc commented 1 week ago

@sloretz any chance this can go in?

I just hit this issue