How to dynamically update model parameters [closed]

asked 2018-10-15 21:02:19 -0500

Tao_Ros gravatar image

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 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. Much appreciation if you can point me to a direction on solving this issue!

edit retag flag offensive reopen merge delete

Closed for the following reason Gazebo Question: The Gazebo community prefers to answer questions at: http://answers.gazebosim.org by gvdhoorn
close date 2018-10-16 03:24:03.982737

Comments

I never used it myself but I've seen some packages use dynamic reconfigure. It might be worth a look.

aPonza gravatar image aPonza  ( 2018-10-16 02:40:55 -0500 )edit

I am implementing a Gazebo plugin, [..]

this makes it -- for now at least -- a Gazebo-specific question.

I would recommend you ask those over at the Gazebo Answers site, as this one is for ROS.

If you do post there, could you please post a comment here with a link to your new question?

Thanks.

gvdhoorn gravatar image gvdhoorn  ( 2018-10-16 03:25:03 -0500 )edit

Ok, thank you so much

Tao_Ros gravatar image Tao_Ros  ( 2018-10-17 12:42:12 -0500 )edit