View Single Post
  #15   Spotlight this post!  
Unread 30-04-2015, 13:22
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: Smooth Path Generator for RoboRio 2015

Sorry to revive an rather old thread, but since this is a continuation of @notincontrol's work, I felt it needed to be tied with it.

Here is my attempt at converting his code to work with swerve: https://github.com/faust1706/Smooth-Swerve

I based the calculations off Ether's materials, but that doesn't mean I miss typed or something.

How to use: define set of waypoints, x and y, and then a set of angles you want the robot to be facing at each way point.

A known thing that is broken is the output velocity per motor.
__________________
"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 : 30-04-2015 at 13:31.