DUNE: Uniform Navigational Environment  2016.05.0
Actuators::Broom Namespace Reference

Classes

struct  Arguments
 
struct  Task
 

Enumerations

enum  Commands {
  CMD_STATE, CMD_ACTUATE, CMD_CONFIG, CMD_CONFIG_DCYC,
  CMD_CONFIG_IADC, CMD_CONFIG_ERPM, CMD_DEBUG
}
 
enum  DevErrors {
  ERR_NONE, ERR_INIT, ERR_I2C, ERR_POWER,
  ERR_HALL, ERR_ROTOR_LOCKED, ERR_IC_TEMPERATURE, ERR_BRIDGE_TEMPERATURE,
  ERR_MOTOR_TEMPERATURE
}
 
enum  DevControlModes { MODE_NONE, MODE_VOLTAGE, MODE_CURRENT, MODE_RPM }
 
enum  SetupState {
  SS_VERSION_GET, SS_VERSION_WAIT, SS_CONFIG, SS_CONFIG_DCYC,
  SS_CONFIG_IADC, SS_CONFIG_ERPM, SS_DONE
}
 

Variables

const char * c_dev_error_strings []
 

Enumeration Type Documentation

Device commands.

Enumerator
CMD_STATE 

Device state.

CMD_ACTUATE 

Actuate.

CMD_CONFIG 

Configuration.

CMD_CONFIG_DCYC 
CMD_CONFIG_IADC 
CMD_CONFIG_ERPM 
CMD_DEBUG 

Debug.

Device Control Modes.

Enumerator
MODE_NONE 

No control.

MODE_VOLTAGE 

Voltage control.

MODE_CURRENT 

Current control.

MODE_RPM 

RPM control.

Device error bits.

Enumerator
ERR_NONE 

No errors.

ERR_INIT 

Device initialization errors.

ERR_I2C 

I2C communication errors.

ERR_POWER 

Power supply errors.

ERR_HALL 

Hall sensor errors.

ERR_ROTOR_LOCKED 

Rotor locked error.

ERR_IC_TEMPERATURE 

Unsafe temperature errors.

ERR_BRIDGE_TEMPERATURE 

Unsafe temperature errors.

ERR_MOTOR_TEMPERATURE 

Unsafe temperature errors.

Enumerator
SS_VERSION_GET 
SS_VERSION_WAIT 
SS_CONFIG 
SS_CONFIG_DCYC 
SS_CONFIG_IADC 
SS_CONFIG_ERPM 
SS_DONE 

Variable Documentation

const char* Actuators::Broom::c_dev_error_strings[]