Go to Post I haven't been negative about any FIRST game yet, but scaling and cleaning fish in 2009 that were used in 2008 is going to stink. Literally. :P - Billfred [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

 
Closed Thread
Thread Tools Rating: Thread Rating: 7 votes, 5.00 average. Display Modes
  #16   Spotlight this post!  
Unread 25-05-2015, 22:10
ohrly?'s Avatar
ohrly? ohrly? is offline
Griffin Alum
AKA: Colin Poler
FRC #1884 (The Griffins)
Team Role: Alumni
 
Join Date: Jan 2013
Rookie Year: 2011
Location: London
Posts: 58
ohrly? is an unknown quantity at this point
Re: Swerve path and motor trajectory generator?

Quote:
Originally Posted by Bernini View Post
Does a path planner exist for swerve given way points x y and heading?
This is likely far, far more complicated than you would ever, ever want to put on an FRC bot, but it's definitely an interesting read. It's kind of the de facto algorithm in the RoboCup collegiate robotics competition. I guess in college, the programmers more or less get free reign to do whatever they want. It helps that they have a bit more than 6 weeks, too ;-)

Anyway, the paper: http://msl.cs.uiuc.edu/~lavalle/papers/LavKuf01b.pdf

Last edited by ohrly? : 25-05-2015 at 22:15. Reason: Better paper
  #17   Spotlight this post!  
Unread 25-05-2015, 22:54
Bernini Bernini is offline
Junior Member
no team
 
Join Date: Mar 2015
Rookie Year: 2002
Location: St Louis
Posts: 11
Bernini has a little shameless behaviour in the past
Re: Swerve path and motor trajectory generator?

Reading that hurt my eyes.....Nonetheless, a very interesting. My current research pertains to differential topology with path planning in embedded systems, so this topic is very dear to me.

I found another pdf of the paper posted above that is easier on the eyes to read: http://msl.cs.uiuc.edu/~lavalle/papers/LavKuf99.pdf

Has a team in the past implemented state space based machine control? If so, could you point me to where I could read about what they did?

Last edited by Bernini : 26-05-2015 at 13:06.
  #18   Spotlight this post!  
Unread 27-05-2015, 08:00
teku14's Avatar
teku14 teku14 is offline
http:
FRC #2614 (MARS)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Morgantown, WV
Posts: 64
teku14 is a jewel in the roughteku14 is a jewel in the roughteku14 is a jewel in the roughteku14 is a jewel in the rough
Re: Swerve path and motor trajectory generator?

Quote:
Originally Posted by faust1706 View Post
You can get the latest code from here: https://github.com/faust1706/Smooth-Swerve

The simulation is what this code displays as of right now, but that can be changed. To alter the simulation, change the waypoints to whatever and however many you want. Make sure the heading variable is of the same size as the waypoints array size, otherwise the program will get an outofbounds error.

I have not rigorously tested this code, so feel free to try to break it. If you do break it, either by making it generate an incorrect path or something, then leave a comment here or make it an issue on the repo's page.

The simulation is also completely smooth now thanks to the programmer on 2046.
This is absolutely amazing. Is there any LabView Implementation of this?
  #19   Spotlight this post!  
Unread 27-05-2015, 08:28
faust1706's Avatar
faust1706 faust1706 is offline
Registered User
FRC #1706 (Ratchet Rockers)
Team Role: College Student
 
Join Date: Apr 2012
Rookie Year: 2011
Location: St Louis
Posts: 498
faust1706 is infamous around these partsfaust1706 is infamous around these parts
Re: Swerve path and motor trajectory generator?

There doesn't need to be, as this output can be fed into a robot written in labview. You generate your paths off board ahead of time, save off the velocities and headings to a file, then have labview read through that file. If you have good enough control of your robot (go x encoder counts at h heading), your robot will follow the path generated from your way-points.

I think the best game for this is 2011 when doing a multi ubertube autonomous. Maybe something this advanced will be needed in the future.

Let me know if you have any questions.
__________________
"You're a gentleman," they used to say to him. "You shouldn't have gone murdering people with a hatchet; that's no occupation for a gentleman."

Last edited by faust1706 : 27-05-2015 at 09:21.
Closed Thread


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 00:17.

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