Fix fields order in psq command

This commit is contained in:
Oleg Kalachev
2025-09-20 22:35:36 +03:00
parent a79df52959
commit 4c89b10767

View File

@@ -107,7 +107,7 @@ void doCommand(String str, bool echo = false) {
Vector a = attitude.toEuler();
print("roll: %f pitch: %f yaw: %f\n", degrees(a.x), degrees(a.y), degrees(a.z));
} else if (command == "psq") {
print("qx: %f qy: %f qz: %f qw: %f\n", attitude.x, attitude.y, attitude.z, attitude.w);
print("qw: %f qx: %f qy: %f qz: %f\n", attitude.w, attitude.x, attitude.y, attitude.z);
} else if (command == "imu") {
printIMUInfo();
printIMUCalibration();