#include <AbsoluteEncoder.h>
Inherited by rev::spark::SparkAbsoluteEncoder.
◆ ~AbsoluteEncoder()
| virtual rev::AbsoluteEncoder::~AbsoluteEncoder |
( |
| ) |
|
|
virtualdefault |
◆ GetPosition()
| virtual util::Signal< double > rev::AbsoluteEncoder::GetPosition |
( |
| ) |
const |
|
pure virtual |
Get the position of the motor. This returns the native units of 'rotations'.
- Returns
- Signal containing the number of rotations of the motor
Implemented in rev::spark::SparkAbsoluteEncoder.
◆ GetVelocity()
| virtual util::Signal< double > rev::AbsoluteEncoder::GetVelocity |
( |
| ) |
const |
|
pure virtual |
Get the velocity of the motor. This returns the native units of 'rotations per second'.
- Returns
- Signal containing the number of rotations per second of the motor
Implemented in rev::spark::SparkAbsoluteEncoder.
The documentation for this class was generated from the following file: