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

The traffic light FSM implementation for deviceShifu #547

Open
kris21he opened this issue Mar 17, 2023 · 4 comments · May be fixed by #623
Open

The traffic light FSM implementation for deviceShifu #547

kris21he opened this issue Mar 17, 2023 · 4 comments · May be fixed by #623
Assignees
Labels
fsm good first issue Good for newcomers

Comments

@kris21he
Copy link
Contributor

kris21he commented Mar 17, 2023

Is your feature request related to a problem? Please describe.

I want to use FSM to represent the traffic light change logic, take the deviceShifu mimic the behaviour of the traffic light

Describe the solution you'd like

  1. The traffic light has RED, YELLOW, GREEN states
  2. The light can change from RED to GREEN
  3. The light can change from GREEN to YELLOW
  4. The light can change from YELLOW to RED
  5. The light can not change any other state except above rules

Additional context
use https://github.com/looplab/fsm to implement
refer to #542 if that was implemented

@kris21he kris21he added good first issue Good for newcomers fsm labels Mar 17, 2023
@huerni
Copy link

huerni commented May 27, 2023

May I attempt to address this issue?

@tomqin93
Copy link
Contributor

Thank you @huerni , absolutely!
I will go ahead and assign this issue to you.
Let us know if you need anything, you can reach me via email at xqin@edgenesis.com

@huerni huerni linked a pull request Jun 1, 2023 that will close this issue
3 tasks
@ashutosh887
Copy link

Is this issue resolved @tomqin93 @huerni ?
I would like to work on this

@huerni
Copy link

huerni commented Jun 17, 2023

Is this issue resolved @tomqin93 @huerni ? I would like to work on this

Resolving

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fsm good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants