|
generator
1.2
|
The class specifies input power of the robot for a particular robot configuration. More...
#include <RoboticLine.h>
Collaboration diagram for LocationDependentPowerConsumption:Public Member Functions | |
| LocationDependentPowerConsumption (RobotPowerMode *mode, const uint32_t &modeIdx, const ProjectParameters &par) | |
| It constructs the object encapsulating the information about the input power for the given robot configuration. More... | |
| RobotPowerMode * | robotModeRef () const |
| double | inputPower () const |
Private Attributes | |
| RobotPowerMode * | mMode |
| A pointer to the related power saving mode of the robot. | |
| double | mInputPower |
| Input power of the robot for a given robot configuration, see also the Location class. | |
The class specifies input power of the robot for a particular robot configuration.
Robot input power for some power saving modes is also dependent on the robot configuration, for example, if the robot is held by motors then the power consumption is different for the robot being stretched out or robot at home position that is usually much more energy effective. This class can be perceived as an extension to RobotPowerMode class as it adds the information about input power for a particular robot configuration, i.e. location (see also the Location class).
Definition at line 142 of file RoboticLine.h.
| LocationDependentPowerConsumption::LocationDependentPowerConsumption | ( | RobotPowerMode * | mode, |
| const uint32_t & | modeIdx, | ||
| const ProjectParameters & | par | ||
| ) |
It constructs the object encapsulating the information about the input power for the given robot configuration.
| mode | The pointer to the related power saving mode of the robot. |
| modeIdx | The index addressing the interval of the desired input power. |
| par | It contains the intervals of input power for various robot power saving modes. |
Definition at line 46 of file RoboticLine.cpp.
1.8.9.1