Ask Your Question
1

Errors while applying force on a model

asked 2013-06-13 09:40:09 -0500

I apply a force: rosservice call /gazebo/apply_body_wrench '{body_name: "quadrotor::link", reference_frame: "quadrotor::link", wrench: { force: { x: 0, y: 0, z: -20.0 } }, start_time: 0, duration: -1 }' And get the error: [ERROR] [1371151542.440105542, 5372.627000000]: wrench defined as [link]:[0.000000 0.000000 -20.000000, 0.000000 0.000000 0.000000] --> applied as [link]:[0.000000 0.000000 -20.000000, 0.000000 0.000000 0.000000]

Please help. Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-05-29 10:36:37 -0500

updated 2014-05-29 10:36:57 -0500

According to the source code gazebo_ros_api_plugin.cpp under line 01553, it seems to always print out that error message as long as you set a reference frame other than empty, map, or world.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-06-13 09:40:09 -0500

Seen: 253 times

Last updated: May 29 '14