do not use D_SPEED for z velocity

This commit is contained in:
Sem van der Hoeven
2023-05-15 16:03:40 +02:00
parent 10ae3f3e3b
commit 9bca57a915

View File

@@ -273,7 +273,7 @@ private:
msg.velocity[0] = velocity[0];
msg.velocity[1] = velocity[1];
msg.velocity[2] = D_SPEED(velocity[2]);
msg.velocity[2] = velocity[2];
for (int i = 0; i < 3; i++)
{
msg.position[i] = NAN;