ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

I was not able reporoduce with @AndyZe's answer since I had 12 joints. what worked for me was ;

ros2 topic pub /joint_trajectory_controller/commands std_msgs/msg/Float64MultiArray "{data: [0,0,0,0,0,0,0,0,0,0,0,2],layout: {dim:[], data_offset: 1"}}

Tested with ROS2 Foxy

I was not able reporoduce reproduce with @AndyZe's answer since I had 12 joints. what worked for me was ;

ros2 topic pub /joint_trajectory_controller/commands std_msgs/msg/Float64MultiArray "{data: [0,0,0,0,0,0,0,0,0,0,0,2],layout: {dim:[], data_offset: 1"}}

Tested with ROS2 Foxy