Fang-Robotics-MCB
Fang Robotics Team Codebase
Loading...
Searching...
No Matches
tap::communication::sensors::current::CurrentSensorInterface Class Referenceabstract

#include <current_sensor_interface.hpp>

Inheritance diagram for tap::communication::sensors::current::CurrentSensorInterface:
Collaboration diagram for tap::communication::sensors::current::CurrentSensorInterface:

Public Member Functions

virtual float getCurrentMa () const =0
 
- Public Member Functions inherited from tap::communication::sensors::SensorInterface
virtual void update ()=0
 

Detailed Description

Interface for a generic current sensor.

Member Function Documentation

◆ getCurrentMa()

virtual float tap::communication::sensors::current::CurrentSensorInterface::getCurrentMa ( ) const
pure virtual
Returns
The current read by the current sensor, in milliamps.

Implemented in tap::communication::sensors::current::AnalogCurrentSensor.


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