Robot Model drops off the floor after running the simulation

拟墨画扇 提交于 2019-12-10 18:51:54

问题


I imported a model in webots simulation from URDFs in ROS. The robot is a tricycle drive with 3 castor wheels. I have followed the wheel style as in the webots style guide and changed accordingly. My problem is that when I run the simulation the robot's wheels drops off the floor and is not able to move. Just chassis is on the floor and the wheels hangs down.


回答1:


Your robot is probably too heavy for the physics configuration.

You can fix this by changing the fields values of the WorldInfo node (https://www.cyberbotics.com/doc/reference/worldinfo). Here are the important fields:

  • ERP: you probably want to increase the default value which works fine for small and light objects (try setting it to ~0.6)
  • basicTimeStep: here you might decrease the default value to 16 (or even 8) this will make the simulation runs slightly slower because it computes more steps but much more stable.
  • contactProperties: You probably need to add a contact property defining the properties of the contact between the floor and your robot's wheels (to increase the friction, and decrease the spongyness of the contact).

Here is an example of contact properties:

ContactProperties {
  material2 "MyRobotWheelContactMaterial"
  coulombFriction [
    8
  ]
  softCFM 1e-5
}


来源:https://stackoverflow.com/questions/55352630/robot-model-drops-off-the-floor-after-running-the-simulation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!