Libbarrett  1.2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Defines
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes
barrett::ProductManager Class Reference

List of all members.

Public Member Functions

 ProductManager (const char *configFile=NULL, bus::CommunicationsBus *bus=NULL)
void enumerate ()
void cleanUpAfterEstop ()
void wakeAllPucks () const
bool foundSafetyModule () const
SafetyModulegetSafetyModule ()
const std::vector< Puck * > & getWamPucks () const
bool foundWam () const
bool foundWam3 () const
bool foundWam4 () const
bool foundWam7 () const
bool foundWam7Wrist () const
bool foundWam7Gimbals () const
void waitForWam (bool promptOnZeroing=true)
const char * getWamDefaultConfigPath ()
systems::Wam< 3 > * getWam3 (bool waitForShiftActivate=true, const char *configPath=NULL)
systems::Wam< 4 > * getWam4 (bool waitForShiftActivate=true, const char *configPath=NULL)
systems::Wam< 7 > * getWam7 (bool waitForShiftActivate=true, const char *configPath=NULL)
systems::RealTimeExecutionManagergetExecutionManager (double period_s=DEFAULT_LOOP_PERIOD, int rt_priority=50)
void startExecutionManager ()
bool foundForceTorqueSensor () const
ForceTorqueSensorgetForceTorqueSensor ()
const std::vector< Puck * > & getHandPucks () const
bool foundHand () const
HandgetHand ()
bool foundGimbalsHandController () const
GimbalsHandControllergetGimbalsHandController ()
const std::vector< Puck * > & getPucks () const
PuckgetPuck (int id) const
void deletePuck (Puck *p)
libconfig::Config & getConfig ()
const bus::CommunicationsBusgetBus () const
virtual thread::MutexgetMutex () const

Static Public Attributes

static const std::string DEFAULT_CONFIG_FILE = barrett::EtcPathRelative("default.conf")
static const size_t MAX_WAM_DOF = 7
static const double DEFAULT_LOOP_PERIOD = 0.002
static const int SAFETY_MODULE_ID = 10
static const int FIRST_WAM_ID = 1
static const int FIRST_HAND_ID = 11
static const int FORCE_TORQUE_SENSOR_ID = 8

Protected Member Functions

void destroyEstopProducts ()
bool verifyWamPucks (const size_t dof) const

Protected Attributes

libconfig::Config config
bus::CommunicationsBusbus
bool deleteBus
std::vector< Puck * > pucks
std::vector< Puck * > wamPucks
std::vector< Puck * > handPucks
SafetyModulesm
systems::RealTimeExecutionManagerrtem
systems::Wam< 3 > * wam3
systems::Wam< 4 > * wam4
systems::Wam< 7 > * wam7
ForceTorqueSensorfts
Handhand
GimbalsHandControllerghc

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