Closed rzblue closed 6 years ago
The valueOf() method that takes an integer representing a value in ms for TrajectoryPoint.TrajectoryDuration is not static, and is instead a member method of the enum.
valueOf()
TrajectoryPoint.TrajectoryDuration
Agreed. See example for the workaround.
Issue has been resolved. https://github.com/CrossTheRoadElec/Phoenix-frc-lib/blob/master/java/src/com/ctre/phoenix/motion/TrajectoryPoint.java#L30
The
valueOf()
method that takes an integer representing a value in ms forTrajectoryPoint.TrajectoryDuration
is not static, and is instead a member method of the enum.