forked from Archive/PX4-Autopilot
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:
parent
ee94980a8f
commit
944b18c63e
|
@ -598,8 +598,6 @@ void EstimatorInterface::printBufferAllocationFailed(const char *buffer_name)
|
||||||
|
|
||||||
void EstimatorInterface::print_status()
|
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("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("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());
|
ECL_INFO("mag buffer: %d (%d Bytes)", _mag_buffer.get_length(), _mag_buffer.get_total_size());
|
||||||
|
|
|
@ -158,9 +158,6 @@ public:
|
||||||
|
|
||||||
int getNumberOfActiveHorizontalAidingSources() const;
|
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
|
// return true if the EKF is dead reckoning the position using inertial data only
|
||||||
bool inertial_dead_reckoning() const { return _is_dead_reckoning; }
|
bool inertial_dead_reckoning() const { return _is_dead_reckoning; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue