Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

For me none of this worked, I always have an error like
"field data[] must be an integer type" (or a float if it's a float array of course.).

How I achieved to send multiple value was to set one value a a line preceding by a hyphen.


rostopic pub /modbus_wrapper/input std_msgs/Int32MultiArray "layout:
  - label: ''
    size: 2
    stride: 0
  data_offset: 0
- 0 
- 1
- 3