generator  1.2
Public Member Functions | Private Attributes | List of all members
LocationDependentPowerConsumption Class Reference

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...
 
RobotPowerModerobotModeRef () const
 
double inputPower () const
 

Private Attributes

RobotPowerModemMode
 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.
 

Detailed Description

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.

Constructor & Destructor Documentation

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.

Parameters
modeThe pointer to the related power saving mode of the robot.
modeIdxThe index addressing the interval of the desired input power.
parIt contains the intervals of input power for various robot power saving modes.

Definition at line 46 of file RoboticLine.cpp.


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