mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 01:21:20 -04:00
adjust labels
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import { useTelemetryFrame } from '../context/TelemetryContext.jsx';
|
import { useTelemetryFrame } from '../context/TelemetryContext.jsx';
|
||||||
import { useControlSystem } from '../controls/index.js';
|
import { useControlSystem } from '../controls/index.js';
|
||||||
import DiscordInviteButton from './DiscordInviteButton.jsx';
|
// import DiscordInviteButton from './DiscordInviteButton.jsx';
|
||||||
|
|
||||||
export default function DrivePanel() {
|
export default function DrivePanel() {
|
||||||
const {
|
const {
|
||||||
@@ -37,14 +37,14 @@ export default function DrivePanel() {
|
|||||||
<ActionCard
|
<ActionCard
|
||||||
title="Start Driving"
|
title="Start Driving"
|
||||||
description="Press to enable driving mode, then start moving."
|
description="Press to enable driving mode, then start moving."
|
||||||
statuses={[{ label: drivingMode ? 'Ready!' : 'Not Ready!', active: drivingMode }]}
|
statuses={[{ label: drivingMode ? 'Ready!' : 'Press to enter driving mode!', active: drivingMode }]}
|
||||||
tone="emerald"
|
tone="emerald"
|
||||||
onClick={handleStartDrive}
|
onClick={handleStartDrive}
|
||||||
disabled={!roverId}
|
disabled={!roverId}
|
||||||
/>
|
/>
|
||||||
<ActionCard
|
<ActionCard
|
||||||
title="Dock and Charge"
|
title="Dock and Charge"
|
||||||
description="Line the rover up about a foot from the dock, then trigger an automatic docking attempt."
|
description="Line the rover up about a foot from the dock, then press to trigger a docking attempt."
|
||||||
statuses={[
|
statuses={[
|
||||||
{ label: docked ? 'Docked!' : 'Not Docked!', active: docked },
|
{ label: docked ? 'Docked!' : 'Not Docked!', active: docked },
|
||||||
{ label: charging ? 'Charging!' : 'Not Charging!', active: charging },
|
{ label: charging ? 'Charging!' : 'Not Charging!', active: charging },
|
||||||
|
|||||||
Reference in New Issue
Block a user