EKF: Remove non useful status print

Local position is never valid when filter is initialised so there is no use printing the status.
This commit is contained in:
Paul Riseborough 2020-12-05 18:48:41 +11:00 committed by Daniel Agar
parent ee94980a8f
commit 944b18c63e
2 changed files with 0 additions and 5 deletions

View File

@ -598,8 +598,6 @@ void EstimatorInterface::printBufferAllocationFailed(const char *buffer_name)
void EstimatorInterface::print_status()
{
ECL_INFO("local position valid: %s", local_position_is_valid() ? "yes" : "no");
ECL_INFO("imu buffer: %d (%d Bytes)", _imu_buffer.get_length(), _imu_buffer.get_total_size());
ECL_INFO("gps buffer: %d (%d Bytes)", _gps_buffer.get_length(), _gps_buffer.get_total_size());
ECL_INFO("mag buffer: %d (%d Bytes)", _mag_buffer.get_length(), _mag_buffer.get_total_size());

View File

@ -158,9 +158,6 @@ public:
int getNumberOfActiveHorizontalAidingSources() const;
// return true if the local position estimate is valid
bool local_position_is_valid() const { return local_position_is_valid(); }
// return true if the EKF is dead reckoning the position using inertial data only
bool inertial_dead_reckoning() const { return _is_dead_reckoning; }