1 #ifndef YOUBOT_YOUBOTGRIPPERBAR_H 2 #define YOUBOT_YOUBOTGRIPPERBAR_H 78 YouBotGripperBar(
const unsigned int barNo,
const unsigned int jointNo,
const std::string& configFilePath =
"../config/");
virtual void getData(GripperSensedVelocity &barVelocity) const
unsigned int maxEncoderValue
YouBotGripperBar(const unsigned int barNo, const unsigned int jointNo, const std::string &configFilePath="../config/")
void parseMailboxStatusFlags(const YouBotSlaveMailboxMsg &mailboxMsg) const
The encoder value when the gripper has reached it's maximum bar spacing position. ...
quantity< si::length > barSpacingOffset
unsigned int mailboxMsgRetries
bool setValueToMotorContoller(const YouBotSlaveMailboxMsg &mailboxMsg) const
The encoder setpoint for one bar.
virtual void getConfigurationParameter(MaxEncoderValue ¶meter) const
The maximum bar spacing distance of the gripper.
virtual void setData(const GripperBarEncoderSetpoint &encoderSetpoint)
EtherCAT mailbox message of the youBot slaves.
virtual void setConfigurationParameter(const MaxEncoderValue ¶meter)
void parseGripperErrorFlags(const unsigned int &errosFlags)
The sensed bar velocity for a one DOF gripper.
The Ethercat Master interface.
Represents a bar spacing offset. It could be useful if the gripper can not be totally closed...
One bar of the youBot gripper.
quantity< si::length > maxTravelDistance
virtual ~YouBotGripperBar()
bool retrieveValueFromMotorContoller(YouBotSlaveMailboxMsg &message) const
YouBotGripperBar & operator=(const YouBotGripperBar &source)
abstract youBot gripper parameter
The name for a gripper bar or finger.
The bar position for a one gripper bar.
unsigned int timeTillNextMailboxUpdate
The sensed bar position for a one gripper bar.
EthercatMasterInterface * ethercatMaster