Uncontrollable robot with bullet physics (works ok with ode)
I got hector_quadrotor
working with gazebo5 (instead of gazebo2) to be able to experiment with different physics engines. While the quadrotor is controllable with ode (subscribing to cmd_vel
) it doesn't respond when using the bullet engine. I checked the forces during the simulation and they are reporting penetration depths, normals and locations but all forces and torques are 0. Does anyone have any idea whats going on or how I can find out whats going on?
In addition, I tried using simbody physics engine and all my objects are suddenly placed at the center of the world?
Asked by niall on 2015-05-21 09:12:35 UTC
Answers
I have the same problem. My model responds fine with ODE but doesn't respond to API-set force and torques.
Test: I run an empty world with
gazebo -e bullet
and place any object on the scene, say the Coke can.
Then I right-click->apply force-torque and set any force. The model never moves.
EDIT:
Clarification: Running on Gazebo 7 installed from ROS Kinetic, from precompiled binaries. Does anyone know if Bullet still needs Gazebo compilation from source?
EDIT 2:
According to this Bullet is included in the current Gazebo binary.
EDIT 3:
I don't know which method the hector_quadrotor
plugins use to move the model, but if they use AddRelativeForce
or AddForce
, then it may have to do with this
Asked by Georacer on 2016-09-05 02:27:34 UTC
Comments