mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 10:26:52 +08:00
ekf2: change indication further reduce data precision
This commit is contained in:
committed by
Mathieu Bresciani
parent
1317b1a6e1
commit
fec0d6c5ed
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -55,7 +55,7 @@ void EkfLogger::writeState()
|
|||||||
matrix::Vector<float, 24> state = _ekf->getStateAtFusionHorizonAsVector();
|
matrix::Vector<float, 24> state = _ekf->getStateAtFusionHorizonAsVector();
|
||||||
|
|
||||||
for (int i = 0; i < 24; i++) {
|
for (int i = 0; i < 24; i++) {
|
||||||
_file << "," << std::setprecision(4) << state(i);
|
_file << "," << std::setprecision(3) << state(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user