mirror of
https://github.com/okalachev/flix.git
synced 2026-01-10 13:06:56 +00:00
Fix fields order in psq command
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user