APM:Libraries
Classes | Namespaces | Macros | Enumerations
RCOutput_Bebop.h File Reference
#include "AP_HAL_Linux.h"
#include <AP_HAL/I2CDevice.h>
Include dependency graph for RCOutput_Bebop.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Linux::BebopBLDC_ObsData
 
class  Linux::RCOutput_Bebop
 

Namespaces

 Linux
 

Macros

#define BEBOP_BLDC_STATUS_INIT   0
 
#define BEBOP_BLDC_STATUS_IDLE   1
 
#define BEBOP_BLDC_STATUS_RAMPING   2
 
#define BEBOP_BLDC_STATUS_SPINNING_1   3
 
#define BEBOP_BLDC_STATUS_SPINNING_2   4
 
#define BEBOP_BLDC_STATUS_STOPPING   5
 
#define BEBOP_BLDC_STATUS_CRITICAL   6
 
#define BEBOP_BLDC_ERRNO_EEPROM   1
 
#define BEBOP_BLDC_ERRNO_MOTOR_STALLED   2
 
#define BEBOP_BLDC_ERRNO_PROP_SECU   3
 
#define BEBOP_BLDC_ERRNO_COM_LOST   4
 
#define BEBOP_BLDC_ERRNO_BATT_LEVEL   9
 
#define BEBOP_BLDC_ERRNO_LIPO   10
 
#define BEBOP_BLDC_ERRNO_MOTOR_HW   11
 

Enumerations

enum  Linux::bebop_bldc_motor { Linux::BEBOP_BLDC_MOTOR_1 = 0, Linux::BEBOP_BLDC_MOTORS_NUM }
 
enum  Linux::bebop_bldc_sound { Linux::BEBOP_BLDC_SOUND_NONE = 0, Linux::BEBOP_BLDC_SOUND_SHORT_BEEP, Linux::BEBOP_BLDC_SOUND_BOOT_BEEP, Linux::BEBOP_BLDC_SOUND_BEBOP }
 

Macro Definition Documentation

◆ BEBOP_BLDC_ERRNO_BATT_LEVEL

#define BEBOP_BLDC_ERRNO_BATT_LEVEL   9

Definition at line 41 of file RCOutput_Bebop.h.

◆ BEBOP_BLDC_ERRNO_COM_LOST

#define BEBOP_BLDC_ERRNO_COM_LOST   4

Definition at line 40 of file RCOutput_Bebop.h.

◆ BEBOP_BLDC_ERRNO_EEPROM

#define BEBOP_BLDC_ERRNO_EEPROM   1

Definition at line 37 of file RCOutput_Bebop.h.

◆ BEBOP_BLDC_ERRNO_LIPO

#define BEBOP_BLDC_ERRNO_LIPO   10

Definition at line 42 of file RCOutput_Bebop.h.

◆ BEBOP_BLDC_ERRNO_MOTOR_HW

#define BEBOP_BLDC_ERRNO_MOTOR_HW   11

Definition at line 43 of file RCOutput_Bebop.h.

◆ BEBOP_BLDC_ERRNO_MOTOR_STALLED

#define BEBOP_BLDC_ERRNO_MOTOR_STALLED   2

Definition at line 38 of file RCOutput_Bebop.h.

◆ BEBOP_BLDC_ERRNO_PROP_SECU

#define BEBOP_BLDC_ERRNO_PROP_SECU   3

Definition at line 39 of file RCOutput_Bebop.h.

◆ BEBOP_BLDC_STATUS_CRITICAL

#define BEBOP_BLDC_STATUS_CRITICAL   6

Definition at line 34 of file RCOutput_Bebop.h.

◆ BEBOP_BLDC_STATUS_IDLE

#define BEBOP_BLDC_STATUS_IDLE   1

Definition at line 29 of file RCOutput_Bebop.h.

◆ BEBOP_BLDC_STATUS_INIT

#define BEBOP_BLDC_STATUS_INIT   0

Definition at line 28 of file RCOutput_Bebop.h.

◆ BEBOP_BLDC_STATUS_RAMPING

#define BEBOP_BLDC_STATUS_RAMPING   2

Definition at line 30 of file RCOutput_Bebop.h.

Referenced by AP_BattMonitor_Bebop::read().

◆ BEBOP_BLDC_STATUS_SPINNING_1

#define BEBOP_BLDC_STATUS_SPINNING_1   3

Definition at line 31 of file RCOutput_Bebop.h.

Referenced by AP_BattMonitor_Bebop::read().

◆ BEBOP_BLDC_STATUS_SPINNING_2

#define BEBOP_BLDC_STATUS_SPINNING_2   4

Definition at line 32 of file RCOutput_Bebop.h.

Referenced by AP_BattMonitor_Bebop::read().

◆ BEBOP_BLDC_STATUS_STOPPING

#define BEBOP_BLDC_STATUS_STOPPING   5

Definition at line 33 of file RCOutput_Bebop.h.

Referenced by AP_BattMonitor_Bebop::read().