mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-13 01:20:35 +08:00
PositionControl: calculate velocity PID once using Vector3f
This commit is contained in:
committed by
Kabir Mohammed
parent
5bd8da2286
commit
62fb06bd58
@@ -198,7 +198,8 @@ TEST_F(PositionControlBasicTest, ThrustLimit)
|
||||
|
||||
TEST_F(PositionControlBasicTest, FailsafeInput)
|
||||
{
|
||||
_input_setpoint.vz = .7f;
|
||||
_input_setpoint.vz = .1f;
|
||||
_input_setpoint.thrust[0] = _input_setpoint.thrust[1] = 0.f;
|
||||
_input_setpoint.acceleration[0] = _input_setpoint.acceleration[1] = 0.f;
|
||||
|
||||
runController();
|
||||
|
||||
Reference in New Issue
Block a user