horn button light up

This commit is contained in:
legop3
2026-01-31 15:37:46 -05:00
parent 7eeb9d13e4
commit 5916520b1a
9 changed files with 159 additions and 131 deletions
+2 -1
View File
@@ -13,7 +13,7 @@ function formatDegrees(value) {
export default function CameraServoPanel() {
const {
state: { roverId, camera, keymap },
state: { roverId, camera, keymap, horn },
pipeline,
actions: { setServoAngle, nudgeServo, goServoHome, setNightVision, startHorn, stopHorn },
} = useControlSystem();
@@ -110,6 +110,7 @@ export default function CameraServoPanel() {
onStart={startHorn}
onStop={stopHorn}
keyLabel={hornKey}
active={horn?.active}
/>
)}
{enabled && (