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

List of all members.

Public Types

enum  BroadcastGroup {
  BGRP_WHOLE_BUS = Puck::GROUP_MASK | 0, BGRP_WAM = Puck::GROUP_MASK | 4, BGRP_LOWER_WAM = Puck::GROUP_MASK | 1, BGRP_UPPER_WAM = Puck::GROUP_MASK | 2,
  BGRP_HAND = Puck::GROUP_MASK | 5
}
enum  FeedbackGroup {
  FGRP_OTHER = Puck::GROUP_MASK | 6, FGRP_MOTOR_POSITION = Puck::GROUP_MASK | 3, FGRP_SECONDARY_POSITION = Puck::GROUP_MASK | 7, FGRP_TACT_TOP10 = Puck::GROUP_MASK | 8,
  FGRP_TACT_FULL = Puck::GROUP_MASK | 9, FGRP_FT_FORCE = Puck::GROUP_MASK | 10, FGRP_FT_TORQUE = Puck::GROUP_MASK | 11, FGRP_FT_ACCEL = Puck::GROUP_MASK | 12
}

Public Member Functions

 PuckGroup (int id, const std::vector< Puck * > &pucks)
int getId () const
size_t numPucks () const
int getPuckId (size_t i) const
const std::vector< Puck * > & getPucks () const
bool verifyProperty (enum Puck::Property prop) const
void getProperty (enum Puck::Property prop, int results[], bool realtime=false) const
template<typename Parser >
void getProperty (enum Puck::Property prop, typename Parser::result_type results[], bool realtime=false) const
void setProperty (enum Puck::Property prop, int value) const
int getPropertyId (enum Puck::Property prop) const
int getPropertyIdNoThrow (enum Puck::Property prop) const
void sendGetPropertyRequest (int propId) const
template<typename Parser >
void receiveGetPropertyReply (int propId, typename Parser::result_type results[], bool realtime=false) const

Protected Attributes

int id
std::vector< Puck * > pucks
const bus::CommunicationsBusbus

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