#include <YouBotGripperParameter.hpp>
Public Member Functions | |
void | getParameter (int ¶meter) const |
MaximumCurrent () | |
void | setParameter (const int parameter) |
void | toString (std::string &value) const |
virtual | ~MaximumCurrent () |
Private Member Functions | |
std::string | getName () const |
ParameterType | getType () const |
void | getYouBotMailboxMsg (YouBotSlaveMailboxMsg &message) const |
void | setYouBotMailboxMsg (const YouBotSlaveMailboxMsg &message) |
Private Attributes | |
int | lowerLimit |
std::string | name |
ParameterType | parameterType |
int | upperLimit |
int | value |
Friends | |
class | YouBotGripper |
class | YouBotGripperBar |
The most important motor setting, since too high values might cause motor damage! The maximum value is 255. This value means 100% of the maximum current of the module. The current adjustment is within the range 0... 255 and can be adjusted in 32 steps (0... 255 divided by eight; e.g. step 0 = 0... 7, step 1 = 8... 15 and so on).
Definition at line 1117 of file YouBotGripperParameter.hpp.
Definition at line 1360 of file YouBotGripperParameter.cpp.
youbot::MaximumCurrent::~MaximumCurrent | ( | ) | [virtual] |
Definition at line 1370 of file YouBotGripperParameter.cpp.
std::string youbot::MaximumCurrent::getName | ( | ) | const [inline, private, virtual] |
Implements youbot::YouBotGripperParameter.
Definition at line 1137 of file YouBotGripperParameter.hpp.
void youbot::MaximumCurrent::getParameter | ( | int & | parameter | ) | const |
Definition at line 1376 of file YouBotGripperParameter.cpp.
ParameterType youbot::MaximumCurrent::getType | ( | ) | const [inline, private, virtual] |
Implements youbot::YouBotGripperParameter.
Definition at line 1143 of file YouBotGripperParameter.hpp.
void youbot::MaximumCurrent::getYouBotMailboxMsg | ( | YouBotSlaveMailboxMsg & | message | ) | const [private, virtual] |
Implements youbot::YouBotGripperParameter.
Definition at line 1408 of file YouBotGripperParameter.cpp.
void youbot::MaximumCurrent::setParameter | ( | const int | parameter | ) |
Definition at line 1383 of file YouBotGripperParameter.cpp.
void youbot::MaximumCurrent::setYouBotMailboxMsg | ( | const YouBotSlaveMailboxMsg & | message | ) | [private, virtual] |
Implements youbot::YouBotGripperParameter.
Definition at line 1416 of file YouBotGripperParameter.cpp.
void youbot::MaximumCurrent::toString | ( | std::string & | value | ) | const [virtual] |
Implements youbot::YouBotGripperParameter.
Definition at line 1399 of file YouBotGripperParameter.cpp.
friend class YouBotGripper [friend] |
Reimplemented from youbot::YouBotGripperParameter.
Definition at line 1119 of file YouBotGripperParameter.hpp.
friend class YouBotGripperBar [friend] |
Reimplemented from youbot::YouBotGripperParameter.
Definition at line 1120 of file YouBotGripperParameter.hpp.
int youbot::MaximumCurrent::lowerLimit [private] |
Definition at line 1151 of file YouBotGripperParameter.hpp.
std::string youbot::MaximumCurrent::name [private] |
Reimplemented from youbot::YouBotGripperParameter.
Definition at line 1155 of file YouBotGripperParameter.hpp.
Reimplemented from youbot::YouBotGripperParameter.
Definition at line 1157 of file YouBotGripperParameter.hpp.
int youbot::MaximumCurrent::upperLimit [private] |
Definition at line 1147 of file YouBotGripperParameter.hpp.
int youbot::MaximumCurrent::value [private] |
Definition at line 1153 of file YouBotGripperParameter.hpp.