![]() |
Laelaps
2.3.5
RoadNarrows Robotics Small Outdoor Mobile Robot Project
|
Laelaps battery tuning data class. More...
#include <laeTune.h>
Public Member Functions | |
LaeTunesBattery () | |
Default constructor. | |
~LaeTunesBattery () | |
Destructor. | |
LaeTunesBattery & | operator= (const LaeTunesBattery &rhs) |
Assignment operator. More... | |
void | print (int indent=0) |
Print out tuning parameters to stdout. More... | |
Public Attributes | |
std::string | m_strType |
battery type | |
std::string | m_strChem |
battery chemistry | |
double | m_fCapAh |
battery capacity in Amp-hours | |
int | m_nCells |
number of battery cells | |
double | m_fMaxV |
maximum operating voltage | |
double | m_fNominalV |
nominal operation voltage | |
double | m_fMinV |
minimum operation voltage | |
LaeTunesBattery & LaeTunesBattery::operator= | ( | const LaeTunesBattery & | rhs | ) |
Assignment operator.
rhs | Right hand side object. |
Definition at line 167 of file laeTune.cxx.
References m_fCapAh, m_fMaxV, m_fMinV, m_fNominalV, m_nCells, m_strChem, and m_strType.
Referenced by ~LaeTunesBattery(), laelaps::LaeTunesPowertrain::~LaeTunesPowertrain(), and laelaps::LaeTunesVL6180::~LaeTunesVL6180().
void LaeTunesBattery::print | ( | int | indent = 0 | ) |
Print out tuning parameters to stdout.
indent | Left indentation. |
Definition at line 178 of file laeTune.cxx.
References m_fCapAh, m_fMaxV, m_fMinV, m_fNominalV, m_nCells, m_strChem, and m_strType.
Referenced by laelaps::LaeTunes::~LaeTunes(), ~LaeTunesBattery(), laelaps::LaeTunesPowertrain::~LaeTunesPowertrain(), and laelaps::LaeTunesVL6180::~LaeTunesVL6180().