A library for Generating paths using 254's 2014 code and following them via Talon SRX Motion Profiles
- Install e(fx)clipse for eclipse: https://www.eclipse.org/efxclipse/install.html#for-the-lazy
- Install the included json-simple-1.1.1.jar as a third party library: http://wpilib.screenstepslive.com/s/4485/m/13503/l/682619-3rd-party-libraries
- Configure your trajectory via the SrxTranslator.Config (wheelbase is in feet and wheel diameter is in inches).
- Add a WaypointSequence (positive X is forward, positive Y is left, units are in feet and degrees)
- Export the BobPaths via the ExportPathToJavaFile method.
- Run Main.java, you'll see the generated path in a new window.
- Move the generated java files from the Paths directory to a package in your robot code called
org.usfirst.frc.team319.paths - Download your code to your robot.
- Follow with
FollowTrajectory(new PathToFollow())
For more details, see the wiki: https://github.com/Team319/BobTrajectory/wiki