ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org |
![]() | 1 | initial version |
The following command will publish your data and give you access to your two parameters.
rostopic pub /cmd std_msgs/Float32MultiArray '{data: [100, 100]}' --once
You're not using the layout
in your code so we don't need to set it in this use case. The error you had is mainly because the published data is not formatted correctly.