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