Commit Graph

690 Commits

Author SHA1 Message Date
nathanrsxtn 8847f2e2c3 Add some little swerve refactorings
Fix math issue with vector 2d extension
2022-05-02 14:14:29 -06:00
nathanrsxtn c29daee3e3 Minor code dusting 2022-04-29 11:42:43 -06:00
nathanrsxtn 0ec68ed151 Fix button bindings
Allow extender commands to run in sim
2022-04-20 17:12:00 -06:00
nathanrsxtn af8e6dff14 Revert the new controller binding system 2022-04-20 16:51:50 -06:00
nathanrsxtn 91ab5650a3 Cleanup extender commands 2022-04-20 16:38:30 -06:00
nathanrsxtn 78965a3381 Switch to new controller binding configuration
Replace control mode enums with booleans
Add simpler d-pad support and default bindings
Move autos to a separate class
2022-04-20 02:39:30 -06:00
nathanrsxtn b069720145 Remove angle offset from shooter table
Fix logging using format strings
Add autonomous chooser to the dashboard
Update path recorder
Move path commands to a class
2022-04-19 20:36:59 -06:00
nathanrsxtn 0196174180 Fix bounds issue with empty log flushes 2022-04-18 01:25:52 -06:00
nathanrsxtn dd61861549 Remove extra loggable check from HAL logging
Fix logic error previously solved with optionals
Improve and consolidate print stream loggers
Remove extra line after stack traces
Remove unnecessary formatter call
2022-04-18 01:19:48 -06:00
nathanrsxtn a95c97e4fe Change the off logging level to behave properly
Reduce the amount of strings created when logging
Add a temporary to do list to the read me file
2022-04-17 23:31:44 -06:00
nathanrsxtn e73d1c1d98 Small refactoring 2022-04-17 01:15:33 -06:00
nathanrsxtn 66efb8692d Merge branch 'cleanup' into experimental 2022-04-08 13:46:48 -06:00
Ryan 820a93cad2 back to +40 offset 2022-04-08 13:35:49 -06:00
Ryan f94fab2d94 Merge branch 'cleanup' of https://github.com/Team4388/2022NoWayHome into cleanup 2022-04-08 13:33:46 -06:00
nathanrsxtn d007538983 Add a warning in shooter tuner 2022-04-08 13:04:00 -06:00
nathanrsxtn f0b1750505 Add turret offset to fallback table entries
Add turret offset to sendable table
2022-04-08 12:59:30 -06:00
nathanrsxtn 2c3afec8c8 Aarav did not use the calculated offset to offset the turret
Add turret offset to shooter tunner
2022-04-08 12:50:27 -06:00
aarav18 471bc56d54 make nathan's code better (he asked me to) 2022-04-08 12:42:03 -06:00
nathanrsxtn c7f5d66a47 Add turret offset to shooter table 2022-04-08 12:37:35 -06:00
aarav18 3b5749569b trig solution 2022-04-08 12:33:42 -06:00
aarav18 d9d0dcc823 added trig solution for offset 2022-04-08 12:03:57 -06:00
nathanrsxtn a07bbfbbae Apply shooter tuner changes stash
Show selected path
2022-04-08 11:35:19 -06:00
nathanrsxtn 0812135d6a Change instant auto times to local constants 2022-04-08 11:16:06 -06:00
Ryan fc903b1dae asd 2022-04-08 10:24:25 -06:00
Ryan 713feb9c6b speed up 3 ball auto 2022-04-08 10:20:43 -06:00
nathanrsxtn 60de85c8ce Add shooting timeout to test autos 2022-04-08 09:28:01 -06:00
nathanrsxtn e89985961e Add track command to storage run during autos 2022-04-07 22:18:01 -06:00
nathanrsxtn 503dcd7845 Add an extender reset button to SmartDashboard 2022-04-07 19:48:09 -06:00
aarav18 acfa52c898 back to Spark LEDs 2022-04-07 19:02:32 -06:00
nathanrsxtn bcd25679e8 Add faster auto test
Fix extender deployment
2022-04-07 18:52:49 -06:00
aarav18 a420b8f47a LEDs --> PWM 2022-04-07 18:40:23 -06:00
aarav18 ea81f1720c Merge branch 'cleanup' of https://github.com/Team4388/2022NoWayHome into cleanup 2022-04-07 18:33:46 -06:00
aarav18 a9a7b1bc68 tried an LED thing (servo) 2022-04-07 18:33:44 -06:00
Ryan Manley c3660651ba schtuff 2022-04-07 18:29:48 -06:00
nathanrsxtn 3281512909 Fix missing imports 2022-04-07 17:09:04 -06:00
nathanrsxtn 7b7a0e2356 Add simplified 3 ball auto test 2022-04-07 17:03:23 -06:00
nathanrsxtn 7f5d9318ec Merge branch 'cleanup' into experimental 2022-04-07 17:01:15 -06:00
nathanrsxtn 1ca28810f1 Implement test mode
Add quick command index to  command schedule when relevant
Adjust command schedule dimensions
2022-04-07 16:35:07 -06:00
aarav18 06193efd83 timeout for 2ball auto (untested + doubtful) 2022-04-07 15:37:55 -06:00
aarav18 4a138aae55 Merge branch 'cleanup' of https://github.com/Team4388/2022NoWayHome into cleanup 2022-04-07 15:15:59 -06:00
aarav18 c7f4ab8514 auto chooser + slightly reworked autos 2022-04-07 15:13:24 -06:00
Ryan 84cfef5bf3 LEDs 2022-04-07 11:41:23 -06:00
Ryan Manley cce339dc56 asdfghkl; 2022-04-07 11:35:07 -06:00
nathanrsxtn 0385edb4f9 Add names to auto commands
Adjust command naming on command schedule
2022-04-07 08:52:19 -06:00
Ryan 6253f97817 real 2022-04-07 08:05:10 -06:00
nathanrsxtn 7808b2c8d3 Reorganize commands meant for Shuffleboard
Implement NetworkTables purging for the shooter tuner
2022-04-06 13:22:15 -06:00
nathanrsxtn 95e1ec76b6 Fix missing path file
Re-enable PhotonCamera version check
Revert PathPlanner auto preloading
Complete working copy of Shuffleboard command schedule
2022-04-06 02:32:17 -06:00
aarav18 096019bee5 separate can for drive train 2022-04-05 23:49:09 -06:00
nathanrsxtn c224aa61a6 Add WIP command schedule
Preload PathPlanner autos
Remove old PathPlanner recorder (again)
Temporarily disable PhotonCamera version check
2022-04-05 17:54:01 -06:00
Ryan Manley e90d709217 3 ball auto mostly works 2022-04-04 19:30:15 -06:00