shifu
shifu copied to clipboard
The traffic light FSM implementation for deviceShifu
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
- The traffic light has RED, YELLOW, GREEN states
- The light can change from RED to GREEN
- The light can change from GREEN to YELLOW
- The light can change from YELLOW to RED
- The light can not change any other state except above rules
Additional context use https://github.com/looplab/fsm to implement refer to https://github.com/Edgenesis/shifu/issues/542 if that was implemented
May I attempt to address this issue?
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 [email protected]
Is this issue resolved @tomqin93 @huerni ? I would like to work on this
Is this issue resolved @tomqin93 @huerni ? I would like to work on this
Resolving