Copter: guided mode sets desired velocity instead of target velocity

This commit is contained in:
Randy Mackay 2014-06-12 11:53:02 +09:00
parent c9661cfb09
commit 46badc05bc
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ static void guided_set_velocity(const Vector3f& velocity)
}
// set position controller velocity target
pos_control.set_vel_target(velocity);
pos_control.set_desired_velocity(velocity);
}
// guided_run - runs the guided controller