Go to Post Ken Leung is the most efficient sleeper I know. Standing up, at the scoring table, during the pig roast, whatever. That guy can sleep! - Paul Copioli [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 26-11-2016, 15:36
nardavin nardavin is offline
Registered User
FRC #2403 (Plasma Robotics)
Team Role: Programmer
 
Join Date: Mar 2014
Rookie Year: 2014
Location: Gilbert, Arizona
Posts: 28
nardavin is on a distinguished road
2D Motion Profile Generation

Hello! I have recently been looking into motion profiling to improve our capabilities for 2017 and beyond. I believe that I understand 1D motion profiling pretty well, from generating the trajectory to following it. However, I am having a hard time understanding how to control the robot along a pre-defined spline (thinking 254 auton in 2014, linked below). I think I understand the basics from 254's 2015 Champs Presentation (linked below), but I am confused how to take the overall path/trajectory and use it to generate the individual trajectories for the two sides of the drive train. Any suggestions/resources would be greatly appreciated. Thanks!

254 2014 Auton
Motion Profiling Presentation

EDIT: Typo
__________________
Team 2403: Plasma Robotics

Member 2014-2017, Head Programmer 2015-2016, Leadership Team 2016-2017, Co-President 2017




Last edited by nardavin : 26-11-2016 at 17:26.
Reply With Quote
  #2   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: 33
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
Reply


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 01:37.

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