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