Public Member Functions | Private Member Functions | Private Attributes | Friends
youbot::ErrorAndStatus Class Reference

#include <YouBotJointParameterReadOnly.hpp>

Inheritance diagram for youbot::ErrorAndStatus:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ErrorAndStatus ()
void getParameter (unsigned int &parameter) const
void toString (std::string &value)
virtual ~ErrorAndStatus ()

Private Member Functions

std::string getName () const
ParameterType getType () const
void getYouBotMailboxMsg (YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
void parseYouBotErrorFlags () const
void setYouBotMailboxMsg (const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)

Private Attributes

std::string name
ParameterType parameterType
unsigned int value

Friends

class YouBotJoint

Detailed Description

Error and Status flags of the joint. Bit 0: Overcurrent flag. This flag is set if overcurrent limit is exceeded.
Bit 1: Undervoltage flag. This flag is set if supply voltage to low for motor operation.
Bit 2: Overvoltage flag. This flag is set if the motor becomes switched off due to overvoltage.
Bit 3: Overtemperature flag. This flag is set if overtemperature limit is exceeded.
Bit 4: Motor halted flag. This flag is set if motor has been switched off.
Bit 5: Hall error flag. This flag is set upon a hall error.
Bit 6: Encoder error flag. This flag is set upon an encoder error.
Bit 7: Winding error flag. [currently not used]
Bit 8: Cycle time violation. [currently not used]
Bit 9: Initialization error of sine commutation. This flag is set if initialization is failed.
Bit 10: Position mode flag. This flag is set when the module is in positioning mode.
Bit 11: Position end flag. This flag becomes set if the motor has been stopped at the end position.

Definition at line 153 of file YouBotJointParameterReadOnly.hpp.


Constructor & Destructor Documentation

Definition at line 120 of file YouBotJointParameterReadOnly.cpp.

Definition at line 128 of file YouBotJointParameterReadOnly.cpp.


Member Function Documentation

std::string youbot::ErrorAndStatus::getName ( ) const [inline, private, virtual]
void youbot::ErrorAndStatus::getParameter ( unsigned int &  parameter) const

Definition at line 134 of file YouBotJointParameterReadOnly.cpp.

ParameterType youbot::ErrorAndStatus::getType ( ) const [inline, private, virtual]
void youbot::ErrorAndStatus::getYouBotMailboxMsg ( YouBotSlaveMailboxMsg message,
TMCLCommandNumber  msgType,
const YouBotJointStorage storage 
) const [private, virtual]

Definition at line 173 of file YouBotJointParameterReadOnly.cpp.

void youbot::ErrorAndStatus::setYouBotMailboxMsg ( const YouBotSlaveMailboxMsg message,
const YouBotJointStorage storage 
) [private, virtual]
void youbot::ErrorAndStatus::toString ( std::string &  value) [virtual]

Friends And Related Function Documentation

friend class YouBotJoint [friend]

Reimplemented from youbot::YouBotJointParameterReadOnly.

Definition at line 155 of file YouBotJointParameterReadOnly.hpp.


Member Data Documentation

std::string youbot::ErrorAndStatus::name [private]

Reimplemented from youbot::YouBotJointParameterReadOnly.

Definition at line 187 of file YouBotJointParameterReadOnly.hpp.

Reimplemented from youbot::YouBotJointParameterReadOnly.

Definition at line 189 of file YouBotJointParameterReadOnly.hpp.

unsigned int youbot::ErrorAndStatus::value [private]

Definition at line 185 of file YouBotJointParameterReadOnly.hpp.


The documentation for this class was generated from the following files:


youbot_driver
Author(s): Jan Paulus
autogenerated on Mon Oct 6 2014 09:08:03