Skip to content

feat: headlight control panel - #57

Merged
codeflight1 merged 1 commit into
mainfrom
headlight-control
Jul 18, 2026
Merged

feat: headlight control panel#57
codeflight1 merged 1 commit into
mainfrom
headlight-control

Conversation

@ConnorNeed

Copy link
Copy Markdown
Member

Adds 2 vertical sliders plus an all off button

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new “Headlights” tile to the Mosaic dashboard, providing a UI panel to control left/right headlight output over ROS via two vertical sliders plus an “All Off” button.

Changes:

  • Registers a new headlightControlPanel tile type in MosaicDashboard and renders it in the tile switch.
  • Adds HeadlightControlPanel that publishes left/right values to ROS topics and provides basic inline styling.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
src/components/panels/MosaicDashboard.tsx Adds a new mosaic tile type/display name and render case for the headlight panel.
src/components/panels/HeadlightControlPanel.tsx Introduces a new ROS-backed UI panel with two vertical range sliders and an all-off button.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/components/panels/MosaicDashboard.tsx Outdated
Comment thread src/components/panels/HeadlightControlPanel.tsx
Comment thread src/components/panels/HeadlightControlPanel.tsx
@codeflight1
codeflight1 merged commit 8871ffc into main Jul 18, 2026
1 check passed
@codeflight1
codeflight1 deleted the headlight-control branch July 18, 2026 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants