Gazebo | Ignition | Community
Ask Your Question
0

Recompute contacts without initiating a simulation step

asked 2014-05-23 08:51:51 -0500

vsunder gravatar image

updated 2014-05-23 08:53:59 -0500

I want to recompute contacts without triggering a simulation step (inducing a physics response etc). So this would involve being able to alter the pose of objects and then determine the collisions. Is this possible? If so how?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-05-28 09:53:45 -0500

nkoenig gravatar image

You could try getting a pointer to the physics engine, and call UpdateCollisions.

Model::GetWorld()

World::GetPhysicsEngine()

PhysicsEngine::UpdateCollision()

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-05-23 08:51:51 -0500

Seen: 180 times

Last updated: May 28 '14