Libbarrett  1.2.4
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes
ControlModeSwitcher< DOF > Class Template Reference

List of all members.

Public Types

enum  ControlMode { CURRENT, VOLTAGE, CURRENT, VOLTAGE }
enum  ControlMode { CURRENT, VOLTAGE, CURRENT, VOLTAGE }

Public Member Functions

 BARRETT_UNITS_TEMPLATE_TYPEDEFS (DOF)
 ControlModeSwitcher (barrett::ProductManager &pm_, barrett::systems::Wam< DOF > &wam_, const libconfig::Setting &setting_)
enum ControlMode getMode () const
double getCurrentGain () const
double getVoltageGain () const
void currentControl ()
void voltageControl ()
void calculateTorqueGain ()
 BARRETT_UNITS_TEMPLATE_TYPEDEFS (DOF)
 ControlModeSwitcher (ProductManager &pm_, systems::Wam< DOF > &wam_, double currentTorqueGain, double voltageTorqueGain)
enum ControlMode getMode () const
void currentControl ()
void voltageControl ()
void calculateTorqueGain ()

Static Public Attributes

static const double MAX_SCALE = 4.0
static const double MIN_SCALE = 0.25

Protected Attributes

barrett::ProductManagerpm
barrett::systems::Wam< DOF > & wam
const libconfig::Setting & setting
enum ControlMode mode
double cGain
double vGain
barrett::systems::Gain
< jt_type, double > 
torqueGainSys
ProductManagerpm
systems::Wam< DOF > & wam
systems::Gain< jt_type, double > torqueGainSys

template<size_t DOF>
class ControlModeSwitcher< DOF >


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Defines