|
LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
|
A version of the ChassisModel that only supports read methods, such as querying sensor values. More...
#include <readOnlyChassisModel.hpp>
Public Member Functions | |
| virtual | ~ReadOnlyChassisModel ()=default |
| virtual std::valarray< std::int32_t > | getSensorVals () const =0 |
| Read the sensors. | |
A version of the ChassisModel that only supports read methods, such as querying sensor values.
This class does not let you write to motors, so it supports having multiple owners and as a result copying is enabled.
Definition at line 17 of file readOnlyChassisModel.hpp.
|
virtualdefault |
|
pure virtual |
Read the sensors.
Implemented in okapi::HDriveModel, okapi::SkidSteerModel, okapi::ThreeEncoderSkidSteerModel, okapi::ThreeEncoderXDriveModel, and okapi::XDriveModel.