Go to Post We need to celebrate great things because good enough isn't inspiring. - Andrew Schreiber [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 20-02-2015, 11:11
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,986
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Motion Profiling


"Thread created automatically to discuss a document in CD-Media" does not allow attachments (I don't know the purpose for that limitation. Brandon: would it be beneficial to change that setting?)

Quote:
Originally Posted by JesseK View Post
I see that this is desired behavior, but how do we poke the robot so it does what we want?
Step1:
Determine how far you want the robot to move, how fast you want to allow it to accelerate at startup (and decelerate as it approaches the destination), and the max speed limit during that motion.

Step2:
Run the calculator to get your distance vs time equations.

Step3:
Each pass through TeleOp, chose the appropriate x(t) equation based on elapsed time "t" since start, and use that equation to compute a new position setpoint.

Step4:
Use the setpoint from Step3 as the position command to a closed-loop controller controlling whatever it is you want to control (e.g. wheels of a drivetrain, position of an elevator, etc)

Quote:
Seems like we would tune 'amax' until the robot drives the desired distance in the desired time.
You can always reduce amax and/or vmax if the computed time-to-destination is faster than required. And vice-versa.

For a given vmax, there will be an amax below which you can't get a trapezoidal motion profile (it will be triangular instead). What I've presented here presently doesn't handle that situation. I just uploaded a Maxima script and plot for triangular motion profile.

PS: The purpose of this thread is to raise awareness of and provide a focal point for conversation about the topic of motion profiling. I'm sure there are many motion profiling papers and apps out there in webland. If you have a favorite please feel free to posts links in this thread.



Last edited by Ether : 20-02-2015 at 12:17.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:13.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi