View Single Post
  #1   Spotlight this post!  
Unread 27-11-2016, 03:38
Chris86 Chris86 is offline
Registered User
FRC #4064 (Inzombiacs)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2007
Location: Jacksonville, Florida
Posts: 35
Chris86 is a splendid one to beholdChris86 is a splendid one to beholdChris86 is a splendid one to beholdChris86 is a splendid one to beholdChris86 is a splendid one to beholdChris86 is a splendid one to beholdChris86 is a splendid one to behold
Re: 2D Motion Profile Generation

You have a couple options, and I'm sure somebody from 254 will stop by shortly to explain their method, but here's what I like to do:

Draw a perpendicular line segment to each point on your original trajectory. The center of the segment should lay on the trajectory and its length should be the width of your robot.

Alternatively, don't generate separate left/right tracks and instead include heading as a part of your trajectory plan. Have your feedback loop include that heading to modify the left/right control efforts

Edit to provide some resources:
https://www.chiefdelphi.com/forums/s...d.php?t=126639 (A discussion of effectively how to create those paths)
https://www.chiefdelphi.com/forums/s...d.php?t=130769 (Some planners that inherently create individual left/right paths)
__________________
Current mentor for Team #4064
Proud former member of Team #86: Team Resistance 2007-2011

Last edited by Chris86 : 27-11-2016 at 03:53.
Reply With Quote