Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
px4_gimbal.c File Reference
#include "modules/px4_gimbal/px4_gimbal.h"
#include "modules/radio_control/radio_control.h"
#include "generated/modules.h"
#include "generated/airframe.h"
#include "modules/actuators/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

◆ PX4_GIMBAL_PWM_CHAN

#define PX4_GIMBAL_PWM_CHAN   0

Definition at line 21 of file px4_gimbal.c.

◆ PX4_GIMBAL_PWM_MAX

#define PX4_GIMBAL_PWM_MAX   1500

Definition at line 32 of file px4_gimbal.c.

◆ PX4_GIMBAL_PWM_MIN

#define PX4_GIMBAL_PWM_MIN   900

Definition at line 28 of file px4_gimbal.c.

◆ PX4_GIMBAL_RC_CHAN

#define PX4_GIMBAL_RC_CHAN   RADIO_AUX2

Definition at line 24 of file px4_gimbal.c.

Function Documentation

◆ px4_gimbal_init()

void px4_gimbal_init ( void  )

Definition at line 36 of file px4_gimbal.c.

References actuators_init().

+ Here is the call graph for this function:

◆ px4_set_gimbal_angle_periodic()

void px4_set_gimbal_angle_periodic ( void  )