Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
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

◆ PX4_GIMBAL_PWM_CHAN

#define PX4_GIMBAL_PWM_CHAN   0

Definition at line 20 of file px4_gimbal.c.

◆ PX4_GIMBAL_PWM_MAX

#define PX4_GIMBAL_PWM_MAX   1500

Definition at line 31 of file px4_gimbal.c.

◆ PX4_GIMBAL_PWM_MIN

#define PX4_GIMBAL_PWM_MIN   900

Definition at line 27 of file px4_gimbal.c.

◆ PX4_GIMBAL_RC_CHAN

#define PX4_GIMBAL_RC_CHAN   RADIO_AUX2

Definition at line 23 of file px4_gimbal.c.

Function Documentation

◆ px4_gimbal_init()

void px4_gimbal_init ( )

Definition at line 35 of file px4_gimbal.c.

◆ px4_set_gimbal_angle_periodic()

void px4_set_gimbal_angle_periodic ( )