mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-19 18:49:08 +08:00
lib/motion_planning: VelocitySmoothingTest delete set but not used variable
This commit is contained in:
parent
095e0f0604
commit
d97bb168cf
@ -193,13 +193,11 @@ TEST_F(VelocitySmoothingTest, testZeroSetpoint)
|
||||
|
||||
// AND: Zero setpoints
|
||||
Vector3f velocity_setpoints(0.f, 0.f, 0.f);
|
||||
float t = 0.f;
|
||||
const float dt = 0.01f;
|
||||
|
||||
// WHEN: We run a few times the algorithm
|
||||
for (int i = 0; i < 60; i++) {
|
||||
updateTrajectories(dt, velocity_setpoints);
|
||||
t += dt;
|
||||
}
|
||||
|
||||
// THEN: All the trajectories should still be zero
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user