SensorInitializationStrategy

class phoenix5.sensors.SensorInitializationStrategy(value: int)

Bases: pybind11_object

Enum for how CANCoder should initialize its position register on boot.

If the Phoenix 5 API must be used for this device, the device must have 22.X firmware. This firmware is available in Tuner X after selecting Phoenix 5 in the firmware year dropdown.

Deprecated:

This device’s Phoenix 5 API is deprecated for removal in the 2025 season. Users should update to Phoenix 6 firmware and migrate to the Phoenix 6 API. A migration guide is available at https://v6.docs.ctr-electronics.com/en/stable/docs/migration/migration-guide/index.html.

Members:

BootToZero : On boot up, set position to zero.

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

BootToAbsolutePosition = <SensorInitializationStrategy.BootToAbsolutePosition: 1>
BootToZero = <SensorInitializationStrategy.BootToZero: 0>
property name
property value