We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 339a0b4 commit c515027Copy full SHA for c515027
src/modules/ekf2/EKF2.cpp
@@ -748,7 +748,6 @@ void EKF2::Run()
748
749
// push imu data into estimator
750
_ekf.setIMUData(imu_sample_new);
751
- PublishAttitude(now); // publish attitude immediately (uses quaternion from output predictor)
752
753
// integrate time to monitor time slippage
754
if (_start_time_us > 0) {
@@ -855,6 +854,9 @@ void EKF2::Run()
855
854
#endif // CONFIG_EKF2_MAGNETOMETER
856
}
857
+ PublishAttitude(now); // publish attitude immediately (uses quaternion from output predictor)
858
+
859
860
// publish ekf2_timestamps
861
_ekf2_timestamps_pub.publish(ekf2_timestamps);
862
0 commit comments