Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
main.h File Reference

Rotorcraft main loop. More...

+ 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)
 

Detailed Description

Rotorcraft main loop.

Definition in file main.h.

Macro Definition Documentation

#define STATIC_INLINE   static inline

Definition at line 34 of file main.h.

Function Documentation

STATIC_INLINE void failsafe_check ( void  )
STATIC_INLINE void handle_periodic_tasks ( void  )

Definition at line 200 of file main.c.

References baro_periodic(), electrical_periodic(), failsafe_check(), main_periodic(), radio_control_periodic_task(), sys_time_check_and_ack_timer(), and telemetry_periodic().

Referenced by main(), and pprz_thd().

+ 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 285 of file main.c.

References autopilot_on_rc_frame(), autopilot_rc, BaroEvent, DatalinkEvent, DetectGroundEvent(), GpsEvent, i2c_event(), ImuEvent, on_accel_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 219 of file main.c.

References autopilot_flight_time, autopilot_in_flight, autopilot_mode, autopilot_periodic(), commands, datalink_time, imu_periodic(), LED_PERIODIC, PERIODIC_FREQUENCY, and SetActuatorsFromCommands.

Referenced by handle_periodic_tasks().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

STATIC_INLINE void telemetry_periodic ( void  )

Definition at line 236 of file main.c.

Referenced by handle_periodic_tasks().

+ Here is the caller graph for this function: