Skip to content

Commit

Permalink
added acu segment and cell widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
BK1031 committed Jun 14, 2024
1 parent babb244 commit c8a75b4
Show file tree
Hide file tree
Showing 5 changed files with 909 additions and 0 deletions.
14 changes: 14 additions & 0 deletions dashboard/src/consts/config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import MobileRawWidget from "@/pages/gr24/mobile/widgets/DebugRawLiveWidget";
import VDMRawWidget from "@/pages/gr24/vdm/widgets/DebugRawLiveWidget";
import WheelRawWidget from "@/pages/gr24/wheel/widgets/DebugRawLiveWidget";
import PedalLiveWidget from "@/pages/gr24/pedal/widgets/PedalLiveWidget";
import SegmentLiveWidget from "@/pages/gr24/acu/widgets/SegmentLiveWidget";
import CellLiveWidget from "@/pages/gr24/acu/widgets/CellLiveWidget";

export const currentUser: User = initUser;
export const currentVehicle: Vehicle = initVehicle;
Expand All @@ -26,6 +28,18 @@ export const MAPACHE_WS_URL =
import.meta.env.VITE_MAPACHE_WS_URL ?? "ws://mapache.gauchoracing.com:10310";

export const acuLiveWidgets = [
{
name: "Segments Live",
width: 1200,
height: 300,
component: <SegmentLiveWidget />,
},
{
name: "Cells Live",
width: 1200,
height: 600,
component: <CellLiveWidget />,
},
{
name: "Raw Debug Live",
width: 600,
Expand Down
Loading

0 comments on commit c8a75b4

Please sign in to comment.