shifu icon indicating copy to clipboard operation
shifu copied to clipboard

The traffic light FSM implementation for deviceShifu

Open kris21he opened this issue 1 year ago • 4 comments

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 https://github.com/Edgenesis/shifu/issues/542 if that was implemented

kris21he avatar Mar 17 '23 01:03 kris21he

May I attempt to address this issue?

huerni avatar May 27 '23 11:05 huerni

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]

tomqin93 avatar May 27 '23 12:05 tomqin93

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

ashutosh887 avatar Jun 16 '23 14:06 ashutosh887

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

Resolving

huerni avatar Jun 17 '23 08:06 huerni