#include <YouBotJointParameterPasswordProtected.hpp>
Public Member Functions | |
EncoderStopSwitch () | |
void | getParameter (unsigned int ¶meter) const |
void | setParameter (const unsigned int parameter) |
void | toString (std::string &value) |
virtual | ~EncoderStopSwitch () |
Private Member Functions | |
std::string | getName () const |
ParameterType | getType () const |
void | getYouBotMailboxMsg (YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const |
void | setYouBotMailboxMsg (const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage) |
Private Attributes | |
unsigned int | lowerLimit |
std::string | name |
ParameterType | parameterType |
unsigned int | upperLimit |
unsigned int | value |
Friends | |
class | YouBotJoint |
Encoder stop switch. Bit 0: Left stop switch enable
When this bit is set the motor will be stopped if it is moving in negative direction and the left stop switch input becomes active.
Bit 1: Right stop switch enable
When this bit is set the motor will be stopped if it is moving in positive direction and the right stop switch input becomes active
Please see StopSwitchPolarity for selecting the stop switch input polarity.
Definition at line 477 of file YouBotJointParameterPasswordProtected.hpp.
Definition at line 607 of file YouBotJointParameterPasswordProtected.cpp.
youbot::EncoderStopSwitch::~EncoderStopSwitch | ( | ) | [virtual] |
Definition at line 617 of file YouBotJointParameterPasswordProtected.cpp.
std::string youbot::EncoderStopSwitch::getName | ( | ) | const [inline, private, virtual] |
Implements youbot::YouBotJointParameterPasswordProtected.
Definition at line 497 of file YouBotJointParameterPasswordProtected.hpp.
void youbot::EncoderStopSwitch::getParameter | ( | unsigned int & | parameter | ) | const |
Definition at line 623 of file YouBotJointParameterPasswordProtected.cpp.
ParameterType youbot::EncoderStopSwitch::getType | ( | ) | const [inline, private, virtual] |
Implements youbot::YouBotJointParameterPasswordProtected.
Definition at line 503 of file YouBotJointParameterPasswordProtected.hpp.
void youbot::EncoderStopSwitch::getYouBotMailboxMsg | ( | YouBotSlaveMailboxMsg & | message, |
TMCLCommandNumber | msgType, | ||
const YouBotJointStorage & | storage | ||
) | const [private, virtual] |
Implements youbot::YouBotJointParameterPasswordProtected.
Definition at line 655 of file YouBotJointParameterPasswordProtected.cpp.
void youbot::EncoderStopSwitch::setParameter | ( | const unsigned int | parameter | ) |
Definition at line 630 of file YouBotJointParameterPasswordProtected.cpp.
void youbot::EncoderStopSwitch::setYouBotMailboxMsg | ( | const YouBotSlaveMailboxMsg & | message, |
const YouBotJointStorage & | storage | ||
) | [private, virtual] |
Implements youbot::YouBotJointParameterPasswordProtected.
Definition at line 668 of file YouBotJointParameterPasswordProtected.cpp.
void youbot::EncoderStopSwitch::toString | ( | std::string & | value | ) | [virtual] |
Implements youbot::YouBotJointParameterPasswordProtected.
Definition at line 646 of file YouBotJointParameterPasswordProtected.cpp.
friend class YouBotJoint [friend] |
Reimplemented from youbot::YouBotJointParameterPasswordProtected.
Definition at line 479 of file YouBotJointParameterPasswordProtected.hpp.
unsigned int youbot::EncoderStopSwitch::lowerLimit [private] |
Definition at line 511 of file YouBotJointParameterPasswordProtected.hpp.
std::string youbot::EncoderStopSwitch::name [private] |
Reimplemented from youbot::YouBotJointParameterPasswordProtected.
Definition at line 515 of file YouBotJointParameterPasswordProtected.hpp.
Reimplemented from youbot::YouBotJointParameterPasswordProtected.
Definition at line 517 of file YouBotJointParameterPasswordProtected.hpp.
unsigned int youbot::EncoderStopSwitch::upperLimit [private] |
Definition at line 507 of file YouBotJointParameterPasswordProtected.hpp.
unsigned int youbot::EncoderStopSwitch::value [private] |
Definition at line 513 of file YouBotJointParameterPasswordProtected.hpp.