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). More...
#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 () |
Public Member Functions inherited from youbot::YouBotGripperParameter | |
virtual | ~YouBotGripperParameter () |
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 |
Additional Inherited Members | |
Protected Member Functions inherited from youbot::YouBotGripperParameter | |
YouBotGripperParameter () | |
Protected Attributes inherited from youbot::YouBotGripperParameter | |
std::string | name |
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 943 of file YouBotGripperParameter.hpp.
youbot::MaximumCurrent::MaximumCurrent | ( | ) |
Definition at line 1177 of file YouBotGripperParameter.cpp.
|
virtual |
Definition at line 1186 of file YouBotGripperParameter.cpp.
|
inlineprivatevirtual |
Implements youbot::YouBotGripperParameter.
Definition at line 963 of file YouBotGripperParameter.hpp.
void youbot::MaximumCurrent::getParameter | ( | int & | parameter | ) | const |
Definition at line 1191 of file YouBotGripperParameter.cpp.
|
inlineprivatevirtual |
Implements youbot::YouBotGripperParameter.
Definition at line 965 of file YouBotGripperParameter.hpp.
|
privatevirtual |
Implements youbot::YouBotGripperParameter.
Definition at line 1218 of file YouBotGripperParameter.cpp.
void youbot::MaximumCurrent::setParameter | ( | const int | parameter | ) |
Definition at line 1197 of file YouBotGripperParameter.cpp.
|
privatevirtual |
Implements youbot::YouBotGripperParameter.
Definition at line 1225 of file YouBotGripperParameter.cpp.
|
virtual |
Implements youbot::YouBotGripperParameter.
Definition at line 1210 of file YouBotGripperParameter.cpp.
|
friend |
Definition at line 944 of file YouBotGripperParameter.hpp.
|
friend |
Definition at line 945 of file YouBotGripperParameter.hpp.
|
private |
Definition at line 969 of file YouBotGripperParameter.hpp.
|
private |
Definition at line 973 of file YouBotGripperParameter.hpp.
|
private |
Definition at line 975 of file YouBotGripperParameter.hpp.
|
private |
Definition at line 965 of file YouBotGripperParameter.hpp.
|
private |
Definition at line 971 of file YouBotGripperParameter.hpp.