34 #include "../PreFlightCheck.hpp" 39 #include <mathlib/mathlib.h> 47 const bool report_status)
63 int32_t angle_difference_limit_deg;
66 pass = pass || angle_difference_limit_deg < 0;
69 if (!pass && 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
float mag_inconsistency_angle
__EXPORT int param_get(param_t param, void *val)
Copy the value of a parameter.
static bool magConsistencyCheck(orb_advert_t *mavlink_log_pub, vehicle_status_s &status, const bool report_status)
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.
__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...