change float f to .0

This commit is contained in:
Sem van der Hoeven
2023-04-28 13:39:18 +02:00
parent 0107bb3c0b
commit e3466a1077

View File

@@ -64,7 +64,7 @@ private:
msg.velocity[1] = 0; // east
msg.velocity[2] = 1.0; // down (1 m/s -> TODO test if this accounts for 9.81 m/s earth gravity)
msg.yaw = (0f * M_PI) / 180f; // 0 degrees rotation of yaw
msg.yaw = (0.0 * M_PI) / 180.0; // 0 degrees rotation of yaw
msg.yawspeed = 0; // 0 rotation speed
msg.timestamp = this->get_clock()->now().nanoseconds() / 1000;