Firmware
Functions
health_flag_helper.h File Reference

Contains helper functions to efficiently set the system health flags from commander and preflight check. More...

#include <px4_log.h>
#include <uORB/topics/vehicle_status.h>

Go to the source code of this file.

Functions

void set_health_flags (uint64_t subsystem_type, bool present, bool enabled, bool ok, vehicle_status_s &status)
 
void set_health_flags_present_healthy (uint64_t subsystem_type, bool present, bool healthy, vehicle_status_s &status)
 
void set_health_flags_healthy (uint64_t subsystem_type, bool healthy, vehicle_status_s &status)
 

Detailed Description

Contains helper functions to efficiently set the system health flags from commander and preflight check.

Author
Philipp Oettershagen (phili.nosp@m.pp.o.nosp@m.etter.nosp@m.shag.nosp@m.en@ma.nosp@m.vt.e.nosp@m.thz.c.nosp@m.h)