reduce autocharge timer and change wording

This commit is contained in:
legop3
2026-05-17 14:11:09 -04:00
parent ba5865c397
commit 17f516ed0b
7 changed files with 8 additions and 8 deletions
BIN
View File
Binary file not shown.
Vendored
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -7,7 +7,7 @@ import (
)
const (
autoChargeTimeout = 5 * time.Second
autoChargeTimeout = 2 * time.Second
autoChargeCooldown = 0 * time.Minute
sourceHomeBase = 1 << 1
)
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -11,7 +11,7 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="Roomba Rover" />
<title>Roomba Rover</title>
<script type="module" crossorigin src="/assets/index-79XNkqrd.js"></script>
<script type="module" crossorigin src="/assets/index-Bg60ztdI.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CkqCBh_q.css">
</head>
<body>
@@ -123,9 +123,9 @@ export default function DriveDockAction({
const dockInstructions = {
summary: 'Use assist mode to manually line up with the dock.',
steps: [
'Line up the round front sensor on the rover with the sensor on the dock',
'Use tiny forward/reverse turns until the sensors are centered',
'When contact is made, wait for docked + charging status',
'Line up the round front sensor on the rover with the sensors on the dock',
'Move carefully, lining up your sensor with the center of the dock',
'When contact is made, charging will start in about 5 seconds.',
],
};
@@ -140,9 +140,9 @@ export default function DriveDockAction({
useEffect(() => {
if (!manualAssistActive) return;
if (!docked) return;
if (!charging) return;
actions.setManualDockAssistActive(false);
}, [actions, docked, manualAssistActive]);
}, [actions, charging, manualAssistActive]);
const handleReturnToDrive = async () => {
if (!roverId || pending) return;