Write 2023 autonomous splines
Wrote the 2023 spline jsons for autonomous and moved
everything to y2023/autonomous/splines.
Signed-off-by: Nathan Leong <nathanrleong@gmail.com>
Change-Id: I6507165895183524a653f003db7804793419605a
diff --git a/frc971/control_loops/python/constants.py b/frc971/control_loops/python/constants.py
index 3a61b5e..7bc45db 100644
--- a/frc971/control_loops/python/constants.py
+++ b/frc971/control_loops/python/constants.py
@@ -36,7 +36,7 @@
Robot2020 = RobotType(width=0.8128, length=0.8636) # 32 in x 34 in
Robot2021 = Robot2020
Robot2022 = RobotType(width=0.8763, length=0.96647)
-Robot2023 = RobotType(width=0.8763, length=0.96647)
+Robot2023 = RobotType(width=0.6061, length=0.77581)
FIELDS = {
"2019 Field":
@@ -137,6 +137,8 @@
return "y2020/actors/splines"
elif field.year == 2022:
return "y2022/actors/splines"
+ elif field.year == 2023:
+ return "y2023/autonomous/splines"
else:
return "frc971/control_loops/python/spline_jsons"