mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 16:43:33 +08:00
FlightTaskAuto minor clean up
This commit is contained in:
committed by
Lorenz Meier
parent
ae0f02f67d
commit
816f2d12d5
@@ -109,7 +109,6 @@ void PositionControl::generateThrustYawSetpoint(const float &dt)
|
||||
if (!_skipController) {
|
||||
_positionController();
|
||||
_velocityController(dt);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@ vehicle_attitude_setpoint_s thrustToAttitude(const matrix::Vector3f &thr_sp, con
|
||||
return att_sp;
|
||||
}
|
||||
|
||||
/* The sum of two vectors are constraints such that v0 has priority over v1.
|
||||
/* The sum of two vectors are constraint such that v0 has priority over v1.
|
||||
* This means that if the length of v0+v1 exceeds max, then it is constraint such
|
||||
* that that v0 has priority.
|
||||
* Inputs:
|
||||
|
||||
Reference in New Issue
Block a user