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 event/state processing to allow PiTrac to wait for Golf Sim to arm before proceeding with shot #35

Closed
jamespilgrim opened this issue Jan 2, 2025 · 2 comments
Assignees

Comments

@jamespilgrim
Copy link
Owner

Once the ball is stable, the system should check to see if any connected Golf Sim is armed. If so, proceed to the ready-to-hit state. But, if not, hang out in a waiting-to-arm state and set the PiTrac GUI top-color to yellow to prompt the user to do whatever they need to do (select a club?) in order arm the golf sim.

@jamespilgrim jamespilgrim self-assigned this Jan 2, 2025
@jamespilgrim
Copy link
Owner Author

The new state sequence from the perspective of the PiTrac GUI looks like the following, which uses a yellow colored band at the top of the GUI to let the user know that the system is waiting for the simulator to be armed (mostly just relevant for TruGolf at this point)
New Wait-For-Arm visual cueing

jamespilgrim added a commit that referenced this issue Jan 3, 2025
Added new states to FSM, new internal and IPC events for waiting for arming and to let the GUI know what is happening.  Also updated the GUI show a yellow-colored band at the top when waiting for a golf sim arming message.
jamespilgrim added a commit that referenced this issue Jan 3, 2025
Added new states to FSM, new internal and IPC events for waiting for arming and to let the GUI know what is happening.  Also updated the GUI show a yellow-colored band at the top when waiting for a golf sim arming message.
@jamespilgrim
Copy link
Owner Author

Completed in Pull Request #42

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

No branches or pull requests

1 participant