|
|
|
![]() |
|
|||||||
|
||||||||
Sinusoidal Motion Profile Equations, Code, & Plots
*PLEASE USE THESE LINKS TO DOWNLOAD LATEST VERSIONS*
Sinusoidal Accel Profile
How to calculate a smooth sinusoidal acceleration motion profile,
given max accel and distance-to-target.
PDF file includes equations, example plots, and working Maxima scripts:
http://www.chiefdelphi.com/media/papers/download/4496
Sinusoidal accel motion profile generator Win32 console app
for off-line profile generation
http://www.chiefdelphi.com/media/papers/download/4639
cascaded position and velocity loops with feedforward.
http://www.chiefdelphi.com/media/papers/download/4346
x(t) v(t) a(t) motion profile with TalonSRX in speed-control mode.
http://www.chiefdelphi.com/media/papers/download/4457
x(t) v(t) a(t) motion profile with TalonSRX in position-control mode.
http://www.chiefdelphi.com/media/papers/download/4638
Sinusoidal Accel Profile.png
Sinusoidal Accel Profile.mac.txt
Trapezoidal Accel Profile.mac.txt
Trapezoidal Accel Profile.png
x(t) v(t) a(t) revA.png
x(t) v(t) a(t) with TalonSRX.png
sinusoidal acceleration motion profile revC.pdf
x(t) v(t) a(t) SRX CLP.png
sine_accel_1724.zip
20-02-2015 10:14
JesseKI see that this is desired behavior, but how do we poke the robot so it does what we want?
Is 'v' proportional to the motor output? Seems like we would tune 'amax' until the robot drives the desired distance in the desired time.
Is motor output a combination of 'v' and the different between actual 'x' and desired 'x'?
20-02-2015 11:13
Ether
Hi Jesse, I answered your question here:
http://www.chiefdelphi.com/forums/sh...d.php?t=134965
@all: please use the above link for any further discussion. Thanks.
20-02-2015 12:37
Paul CopioliEther,
I am curious as to why you are proposing this equation based method when the filter based method posted from post #18 in this thread:http://www.chiefdelphi.com/forums/sh...motion+profile
The filter method is so much more real time friendly and flexible as you can determine the motion acceleration type just by manipulating the filter lengths.
Paul
20-02-2015 13:00
Ether
Greetings all:
Please continue the discussion in this thread:
http://www.chiefdelphi.com/forums/sh...d.php?t=134965
Thank you !