public class FeedbackConfigs
type FeedbackConfigs = class end
FeedbackConfigs | Initializes a new instance of the FeedbackConfigs class |
Deserialize | Deserialize string and put values into this object |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
Serialize | Serialize this object into a string |
ToString |
Provides the string representation
of this object
(Overrides ObjectToString) |
FeedbackRemoteSensorID |
Device ID of which remote device to use. This is not used if the
Sensor Source is the internal rotor sensor.
|
FeedbackRotorOffset |
This offset is applied to the absolute integrated rotor sensor.
This can be used to zero the rotor in applications that are within
one rotor rotation.
|
FeedbackSensorSource | Choose what sensor source is reported via API and used by closed-loop and limit features. The default is RotorSensor, which uses the internal rotor sensor in the Talon FX. Choose RemoteCANcoder to use another CANcoder on the same CAN bus (this also requires setting FeedbackRemoteSensorID). Talon FX will update its position and velocity whenever CANcoder publishes its information on CAN bus. Choose FusedCANcoder (requires Phoenix Pro) and Talon FX will fuse another CANcoder's information with the internal rotor, which provides the best possible position and velocity for accuracy and bandwidth (note this requires setting FeedbackRemoteSensorID). FusedCANcoder was developed for applications such as swerve-azimuth. Choose RemotePigeon2_Yaw, RemotePigeon2_Pitch, and RemotePigeon2_Roll to use another Pigeon2 on the same CAN bus (this also requires setting FeedbackRemoteSensorID). Talon FX will update its position to match the selected value whenever Pigeon2 publishes its information on CAN bus. Note that the Talon FX position will be in rotations and not degrees. Note: When the Talon Source is changed to FusedCANcoder, the Talon needs a period of time to fuse before sensor-based (soft-limit, closed loop, etc.) features are used. This period of time is determined by the update frequency of the CANcoder's Position signal. |
RotorToSensorRatio |
Talon FX is capable of fusing a remote CANcoder with its rotor
sensor to produce a high-bandwidth sensor source. This feature
requires specifying the ratio between the remote sensor and the
motor rotor. Note if this is set to zero, device will reset back
to one.
|
SensorToMechanismRatio |
This is the ratio of sensor rotations to the mechanism's output.
This is equivalent to the mechanism's gear ratio if the sensor is
located on the input of a gearbox. If sensor is on the output of
a gearbox, then this is typically set to 1. Note if this is set
to zero, device will reset back to one.
|