mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 19:13:34 +08:00
Fix typo.
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@ public:
|
||||
if (fabs(theta_val - pi/2) < 1.0e-3) {
|
||||
phi_val = Type(0.0);
|
||||
psi_val = Type(atan2(dcm(1,2), dcm(0,2)));
|
||||
} else if (Type(fabs(theta_val + pi/2) < Type(1.0e-3))) {
|
||||
} else if (Type(fabs(theta_val + pi/2)) < Type(1.0e-3)) {
|
||||
phi_val = Type(0.0);
|
||||
psi_val = Type(atan2(-dcm(1,2), -dcm(0,2)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user