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