Gazebo | Ignition | Community
Ask Your Question

Adding a special-purpose physics simulator

asked 2014-01-22 16:05:09 -0500

mkoval gravatar image

updated 2014-01-23 14:15:21 -0500

I'm interested in adding a special-purpose physics simulation for simulating the interaction between specific pairs of objects. In our case, this is a quasistatic physics simulator that I would like to use to simulate the interaction between the robot's end-effector and a specific object on a table.

The most obvious way of going about this is to implement the Simbody physics wrapper in Gazebo, similar to the existing physics engines. However, this seems like overkill since our simulation is only for a subset of objects in the environment and can use the same collision detectors provided by the existing simulations.

None of the plugin interfaces are obviously a great fit for this. How should I go about implementing this? How do I override the default physics simulation for certain objects?

Edit: I only need to control the object when the gripper is touching it. I can't, however, get away with adding forces to the object since our simulator does not model the object's dynamics. I should be able to work around this by teleporting the object according to the appropriate collision response.

edit retag flag offensive close merge delete


Would it help to have some kind of collision bit mask where your plugin would receive collision information but the physics engine would not generate contact forces?

nkoenig gravatar imagenkoenig ( 2014-02-04 11:26:19 -0500 )edit

I think it would be helpful to us to have this functionality. Thank you

vsunder gravatar imagevsunder ( 2014-02-06 17:00:09 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-01-22 19:31:10 -0500

nkoenig gravatar image

I'll ask a few questions so that I understand the situation better.

  1. Do you need to "control" the object on the table all the time, or just some of the time? For example, only when the gripper is touching the object.

  2. Can you get by with adding forces to the object, or manually transporting the object when a collision occurs? For example, we could tell ODE not to respond to collisions with the object and let your plugin handle the collision response.

edit flag offensive delete link more


Thanks for the quick reply! I just edited my original post to answer your questions.

mkoval gravatar imagemkoval ( 2014-01-23 14:16:04 -0500 )edit
Login/Signup to Answer

Question Tools



Asked: 2014-01-22 16:05:09 -0500

Seen: 252 times

Last updated: Jan 23 '14