Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue May 22, 2023 · 1 comment

Comments

@daynad
Copy link

daynad commented May 22, 2023

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants