#include <SparkRelativeEncoderSim.h>
◆ SparkRelativeEncoderSim() [1/2]
SparkRelativeEncoderSim::SparkRelativeEncoderSim |
( |
SparkMax * |
motor | ) |
|
|
explicit |
◆ SparkRelativeEncoderSim() [2/2]
SparkRelativeEncoderSim::SparkRelativeEncoderSim |
( |
SparkFlex * |
motor | ) |
|
|
explicit |
◆ SetPosition()
void SparkRelativeEncoderSim::SetPosition |
( |
double |
position | ) |
|
◆ GetPosition()
double SparkRelativeEncoderSim::GetPosition |
( |
| ) |
const |
◆ SetVelocity()
void SparkRelativeEncoderSim::SetVelocity |
( |
double |
velocity | ) |
|
◆ GetVelocity()
double SparkRelativeEncoderSim::GetVelocity |
( |
| ) |
const |
◆ SetInverted()
void SparkRelativeEncoderSim::SetInverted |
( |
bool |
inverted | ) |
|
◆ GetInverted()
bool SparkRelativeEncoderSim::GetInverted |
( |
| ) |
const |
◆ SetZeroOffset()
void SparkRelativeEncoderSim::SetZeroOffset |
( |
double |
zeroOffset | ) |
|
◆ GetZeroOffset()
double SparkRelativeEncoderSim::GetZeroOffset |
( |
| ) |
const |
◆ SetPositionConversionFactor()
void SparkRelativeEncoderSim::SetPositionConversionFactor |
( |
double |
positionConversionFactor | ) |
|
◆ GetPositionConversionFactor()
double SparkRelativeEncoderSim::GetPositionConversionFactor |
( |
| ) |
const |
◆ SetVelocityConversionFactor()
void SparkRelativeEncoderSim::SetVelocityConversionFactor |
( |
double |
velocityConversionFactor | ) |
|
◆ GetVelocityConversionFactor()
double SparkRelativeEncoderSim::GetVelocityConversionFactor |
( |
| ) |
const |
◆ iterate()
void SparkRelativeEncoderSim::iterate |
( |
double |
velocity, |
|
|
double |
dt |
|
) |
| |
The documentation for this class was generated from the following files: