1 #ifndef YOUBOT_YOUBOTGRIPPER_H 2 #define YOUBOT_YOUBOTGRIPPER_H 69 #include <boost/scoped_ptr.hpp> 78 YouBotGripper(
const unsigned int jointNo,
const std::string& configFilePath =
"../config/");
140 boost::scoped_ptr<YouBotGripperBar>
bar1;
142 boost::scoped_ptr<YouBotGripperBar>
bar2;
unsigned int timeTillNextMailboxUpdate
abstract gripper parameter
YouBotGripper(const unsigned int jointNo, const std::string &configFilePath="../config/")
void parseMailboxStatusFlags(const YouBotSlaveMailboxMsg &mailboxMsg) const
bool retrieveValueFromMotorContoller(YouBotSlaveMailboxMsg &message) const
The sensed bar spacing for a one DOF gripper.
The youBot gripper with one degree of freedom.
virtual void setData(const GripperData &data)
abstract gripper with one degree of freedom
YouBotGripperBar & getGripperBar1()
Setpoint length of the bar spacing for a one DOF gripper.
virtual void setConfigurationParameter(const GripperParameter ¶meter)
boost::scoped_ptr< YouBotGripperBar > bar2
EthercatMasterInterface * ethercatMaster
unsigned int mailboxMsgRetries
YouBotGripperBar & getGripperBar2()
EtherCAT mailbox message of the youBot slaves.
The Ethercat Master interface.
One bar of the youBot gripper.
boost::scoped_ptr< YouBotGripperBar > bar1
the firmware version of the gripper
abstract class of gripper data
YouBotGripper & operator=(const YouBotGripper &source)
abstract class of data for gripper with one degree of freedom
virtual void getConfigurationParameter(GripperParameter ¶meter) const
virtual void getData(const GripperData &data) const
bool setValueToMotorContoller(const YouBotSlaveMailboxMsg &mailboxMsg) const