autonomous_routine_path_planning
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| autonomous_routine_path_planning [2022/09/13 21:45] – rfhuang | autonomous_routine_path_planning [2022/09/13 21:51] (current) – rfhuang | ||
|---|---|---|---|
| Line 25: | Line 25: | ||
| ===== Architecture (Sequential) ===== | ===== Architecture (Sequential) ===== | ||
| - | -Using PathWeaver | + | 1. Using PathWeaver |
| {{ :: | {{ :: | ||
| - | -TrajectorySequence.java takes in those generated path files, combines it with our drivebase PID constants into a RamseteCommand. | + | 2. TrajectorySequence.java takes in those generated path files, combines it with our drivebase PID constants into a completed |
| <code java> public TrajectorySequence(Drivebase drivetrain, String ... paths) { | <code java> public TrajectorySequence(Drivebase drivetrain, String ... paths) { | ||
| drivebase = drivetrain; | drivebase = drivetrain; | ||
| Line 77: | Line 77: | ||
| return null; | return null; | ||
| }</ | }</ | ||
| - | -We choose which path to run using a pre-generated GUI in SmartDashbaord, | + | 3. Using a pre-generated GUI in SmartDashbaord |
| <code java> | <code java> | ||
| chooser.setDefaultOption(" | chooser.setDefaultOption(" | ||
| Line 130: | Line 130: | ||
| return chooser.getSelected(); | return chooser.getSelected(); | ||
| }</ | }</ | ||
| - | -On match start the RamseteCommand is run in RobotContainer.java, | + | 4. The selected path is taken from the GUI at game start. After that, the RamseteCommand is generated and executed |
autonomous_routine_path_planning.txt · Last modified: 2022/09/13 21:51 by rfhuang
