Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
rotorcraft_cam.c File Reference
+ Include dependency graph for rotorcraft_cam.c:

Go to the source code of this file.

Macros

#define _SERVO_PARAM(_s, _p)   SERVO_ ## _s ## _ ## _p
 
#define SERVO_PARAM(_s, _p)   _SERVO_PARAM(_s,_p)
 
#define ROTORCRAFT_CAM_PAN_MIN   0
 
#define ROTORCRAFT_CAM_PAN_MAX   INT32_ANGLE_2_PI
 

Functions

void rotorcraft_cam_init (void)
 
void rotorcraft_cam_periodic (void)
 

Variables

uint8_t rotorcraft_cam_mode
 WP control. More...
 
int16_t rotorcraft_cam_tilt
 
int16_t rotorcraft_cam_tilt_pwm
 
int16_t rotorcraft_cam_pan
 

Macro Definition Documentation

#define _SERVO_PARAM (   _s,
  _p 
)    SERVO_ ## _s ## _ ## _p

Definition at line 32 of file rotorcraft_cam.c.

#define ROTORCRAFT_CAM_PAN_MAX   INT32_ANGLE_2_PI

Definition at line 50 of file rotorcraft_cam.c.

#define ROTORCRAFT_CAM_PAN_MIN   0

Definition at line 49 of file rotorcraft_cam.c.

#define SERVO_PARAM (   _s,
  _p 
)    _SERVO_PARAM(_s,_p)

Definition at line 33 of file rotorcraft_cam.c.

Function Documentation

void rotorcraft_cam_init ( void  )

Variable Documentation

uint8_t rotorcraft_cam_mode

WP control.

By default use WP_CAM waypoint if defined

Definition at line 30 of file rotorcraft_cam.c.

Referenced by rotorcraft_cam_periodic().

int16_t rotorcraft_cam_pan

Definition at line 48 of file rotorcraft_cam.c.

Referenced by rotorcraft_cam_init(), and rotorcraft_cam_periodic().

int16_t rotorcraft_cam_tilt

Definition at line 36 of file rotorcraft_cam.c.

Referenced by rotorcraft_cam_init(), and rotorcraft_cam_periodic().

int16_t rotorcraft_cam_tilt_pwm

Definition at line 37 of file rotorcraft_cam.c.

Referenced by rotorcraft_cam_init(), and rotorcraft_cam_periodic().