StarlingUAS / ProjectStarling

BRL Flight Arena Infrastructure 2.0
Other
16 stars 3 forks source link

SITL despawn gazebo model on shutdown hook #130

Open mhl787156 opened 2 years ago

mhl787156 commented 2 years ago

Currently if the SITL stops or fails or needs respawning, both the SITL and Gazebo instance have to be restarted.

It would be nice if SITL needed to be restarted or stopped, that the Gazebo model is removed too.

This would allow a nice way of doing repeatable experimentation as restarting the SITL now causes a host of GPS and interal state errors as the drone doesn't start where the SITL thinks it should be.