MingshanHe / Compliant-Control-and-Application

Compliant Control: 1) admittance control algorithm 2) impedance control algorithm 3) hybrid force&position algorithm in robotic arm (Universal Robot).
https://mingshanhe.github.io/Compliant-Control-and-Application/
MIT License
301 stars 62 forks source link

rostopic: error: Argument error: mapping values are not allowed here in "<unicode string>", line 1, column 12: position: x: -0.10 y: 0.30 z: 0.30 orientat ... ^ #31

Open daynad opened 1 year ago

daynad commented 1 year ago

dai@dai-virtual-machine:~/catkin_ws$ rostopic pub /desired_carteisan_pose_cmd geometry_msgs/Pose "position: x: -0.10 y: 0.30 z: 0.30 orientation: x: 0.707 y: -0.707 z: 0.0 w: 0.0" Usage: rostopic pub /topic type [args...]

rostopic: error: Argument error: mapping values are not allowed here in "", line 1, column 12: position: x: -0.10 y: 0.30 z: 0.30 orientat ... ^ when i run "rostopic pub /desired_carteisan_pose_cmd geometry_msgs/Pose "position: x: -0.10 y: 0.30 z: 0.30 orientation: x: 0.707 y: -0.707 z: 0.0 w: 0.0" " command, i get the error. 1684720608963 what should i do,thanks!

MingshanHe commented 1 year ago

Hi, this is the problem of command. I think you could search for some sample commands in google.