34 #include "../PreFlightCheck.hpp" 45 const bool report_status)
47 float test_limit = 1.0f;
69 mavlink_log_info(mavlink_log_pub,
"Preflight Advice: Accels inconsistent - Check Cal");
87 mavlink_log_info(mavlink_log_pub,
"Preflight Advice: Gyros inconsistent - Check Cal");
#define mavlink_log_info(_pub, _text,...)
Send a mavlink info message (not printed to console).
static bool imuConsistencyCheck(orb_advert_t *mavlink_log_pub, vehicle_status_s &status, const bool report_status)
static orb_advert_t * mavlink_log_pub
#define mavlink_log_critical(_pub, _text,...)
Send a mavlink critical message and print to console.
static struct vehicle_status_s status
__EXPORT int param_get(param_t param, void *val)
Copy the value of a parameter.
void set_health_flags_healthy(uint64_t subsystem_type, bool healthy, vehicle_status_s &status)
Global flash based parameter store.
#define ORB_ID(_name)
Generates a pointer to the uORB metadata structure for a given topic.
float gyro_inconsistency_rad_s
__BEGIN_DECLS typedef void * orb_advert_t
ORB topic advertiser handle.
__EXPORT param_t param_find(const char *name)
Look up a parameter by name.
Contains helper functions to efficiently set the system health flags from commander and preflight che...
float accel_inconsistency_m_s_s