mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-15 17:12:59 -04:00
reduce autocharge timer and change wording
This commit is contained in:
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
@@ -7,7 +7,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
autoChargeTimeout = 5 * time.Second
|
autoChargeTimeout = 2 * time.Second
|
||||||
autoChargeCooldown = 0 * time.Minute
|
autoChargeCooldown = 0 * time.Minute
|
||||||
sourceHomeBase = 1 << 1
|
sourceHomeBase = 1 << 1
|
||||||
)
|
)
|
||||||
|
|||||||
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-status-bar-style" content="black-translucent" />
|
||||||
<meta name="apple-mobile-web-app-title" content="Roomba Rover" />
|
<meta name="apple-mobile-web-app-title" content="Roomba Rover" />
|
||||||
<title>Roomba Rover</title>
|
<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">
|
<link rel="stylesheet" crossorigin href="/assets/index-CkqCBh_q.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -123,9 +123,9 @@ export default function DriveDockAction({
|
|||||||
const dockInstructions = {
|
const dockInstructions = {
|
||||||
summary: 'Use assist mode to manually line up with the dock.',
|
summary: 'Use assist mode to manually line up with the dock.',
|
||||||
steps: [
|
steps: [
|
||||||
'Line up the round front sensor on the rover with the sensor on the dock',
|
'Line up the round front sensor on the rover with the sensors on the dock',
|
||||||
'Use tiny forward/reverse turns until the sensors are centered',
|
'Move carefully, lining up your sensor with the center of the dock',
|
||||||
'When contact is made, wait for docked + charging status',
|
'When contact is made, charging will start in about 5 seconds.',
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -140,9 +140,9 @@ export default function DriveDockAction({
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!manualAssistActive) return;
|
if (!manualAssistActive) return;
|
||||||
if (!docked) return;
|
if (!charging) return;
|
||||||
actions.setManualDockAssistActive(false);
|
actions.setManualDockAssistActive(false);
|
||||||
}, [actions, docked, manualAssistActive]);
|
}, [actions, charging, manualAssistActive]);
|
||||||
|
|
||||||
const handleReturnToDrive = async () => {
|
const handleReturnToDrive = async () => {
|
||||||
if (!roverId || pending) return;
|
if (!roverId || pending) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user