CTRE_Phoenix  5.19.4
com.ctre.phoenix.sensors.SensorInitializationStrategy Enum Reference

Public Member Functions

 SensorInitializationStrategy (int initValue)
String toString ()

Static Public Member Functions

static SensorInitializationStrategy valueOf (int value)

Public Attributes

 BootToZero =(0)
 BootToAbsolutePosition =(1)
final int value

Constructor & Destructor Documentation

◆ SensorInitializationStrategy()

com.ctre.phoenix.sensors.SensorInitializationStrategy.SensorInitializationStrategy ( int  initValue)

Create SensorInitializationStrategy of initValue

initValueValue of SensorInitializationStrategy

Member Function Documentation

◆ toString()

String com.ctre.phoenix.sensors.SensorInitializationStrategy.toString ( )

String representation of specified SensorInitializationStrategy

string representation of SensorInitializationStrategy

◆ valueOf()

static SensorInitializationStrategy com.ctre.phoenix.sensors.SensorInitializationStrategy.valueOf ( int  value)

public lookup to convert int to enum

Member Data Documentation

◆ BootToAbsolutePosition

com.ctre.phoenix.sensors.SensorInitializationStrategy.BootToAbsolutePosition =(1)

On boot up, sync to the Absolute Position signal. The Absolute position signal will be signed according to the selected Absolute Sensor Range.

◆ BootToZero

com.ctre.phoenix.sensors.SensorInitializationStrategy.BootToZero =(0)

On boot up, set position to zero.

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