vtol_attitude_control: hotfix, do not update parameters on every iteration

Signed-off-by: Roman <bapstroman@gmail.com>
This commit is contained in:
Roman
2016-11-22 10:05:53 +01:00
committed by Julian Oes
parent 92a5db92a2
commit d77547e7e1
8 changed files with 13 additions and 16 deletions
+1 -4
View File
@@ -75,7 +75,7 @@ Standard::~Standard()
{
}
int
void
Standard::parameters_update()
{
float v;
@@ -122,13 +122,10 @@ Standard::parameters_update()
return OK;
}
void Standard::update_vtol_state()
{
parameters_update();
/* After flipping the switch the vehicle will start the pusher (or tractor) motor, picking up
* forward speed. After the vehicle has picked up enough speed the rotors shutdown.
* For the back transition the pusher motor is immediately stopped and rotors reactivated.