ardrone_autonomy icon indicating copy to clipboard operation
ardrone_autonomy copied to clipboard

Change flying_mode after launch

Open cipri-tom opened this issue 8 years ago • 1 comments

Hi,

I know the drone parameters can be changed at launch. But is there a way to change them after the node has been launched? Specifically, I am interested in changing flying_mode parameter dynamically. Back in 2013 this wasn't possible.

Thank you for maintaining this awesome software!

cipri-tom avatar Feb 26 '16 21:02 cipri-tom

Unfortunately the driver does not support dynamically reconfigurable parameters.

  1. You can add a ROS service API to the driver that upon receiving a request changes the flight mode. You can see an example of how it's been done in the service implementation for toggling the camera.
  2. You can make all the [important] parameters dynamically reconfigurable (which might be a little tricky).

Pull requests are welcome as always. On Feb 26, 2016 1:17 PM, "Ciprian Tomoiaga" [email protected] wrote:

Hi,

I know the drone parameters can be changed at launch. But is there a way to change them after the node has been launched? Specifically, I am interested in changing flying_mode parameter dynamically. Back in 2013 http://www.ardrone-flyers.com/forum/viewtopic.php?f=23&t=4251&start=0#p72081 this wasn't possible.

Thank you for maintaining this awesome software!

— Reply to this email directly or view it on GitHub https://github.com/AutonomyLab/ardrone_autonomy/issues/179.

mani-monaj avatar Mar 04 '16 00:03 mani-monaj