mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-17 03:37:35 +08:00
Remove q_valid flag from attitude topic
This commit is contained in:
@@ -929,7 +929,7 @@ void BlockLocalPositionEstimator::predict()
|
||||
// state or covariance
|
||||
if (!_validXY && !_validZ) { return; }
|
||||
|
||||
if (integrate && _sub_att.get().q_valid) {
|
||||
if (integrate) {
|
||||
matrix::Quaternion<float> q(&_sub_att.get().q[0]);
|
||||
_eul = matrix::Euler<float>(q);
|
||||
_R_att = matrix::Dcm<float>(q);
|
||||
|
||||
Reference in New Issue
Block a user