Get an improved navigation experience with a Chrominium based browser.
Dismiss
Ruby Video
Talks
Speakers
Events
Sign in
Talks
Speakers
Events
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
http://rubykaigi.org/2016/presentations/yuri_at_earth.html How do you write software for controlling home appliance such as High Tech Seat (a.k.a. Washlet) ? When you write bad code, water may flood or may not be flushed... Even after you write correct code, you might want to add some nice features like open and close the cover working with flusher. How do you verify the behavior of it? State machine diagram is usually used to verify the behavior, especially for embedded systems. In UML 2.x, nested states and orthogonal regions are supported to describe complex behaviors. Through the diagrams, you can learn what is "good" design for controlling devices. In addition, Ruby lets us convert the diagrams into executable code easily. Let's try to implement High Tech Seat from state machine with mruby. Yurie Yamane, @yuri_at_earth "nora" mrubyist. A member of Team Yamanekko. A member of TOPPERS Project. A staff of ET robocon TOKYO.
Date
Summary
Markdown supported
Suggest modifications
Cancel