AnalogSensor class is the implementation of the above interface.
More...
#include <analog_sensor.hpp>
|
std::shared_ptr< MotorBoardInterface > | board_ |
| board_ is the measurement object, it caontains the list of the timed stamped data
|
|
size_t | sensor_id_ |
| sensor_id_ is the identification number of the sensor on the control board, for now it is either 0 or 1
|
|
|
typedef real_time_tools::ThreadsafeTimeseries< double > | ScalarTimeseries |
| This is just a short cut for the time series types.
|
|
AnalogSensor class is the implementation of the above interface.
◆ AnalogSensor()
blmc_drivers::AnalogSensor::AnalogSensor |
( |
std::shared_ptr< MotorBoardInterface > |
board, |
|
|
bool |
sensor_id |
|
) |
| |
Construct a new AnalogSensor object.
- Parameters
-
board | is a motor board which gives access to the motor sensors (position, velocity, current, etc) and to the motor cotrols. |
sensor_id | is the id of the sensor on the control board |
◆ get_measurement()
Get the measurement object which is the list of time stamped data.
- Returns
- std::shared_ptr<const ScalarTimeseries> which is a pointer to the a list of time stamped data
Implements blmc_drivers::AnalogSensorInterface.
The documentation for this class was generated from the following files: