CTRE_Phoenix  5.19.4
com.ctre.phoenix.motorcontrol.VictorSPXSimCollection Class Reference

Public Member Functions

 VictorSPXSimCollection (BaseMotorController motorController)
 
ErrorCode setBusVoltage (double vbat)
 

Detailed Description

Collection of simulation commands available to a VictorSPX motor controller.

Use the getSimCollection() routine inside your motor controller to create a sim collection.

Constructor & Destructor Documentation

◆ VictorSPXSimCollection()

com.ctre.phoenix.motorcontrol.VictorSPXSimCollection.VictorSPXSimCollection ( BaseMotorController  motorController)
inline

Constructor for VictorSPXSimCollection

Parameters
motorControllerMotor Controller to connect Collection to

Member Function Documentation

◆ setBusVoltage()

ErrorCode com.ctre.phoenix.motorcontrol.VictorSPXSimCollection.setBusVoltage ( double  vbat)
inline

Sets the simulated bus voltage of the VictorSPX.

Parameters
vbatthe bus voltage
Returns
error code

The documentation for this class was generated from the following file: