#include <SparkSim.h>
Inherited by rev::spark::SparkFlexSim, and rev::spark::SparkMaxSim.
◆ SparkSim()
      
        
          | SparkSim::SparkSim | ( | SparkBase * | spark, | 
        
          |  |  | frc::DCMotor * | motor | 
        
          |  | ) |  |  | 
      
 
 
◆ GetAppliedOutput()
      
        
          | double SparkSim::GetAppliedOutput | ( |  | ) | const | 
      
 
 
◆ SetAppliedOutput()
      
        
          | void SparkSim::SetAppliedOutput | ( | double | appliedOutput | ) |  | 
      
 
 
◆ GetSetpoint()
      
        
          | double SparkSim::GetSetpoint | ( |  | ) | const | 
      
 
 
◆ GetClosedLoopSlot()
◆ iterate()
      
        
          | void SparkSim::iterate | ( | double | velocity, | 
        
          |  |  | double | vbus, | 
        
          |  |  | double | dt | 
        
          |  | ) |  |  | 
      
 
 
◆ GetVelocity()
      
        
          | double SparkSim::GetVelocity | ( |  | ) | const | 
      
 
 
◆ SetVelocity()
      
        
          | void SparkSim::SetVelocity | ( | double | velocity | ) |  | 
      
 
 
◆ GetPosition()
      
        
          | double SparkSim::GetPosition | ( |  | ) | const | 
      
 
 
◆ SetPosition()
      
        
          | void SparkSim::SetPosition | ( | double | position | ) |  | 
      
 
 
◆ GetBusVoltage()
      
        
          | double SparkSim::GetBusVoltage | ( |  | ) | const | 
      
 
 
◆ SetBusVoltage()
      
        
          | void SparkSim::SetBusVoltage | ( | double | voltage | ) |  | 
      
 
 
◆ GetMotorCurrent()
      
        
          | double SparkSim::GetMotorCurrent | ( |  | ) | const | 
      
 
 
◆ SetMotorCurrent()
      
        
          | void SparkSim::SetMotorCurrent | ( | double | current | ) |  | 
      
 
 
◆ enable()
      
        
          | void SparkSim::enable | ( |  | ) |  | 
      
 
 
◆ disable()
      
        
          | void SparkSim::disable | ( |  | ) |  | 
      
 
 
◆ useDriverStationEnable()
      
        
          | void SparkSim::useDriverStationEnable | ( |  | ) |  | 
      
 
 
◆ GetRelativeEncoderSim()
◆ GetAbsoluteEncoderSim()
◆ GetAnalogSensorSim()
◆ GetForwardLimitSwitchSim()
◆ GetReverseLimitSwitchSim()
◆ GetFaultManager()
The documentation for this class was generated from the following files: