52 #include "rnr/rnrconfig.h" 194 #endif // _LAE_BATT_H double m_fTotalWatts
total system power used (watts)
double m_fBatteryVoltage
sensed battery output voltage (V)
virtual double estimateBatteryStateOfCharge()
Estimate batteries State of Charge given the present energy state.
double m_fMotorAmps
sensed current for all motors (A)
double m_fLogicAmps
current consumed by logic circuitry (A)
double getTotalCurrent()
Get most recently estimated total current pulled by the robot.
bool getChargingState()
Get the most recently updated battery charging state.
double m_fMotorWatts
sensed power for all motors (watts)
double getTotalPower()
Get most recently estimated power consumed by robot.
virtual void calcMotorEnergyState()
Calculate the present energy state of the robot motors.
virtual ~LaeBattery()
Destructor.
double getMotorPowerElec(const double fMotorWatts)
Get most recently calculated power used by all motors.
The <b><i>Laelaps</i></b> namespace encapsulates all <b><i>Laelaps</i></b> related constructs...
double m_fLogicWatts
power consumed by logic circuitry (watts)
double getBatteryStateOfCharge()
Get the most recently estimated battery state of charge.
double getBatteryVoltage()
Get the most recently sensed battery voltage.
double getMotorCurrent()
Get most recently sensed current pulled by all motors.
double m_fBatterySoC
battery state of charge (0% - 100%)
Battery Management and System Energy Monitoring (BMSEM) Class.
double m_fTotalAmps
total system current draw (A)
LaeBattery()
Default constructor.
bool m_bIsCharging
the battery is [not] being charged
virtual void update()
Update the energy state for all of the robot's subsystems.
virtual void calcLogicEnergyState()
Calculate the present energy state of all logic curcuitry.
Top-level package include file.