|
Re: SRX Motion Profiling Control
Quote:
Originally Posted by Ty Tremblay
T
Code:
_talon.setMotionProfileUpdateRate(int ms) //tells the talon how frequently to process its motion profile buffer.
_talon.startProcessingMotionProfile() //tells the talon to start processing its motion profile buffer.
Then we could use _talon.getMotionProfileStatus(_status); to determine if the MP has finished running.
|
Why not just calculate the rate by dividing the delta time on the points in the profile by 2? Most users will get it right but why make them supply a value that could be determined automatically.
__________________
"May the coms be with you"
Is this a "programming error" or a "programmer error"?
|