REVLib - C++
Public Member Functions
|
List of all members
rev::spark::SparkFlexSim Class Reference
#include <
SparkFlexSim.h
>
Inherits
rev::spark::SparkSim
.
Public Member Functions
SparkFlexSim
(
SparkFlex
*sparkFlex, frc::DCMotor *motor)
SparkExternalEncoderSim
GetExternalEncoderSim
()
Public Member Functions inherited from
rev::spark::SparkSim
SparkSim
(
SparkBase
*spark, frc::DCMotor *motor)
double
GetAppliedOutput
() const
void
SetAppliedOutput
(double appliedOutput)
double
GetSetpoint
() const
ClosedLoopSlot
GetClosedLoopSlot
() const
void
iterate
(double velocity, double vbus, double dt)
double
GetVelocity
() const
void
SetVelocity
(double velocity)
double
GetPosition
() const
void
SetPosition
(double position)
double
GetBusVoltage
() const
void
SetBusVoltage
(double voltage)
double
GetMotorCurrent
() const
void
SetMotorCurrent
(double current)
void
enable
()
void
disable
()
void
useDriverStationEnable
()
SparkRelativeEncoderSim
GetRelativeEncoderSim
()
SparkAbsoluteEncoderSim
GetAbsoluteEncoderSim
()
SparkAnalogSensorSim
GetAnalogSensorSim
()
SparkLimitSwitchSim
GetForwardLimitSwitchSim
()
SparkLimitSwitchSim
GetReverseLimitSwitchSim
()
SparkSimFaultManager
GetFaultManager
()
Constructor & Destructor Documentation
◆
SparkFlexSim()
SparkFlexSim::SparkFlexSim
(
SparkFlex
*
sparkFlex
,
frc::DCMotor *
motor
)
Member Function Documentation
◆
GetExternalEncoderSim()
SparkExternalEncoderSim
SparkFlexSim::GetExternalEncoderSim
(
)
The documentation for this class was generated from the following files:
src/main/native/include/rev/sim/
SparkFlexSim.h
src/main/native/cpp/sim/
SparkFlexSim.cpp
rev
spark
SparkFlexSim
Generated by
1.9.2