Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
youbot::MaximumCurrent Class Reference

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>

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

Public Member Functions

void getParameter (int &parameter) 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
 

Detailed Description

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.

Constructor & Destructor Documentation

youbot::MaximumCurrent::MaximumCurrent ( )

Definition at line 1177 of file YouBotGripperParameter.cpp.

youbot::MaximumCurrent::~MaximumCurrent ( )
virtual

Definition at line 1186 of file YouBotGripperParameter.cpp.

Member Function Documentation

std::string youbot::MaximumCurrent::getName ( ) const
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.

ParameterType youbot::MaximumCurrent::getType ( ) const
inlineprivatevirtual

Implements youbot::YouBotGripperParameter.

Definition at line 965 of file YouBotGripperParameter.hpp.

void youbot::MaximumCurrent::getYouBotMailboxMsg ( YouBotSlaveMailboxMsg message) const
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.

void youbot::MaximumCurrent::setYouBotMailboxMsg ( const YouBotSlaveMailboxMsg message)
privatevirtual

Implements youbot::YouBotGripperParameter.

Definition at line 1225 of file YouBotGripperParameter.cpp.

void youbot::MaximumCurrent::toString ( std::string &  value) const
virtual

Implements youbot::YouBotGripperParameter.

Definition at line 1210 of file YouBotGripperParameter.cpp.

Friends And Related Function Documentation

friend class YouBotGripper
friend

Definition at line 944 of file YouBotGripperParameter.hpp.

friend class YouBotGripperBar
friend

Definition at line 945 of file YouBotGripperParameter.hpp.

Member Data Documentation

int youbot::MaximumCurrent::lowerLimit
private

Definition at line 969 of file YouBotGripperParameter.hpp.

std::string youbot::MaximumCurrent::name
private

Definition at line 973 of file YouBotGripperParameter.hpp.

ParameterType youbot::MaximumCurrent::parameterType
private

Definition at line 975 of file YouBotGripperParameter.hpp.

int youbot::MaximumCurrent::upperLimit
private

Definition at line 965 of file YouBotGripperParameter.hpp.

int youbot::MaximumCurrent::value
private

Definition at line 971 of file YouBotGripperParameter.hpp.


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


youbot_driver
Author(s): Jan Paulus
autogenerated on Mon Jun 10 2019 15:46:27