mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 09:31:20 -04:00
tweak
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -11,7 +11,7 @@
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<meta name="apple-mobile-web-app-title" content="Multi Roomba Rover" />
|
||||
<title>Multi Roomba Rover</title>
|
||||
<script type="module" crossorigin src="/assets/index-DUAclqZY.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-jJXVjK1f.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-COtFQYoW.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -46,7 +46,7 @@ export default function TelemetryPanel() {
|
||||
) : (
|
||||
<>
|
||||
<TelemetrySummary sensors={sensors} voltage={voltage} current={current} batteryTemp={batteryTemp} charge={charge} capacity={capacity} />
|
||||
<SensorDetails sensors={sensors} />
|
||||
<SensorDetails sensors={sensors} dockState={dockIr} />
|
||||
</>
|
||||
)}
|
||||
{rawSnippet && (
|
||||
@@ -86,7 +86,7 @@ function Metric({ label, value }) {
|
||||
);
|
||||
}
|
||||
|
||||
function SensorDetails({ sensors }) {
|
||||
function SensorDetails({ sensors, dockState }) {
|
||||
const bumps = sensors?.bumpsAndWheelDrops || {};
|
||||
const over = sensors?.wheelOvercurrents || {};
|
||||
|
||||
@@ -117,7 +117,7 @@ function SensorDetails({ sensors }) {
|
||||
<div className="grid gap-0.5 md:grid-cols-2">
|
||||
<DetailCard title="Dock IR">
|
||||
<DockMiniStatus sensors={sensors} />
|
||||
<DockDebug state={dockIr} />
|
||||
<DockDebug state={dockState} />
|
||||
</DetailCard>
|
||||
|
||||
<DetailCard title="Bumps & drops">
|
||||
|
||||
Reference in New Issue
Block a user