ArPiRobot-CoreLib C++
C++ library for ArPiRobot robots
Public Member Functions | Protected Member Functions | List of all members
arpirobot::MainVmon Class Reference

#include <arpirobot/core/network/MainVmon.hpp>

Inheritance diagram for arpirobot::MainVmon:
arpirobot::INA260PowerSensor arpirobot::VoltageMonitor

Public Member Functions

void makeMainVmon ()
 

Protected Member Functions

bool isMainVmon ()
 
void sendMainBatteryVoltage (double voltage)
 

Detailed Description

Main voltage monitor interface Any sensor (arduino or pi device) can implement this interface to be able to be used as a main vmon

Member Function Documentation

◆ isMainVmon()

bool arpirobot::MainVmon::isMainVmon ( )
protected

Returns true if this is currently the main vmon

◆ makeMainVmon()

void arpirobot::MainVmon::makeMainVmon ( )

Make this device the main voltage monitor

◆ sendMainBatteryVoltage()

void arpirobot::MainVmon::sendMainBatteryVoltage ( double  voltage)
protected

Send the main battery voltage to the connected DS (if this is the main vmon)


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