Add intake, turret, and climber plotters
Change-Id: I2de2968219ad258bdce2799eaf7632c914cc3c84
Signed-off-by: Siddhant Kanwar <kanwarsiddhant@gmail.com>
diff --git a/frc971/analysis/plot_index.ts b/frc971/analysis/plot_index.ts
index 332db34..f56a6bf 100644
--- a/frc971/analysis/plot_index.ts
+++ b/frc971/analysis/plot_index.ts
@@ -28,22 +28,28 @@
import {plotDownEstimator} from 'org_frc971/frc971/control_loops/drivetrain/down_estimator_plotter';
import {plotRobotState} from
'org_frc971/frc971/control_loops/drivetrain/robot_state_plotter'
-import {plotFinisher} from
+import {plotFinisher as plot2020Finisher} from
'org_frc971/y2020/control_loops/superstructure/finisher_plotter'
-import {plotTurret} from
+import {plotTurret as plot2020Turret} from
'org_frc971/y2020/control_loops/superstructure/turret_plotter'
import {plotLocalizer as plot2020Localizer} from
'org_frc971/y2020/control_loops/drivetrain/localizer_plotter'
+import {plotAccelerator as plot2020Accelerator} from
+ 'org_frc971/y2020/control_loops/superstructure/accelerator_plotter'
+import {plotHood as plot2020Hood} from
+ 'org_frc971/y2020/control_loops/superstructure/hood_plotter'
+import {plotSuperstructure as plot2021Superstructure} from
+ 'org_frc971/y2021_bot3/control_loops/superstructure/superstructure_plotter';
+import {plotTurret as plot2022Turret} from
+ 'org_frc971/y2022/control_loops/superstructure/turret_plotter'
import {plotCatapult as plot2022Catapult} from
'org_frc971/y2022/control_loops/superstructure/catapult_plotter'
+import {plotIntake as plot2022Intake} from
+ 'org_frc971/y2022/control_loops/superstructure/intake_plotter'
+import {plotClimber as plot2022Climber} from
+ 'org_frc971/y2022/control_loops/superstructure/climber_plotter'
import {plotLocalizer as plot2022Localizer} from
'org_frc971/y2022/localizer/localizer_plotter'
-import {plotAccelerator} from
- 'org_frc971/y2020/control_loops/superstructure/accelerator_plotter'
-import {plotHood} from
- 'org_frc971/y2020/control_loops/superstructure/hood_plotter'
-import {plotSuperstructure} from
- 'org_frc971/y2021_bot3/control_loops/superstructure/superstructure_plotter';
import {plotDemo} from 'org_frc971/aos/network/www/demo_plot';
import {plotData} from 'org_frc971/frc971/analysis/plot_data_utils';
@@ -104,15 +110,18 @@
['Spline Debug', new PlotState(plotDiv, plotSpline)],
['Down Estimator', new PlotState(plotDiv, plotDownEstimator)],
['Robot State', new PlotState(plotDiv, plotRobotState)],
- ['Finisher', new PlotState(plotDiv, plotFinisher)],
- ['Accelerator', new PlotState(plotDiv, plotAccelerator)],
- ['Hood', new PlotState(plotDiv, plotHood)],
- ['Turret', new PlotState(plotDiv, plotTurret)],
- ['2022 Localizer', new PlotState(plotDiv, plot2022Localizer)],
+ ['2020 Finisher', new PlotState(plotDiv, plot2020Finisher)],
+ ['2020 Accelerator', new PlotState(plotDiv, plot2020Accelerator)],
+ ['2020 Hood', new PlotState(plotDiv, plot2020Hood)],
+ ['2020 Turret', new PlotState(plotDiv, plot2020Turret)],
['2020 Localizer', new PlotState(plotDiv, plot2020Localizer)],
+ ['2022 Localizer', new PlotState(plotDiv, plot2022Localizer)],
['2022 Catapult', new PlotState(plotDiv, plot2022Catapult)],
+ ['2022 Intake', new PlotState(plotDiv, plot2022Intake)],
+ ['2022 Climber', new PlotState(plotDiv, plot2022Climber)],
+ ['2022 Turret', new PlotState(plotDiv, plot2022Turret)],
['C++ Plotter', new PlotState(plotDiv, plotData)],
- ['Y2021 3rd Robot Superstructure', new PlotState(plotDiv, plotSuperstructure)],
+ ['Y2021 3rd Robot Superstructure', new PlotState(plotDiv, plot2021Superstructure)],
]);
const invalidSelectValue = 'null';