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