Skip to content

Commit

Permalink
[AttitudeObserver] Give text output for the calibration of the gyro bias
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdi-benallegue committed Aug 17, 2022
1 parent 4f9ba84 commit b7ee02f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/AttitudeObserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,8 @@ void AttitudeObserver::setGyroBiasToMeanValue()
m_gyrobias = m_gyroMeasurementTotal / m_numberOfValues;
m_gyroBiasFromMeasurement_running = false;

mc_rtc::log::info("Gyro bias identification finished, value: {} ", m_gyrobias.transpose());

if(withGyroBias_)
{
xk_.segment<3>(indexes::gyroBias) = m_gyrobias;
Expand All @@ -330,6 +332,8 @@ void AttitudeObserver::startGyroBiasIdentification()
m_gyroBiasFromMeasurement_running = true;
m_gyroMeasurementTotal.setZero();

mc_rtc::log::info("Gyro bias identification started");

m_resetGUI = true;
}

Expand Down

0 comments on commit b7ee02f

Please sign in to comment.