I recently read about s-curve motion profile and wanted to implement this to FRC. but as soon as I started I got in to a problem that I do not know how to get the acceleration of the motor.
if someone already done that or knows how to do it id be more happy ?
3 Likes
The current acceleration of the motor or the target acceleration of the profile?
Current acceleration shouldn’t matter.
Either way, you can always derive acceleration from velocity with the velocity derivative (difference in velocity divided by difference in time).
Although, afaik, even the velocity of neo is too noisy and not that accurate because of the low resolution encoder.
1 Like