Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
px4_gimbal.c File Reference
#include "modules/px4_gimbal/px4_gimbal.h"
#include "subsystems/radio_control.h"
#include "generated/airframe.h"
#include "subsystems/actuators.h"
+ Include dependency graph for px4_gimbal.c:

Go to the source code of this file.

Macros

#define PX4_GIMBAL_PWM_CHAN   0
 
#define PX4_GIMBAL_RC_CHAN   RADIO_AUX2
 
#define PX4_GIMBAL_PWM_MIN   900
 
#define PX4_GIMBAL_PWM_MAX   1500
 

Functions

void px4_gimbal_init ()
 
void px4_set_gimbal_angle_periodic ()
 

Detailed Description

Author
Kevin van Hecke Control gimbal camera axis through px4 from rc

Definition in file px4_gimbal.c.

Macro Definition Documentation

#define PX4_GIMBAL_PWM_CHAN   0

Definition at line 20 of file px4_gimbal.c.

Referenced by px4_set_gimbal_angle_periodic().

#define PX4_GIMBAL_PWM_MAX   1500

Definition at line 31 of file px4_gimbal.c.

Referenced by px4_set_gimbal_angle_periodic().

#define PX4_GIMBAL_PWM_MIN   900

Definition at line 27 of file px4_gimbal.c.

Referenced by px4_set_gimbal_angle_periodic().

#define PX4_GIMBAL_RC_CHAN   RADIO_AUX2

Definition at line 23 of file px4_gimbal.c.

Referenced by px4_set_gimbal_angle_periodic().

Function Documentation

void px4_gimbal_init ( void  )

Definition at line 35 of file px4_gimbal.c.

void px4_set_gimbal_angle_periodic ( void  )