83 |
84 | Setup
85 | WARNING: This setup wizard will flash your
86 | motherboard firmware and the GPS configuration. Run at your own risk and be careful with voltage
87 | settings if you change them.
88 |
89 |
90 |
91 | {steps.map((step) => (
92 |
93 | ))}
94 |
95 |
96 |
97 | {steps[currentStep].content}
98 |
99 |
;
100 | };
101 |
102 | export default SetupWizard;
--------------------------------------------------------------------------------
/web/src/components/StatusComponent.tsx:
--------------------------------------------------------------------------------
1 | import {ESCStatus} from "../types/ros.ts";
2 | import {Card, Col, Row, Statistic} from "antd";
3 | import {booleanFormatter} from "./utils.tsx";
4 | import {useStatus} from "../hooks/useStatus.ts";
5 |
6 | export function StatusComponent() {
7 | const status = useStatus();
8 | const renderEscStatus = (escStatus: ESCStatus | undefined) => {
9 | return