Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Set is_static through service call

Hey gang,

I'm currently wrestling with an annoying problem. I am trying to simulate putting new tires on a car in Gazebo. I have models of the Wheels, and the hubs which they sit on. Currently, there are three "studs" which line up with three matching holes on the Wheel.

When I spawn the wheel on the hub, it looks fine at first. However, the tire will slowly wiggle itself off of the hub, in about 30 seconds.

I am looking for a method to stop physical simulation on the Wheel through a python script, which I would run once the tire is lifted into place.

However, I can't find an appropriate service call to set the is_static property of a model. How can I achieve this?