gz/sim/components/BatteryPowerLoad.hh
Go to the documentation of this file.
A component type that wraps any data type. The intention is for this class to be used to create simpl...
Definition: gz/sim/components/Component.hh:325
#define IGN_GAZEBO_REGISTER_COMPONENT(_compType, _classname)
Static component registration macro.
Definition: gz/sim/components/Factory.hh:510
uint64_t Entity
An Entity identifies a single object in simulation such as a model, link, or light....
Definition: gz/sim/Entity.hh:58
Data structure to hold the consumer power load and the name of the battery it uses.
Definition: gz/sim/components/BatteryPowerLoad.hh:35
Entity batteryId
Entity of the battery to use.
Definition: gz/sim/components/BatteryPowerLoad.hh:37
double batteryPowerLoad
Battery power load (W) to add to the battery.
Definition: gz/sim/components/BatteryPowerLoad.hh:39