Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a bore-sight to know where the front of the robot is pointing #2

Closed
wants to merge 2 commits into from

Conversation

nkzarrabi
Copy link
Owner

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.

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).
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.

Add a bore-sight to know where the front of the robot is pointing
1 participant