CoreCANcoderGetMagnetHealth Method

Magnet health as measured by CANcoder.

Magnet health as measured by CANcoder. Red indicates too close or too far, Orange is adequate but with reduced accuracy, green is ideal. Invalid means the accuracy cannot be determined. Default Rates:

  • CAN 2.0 – 4.0 Hz
  • CAN FD – 100.0 Hz

Definition

Namespace: CTRE.Phoenix6.Hardware.Core
Assembly: Phoenix6 (in Phoenix6.dll) Version: 1.0.0
C#
public StatusSignal<MagnetHealthValue> GetMagnetHealth()

Return Value

StatusSignalMagnetHealthValue
MagnetHealth Status Signal Object

See Also