52 #ifndef _YOUBOT_SLAVE_MESSAGE_H 53 #define _YOUBOT_SLAVE_MESSAGE_H 87 actualPosition(0),actualCurrent(0),actualVelocity(0),
88 errorFlags(0),targetPosition(0),targetCurrent(0),
89 targetVelocity(0),rampGeneratorVelocity(0) { };
154 unsigned int tempjointNo;
157 stctOutput.
Set(tempOutput);
160 stctInput.
Set(tempInput);
163 jointNumber.
Set(tempjointNo);
174 unsigned int tempjointNo;
177 stctOutput.
Set(tempOutput);
180 stctInput.
Set(tempInput);
183 jointNumber.
Set(tempjointNo);
PACKED_BEGIN struct youbot::mailboxOutputBuffer PACKED
Output part from the EtherCat message of the youBot EtherCat slaves.
virtual DataType Get() const
General typedefs and defines for EtherCAT.
YouBotSlaveMsgThreadSafe()
DataObjectLockFree< SlaveMessageInput > stctInput
This DataObject is a Lock-Free implementation, such that reads and writes can happen concurrently wit...
YouBotSlaveMsg & operator=(const YouBotSlaveMsg ©)
DataObjectLockFree< SlaveMessageOutput > stctOutput
YouBotSlaveMsgThreadSafe & operator=(const YouBotSlaveMsgThreadSafe ©)
SlaveMessageInput stctInput
virtual void Set(const DataType &push)
YouBotSlaveMsgThreadSafe(const YouBotSlaveMsgThreadSafe ©)
SlaveMessageOutput stctOutput
EtherCat message of the youBot EtherCat slaves which is thread safe.
DataObjectLockFree< unsigned int > jointNumber
~YouBotSlaveMsgThreadSafe()
EtherCat message of the youBot EtherCat slaves.
YouBotSlaveMsg(const YouBotSlaveMsg ©)