Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to dynamically update model parameters

Hello, Thank you all for the support! I am running a simulation of quadrotors on Gazebo. I am trying to update the physical parameters dynamically. For example, I'd like to change the mass of the quadrotor without terminating the simulation and relaunching the whole thing. I am implementing a Gazebo model plugin, and it seems to change the mass in the simulation (on the left column where it displays the model properties). However, it's only the number that changed, it doesn't take any physical affect in the animation. And I am having trouble figuring out why...

Much appreciation if you can point me to a direction on solving this issue!