fixed position tracking overshoot

This commit is contained in:
Jimmy Johnson
2016-03-27 12:10:57 +02:00
committed by Lorenz Meier
parent 142884bcd8
commit 3aaad68c76
5 changed files with 61 additions and 31 deletions
+2 -2
View File
@@ -374,9 +374,9 @@ MissionBlock::mission_item_to_position_setpoint(const struct mission_item_s *ite
if(_navigator->get_vstatus()->is_vtol && _param_vtol_wv_loiter.get()){
sp->disable_mc_yaw_control = true;
}
break;
break;// get rid of this
case NAV_CMD_FOLLOW_TARGET:
sp->type = position_setpoint_s::SETPOINT_TYPE_FOLLOW_TARGET;
sp->type = position_setpoint_s::SETPOINT_TYPE_VELOCITY;
break;
default: