namespace ctre
Definition: paramEnum.h:5
Motion Profile Trajectory Point This is simply a data transfer object.
Definition: TrajectoryPoint.h:11
TrajectoryPoint()
Definition: TrajectoryPoint.h:79
double auxiliaryPos
The position for auxiliary PID[1] to target (in sensor units).
Definition: TrajectoryPoint.h:21
double position
The position to servo to (in sensor units).
Definition: TrajectoryPoint.h:13
bool zeroPos
Set to true to signal Talon to zero the selected sensor.
Definition: TrajectoryPoint.h:64
double arbFeedFwd
Added to the output of PID[0], should be within [-1,+1] where 0.01 = 1%.
Definition: TrajectoryPoint.h:17
uint32_t profileSlotSelect0
Which slot to get PIDF gains.
Definition: TrajectoryPoint.h:36
double auxiliaryVel
The velocity for auxiliary PID[1] to target.
Definition: TrajectoryPoint.h:23
double auxiliaryArbFeedFwd
Added to the output of PID[1], should be within [-1,+1] where 0.01 = 1%.
Definition: TrajectoryPoint.h:25
bool useAuxPID
If using MotionProfileArc, this flag must be true on all points.
Definition: TrajectoryPoint.h:77
int timeDur
Duration (ms) to apply this trajectory pt.
Definition: TrajectoryPoint.h:71
double velocity
The velocity to feed-forward (in sensor-units per 100ms).
Definition: TrajectoryPoint.h:15
bool isLastPoint
Set to true to signal Talon that this is the final point, so do not attempt to pop another trajectory...
Definition: TrajectoryPoint.h:50
uint32_t profileSlotSelect1
Which slot to get PIDF gains for auxiliary PID.
Definition: TrajectoryPoint.h:43
double headingDeg
Not used.
Definition: TrajectoryPoint.h:19
TrajectoryPoint(double position, double velocity, double arbFeedFwd, double auxiliaryPos, double auxiliaryVel, double auxiliaryArbFeedFwd, uint32_t profileSlotSelect0, uint32_t profileSlotSelect1, bool isLastPoint, bool zeroPos, uint32_t timeDur, bool useAuxPID)
Create a trajectory point with specified values.
Definition: TrajectoryPoint.h:100