Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
actuators_asctec.h File Reference

Actuators driver for Asctec motor controllers. More...

#include "mcu_periph/i2c.h"
+ Include dependency graph for actuators_asctec.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ActuatorsAsctec
 

Macros

#define actuators_asctec_SetCommand(_v)
 
#define actuators_asctec_SetNewAddr(_v)
 
#define actuators_asctec_SetCurAddr(_v)
 

Enumerations

enum  actuators_astec_cmd { NONE, TEST, REVERSE, SET_ADDR }
 
enum  actuators_astec_addr { FRONT, BACK, LEFT, RIGHT }
 
enum  actuators_astec_cmds {
  PITCH, ROLL, YAW, THRUST,
  CMD_NB
}
 

Variables

struct ActuatorsAsctec actuators_asctec
 

Detailed Description

Actuators driver for Asctec motor controllers.

Definition in file actuators_asctec.h.

Macro Definition Documentation

#define actuators_asctec_SetCommand (   _v)
Value:
{ \
}
struct ActuatorsAsctec actuators_asctec
enum actuators_astec_cmd cmd

Definition at line 60 of file actuators_asctec.h.

#define actuators_asctec_SetCurAddr (   _v)
Value:
{ \
}
struct ActuatorsAsctec actuators_asctec
enum actuators_astec_addr cur_addr

Definition at line 68 of file actuators_asctec.h.

#define actuators_asctec_SetNewAddr (   _v)
Value:
{ \
}
struct ActuatorsAsctec actuators_asctec
enum actuators_astec_addr new_addr

Definition at line 64 of file actuators_asctec.h.

Enumeration Type Documentation

Enumerator
FRONT 
BACK 
LEFT 
RIGHT 

Definition at line 36 of file actuators_asctec.h.

Enumerator
NONE 
TEST 
REVERSE 
SET_ADDR 

Definition at line 31 of file actuators_asctec.h.

Enumerator
PITCH 
ROLL 
YAW 
THRUST 
CMD_NB 

Definition at line 42 of file actuators_asctec.h.

Variable Documentation

struct ActuatorsAsctec actuators_asctec

Definition at line 43 of file actuators_asctec.c.

Referenced by actuators_init(), actuators_set(), and main_periodic_task().