Hello! Were trying to program motion profiling using path trajectories. We’ve been trying to use the robotpy-ctre library, that contains the *WPI_TalonSRX * class - which we use to declare the TalonSRX motor controller.
We saw inside the documentation that robotpy-ctre library contains the *BaseMotorController * class, that should contain functions such as pushMotionProfileTrajectory(trajPt) that should push the motion profile trajectory into the high-buffer. This way the trajectory should finally reach the Talon, after processing the motion profile buffer using the processMotionProfileBuffer() function.
This should all theoretically work, but we’ve noticed that most of these functions are not implemented and just raise NotImplementedError. Are those functions going to be implemented in the near future, or are they deprecated? If so, are there any other alternatives? We’ve also looked at pathfinder for robotpy but knowing that using motion profiling trajectories with the TalonSRX has a faster updating rate of 1ms as opposed to the average and mostly uneven 15ms of the roboRIO - it’s not a viable alternative for us.
Thanks in advance!