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-CFl50oUY.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-CoUbgLnI.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-COtFQYoW.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -32,7 +32,7 @@ export default function DockAssistHUD({ sensors }) {
|
||||
const nudge = state.balance * 6;
|
||||
const leftActive = state.left.red || state.left.green || state.left.force;
|
||||
const rightActive = state.right.red || state.right.green || state.right.force;
|
||||
const allAligned = state.left.red && state.left.green && state.right.red && state.right.green && state.forceDetected;
|
||||
const allAligned = Boolean(state.left.green && state.right.red && state.omni.force);
|
||||
|
||||
return (
|
||||
<div className="pointer-events-none absolute inset-x-0 top-0 flex justify-center p-0.25">
|
||||
|
||||
Reference in New Issue
Block a user