mirror of https://github.com/ArduPilot/ardupilot
28 lines
363 B
C++
28 lines
363 B
C++
#include "SIM_BattMonitor_SMBus_Generic.h"
|
|
|
|
#include <AP_Common/Bitmask.h>
|
|
|
|
/*
|
|
|
|
Testing:
|
|
|
|
param set BATT_MONITOR 16
|
|
reboot
|
|
|
|
*/
|
|
|
|
namespace SITL {
|
|
|
|
class Maxell : public SIM_BattMonitor_SMBus_Generic
|
|
{
|
|
public:
|
|
|
|
Maxell();
|
|
|
|
uint8_t cellcount() const override { return 14; }
|
|
uint8_t connected_cells() const override { return 14; }
|
|
|
|
};
|
|
|
|
} // namespace SITL
|