forked from nicolasperez19/mic-master-flex
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a bore-sight to know where the front of the robot is pointing
Fixes nicolasperez19#19 Add a bore-sight feature to indicate the front of the robot. * **MicMasterFlex Component**: - Import `ArrowUp` from `lucide-react`. - Add a new state variable `orientation` to manage the robot's orientation. - Update `handleMouseMove` to handle bore-sight orientation. - Add a visual representation (arrow) to show the robot's front direction. - Update `generateGridLines` to include the bore-sight feature. - Update `getCursor` function to include a new mode for adjusting the bore-sight. - Add a button to the toolbar for adjusting the bore-sight. * **README.md**: - Add a section to describe the new bore-sight feature. - Update the demo section to include the bore-sight feature. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/nicolasperez19/mic-master-flex/issues/19?shareId=XXXX-XXXX-XXXX-XXXX).
- Loading branch information
Showing
2 changed files
with
62 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters