Paparazzi UAS  v6.2_unstable
Paparazzi is a free software Unmanned Aircraft System.
ctrl_module_outerloop_demo.c File Reference

example empty controller More...

+ Include dependency graph for ctrl_module_outerloop_demo.c:

Go to the source code of this file.

Data Structures

struct  ctrl_module_demo_struct
 

Functions

void guidance_h_module_init (void)
 
void guidance_h_module_enter (void)
 
void guidance_h_module_read_rc (void)
 
void guidance_h_module_run (bool in_flight)
 

Variables

struct ctrl_module_demo_struct ctrl
 
float comode_time = 0
 

Detailed Description

example empty controller

Implements an example simple horizontal outerloop controller in a module.

Definition in file ctrl_module_outerloop_demo.c.


Data Structure Documentation

◆ ctrl_module_demo_struct

struct ctrl_module_demo_struct

Definition at line 32 of file ctrl_module_innerloop_demo.c.

+ Collaboration diagram for ctrl_module_demo_struct:
Data Fields
struct Int32Eulers cmd
struct Int32Eulers rc_sp
int rc_t
int rc_x
int rc_y
int rc_z

Function Documentation

◆ guidance_h_module_enter()

◆ guidance_h_module_init()

void guidance_h_module_init ( void  )

Definition at line 54 of file ctrl_module_outerloop_demo.c.

◆ guidance_h_module_read_rc()

void guidance_h_module_read_rc ( void  )

Definition at line 67 of file ctrl_module_outerloop_demo.c.

References autopilot, ctrl, pprz_autopilot::in_flight, ctrl_module_demo_struct::rc_sp, and stabilization_attitude_read_rc_setpoint_eulers().

+ Here is the call graph for this function:

◆ guidance_h_module_run()

void guidance_h_module_run ( bool  in_flight)

Variable Documentation

◆ comode_time

float comode_time = 0

Definition at line 48 of file ctrl_module_outerloop_demo.c.

◆ ctrl