Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
EKF: Remove non useful status print
Browse files Browse the repository at this point in the history
Local position is never valid when filter is initialised so there is no use printing the status.
  • Loading branch information
priseborough authored and dagar committed Dec 8, 2020
1 parent ee94980 commit 944b18c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions EKF/estimator_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
3 changes: 0 additions & 3 deletions EKF/estimator_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,6 @@ class EstimatorInterface

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; }

Expand Down

0 comments on commit 944b18c

Please sign in to comment.