Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
main.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define STATIC_INLINE   static inline
 

Functions

STATIC_INLINE void main_init (void)
 
STATIC_INLINE void main_event (void)
 
STATIC_INLINE void handle_periodic_tasks (void)
 
STATIC_INLINE void main_periodic (void)
 
STATIC_INLINE void telemetry_periodic (void)
 
STATIC_INLINE void failsafe_check (void)
 

Macro Definition Documentation

#define STATIC_INLINE   static inline

Definition at line 30 of file main.h.

Function Documentation

STATIC_INLINE void failsafe_check ( void  )

Definition at line 179 of file main.c.

References AP_MODE_FAILSAFE, AP_MODE_KILL, AP_MODE_NAV, autopilot_mode, autopilot_set_mode(), GpsIsLost, and radio_control.

Referenced by handle_periodic_tasks().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

STATIC_INLINE void handle_periodic_tasks ( void  )

Definition at line 142 of file main.c.

References baro_periodic(), baro_tid, electrical_periodic(), electrical_tid, failsafe_check(), failsafe_tid, main_periodic(), main_periodic_tid, radio_control_tid, sys_time_check_and_ack_timer(), telemetry_periodic(), and telemetry_tid.

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

STATIC_INLINE void main_event ( void  )
inline

Definition at line 197 of file main.c.

References autopilot_on_rc_frame(), autopilot_rc, BaroEvent, DatalinkEvent, DetectGroundEvent(), GpsEvent, i2c_event(), ImuEvent, on_accel_event(), on_baro_abs_event(), on_baro_dif_event(), on_gps_event(), on_gyro_event(), on_mag_event(), and RadioControlEvent.

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

STATIC_INLINE void main_periodic ( void  )
inline

Definition at line 157 of file main.c.

STATIC_INLINE void telemetry_periodic ( void  )

Definition at line 175 of file main.c.

References DefaultChannel, and DefaultDevice.

Referenced by handle_periodic_tasks().

+ Here is the caller graph for this function: