Applications

Where the Cyberiada state machines are used: embedded systems, ROS2 robots, games and simulators, language models.

Embedded systems

In Cyberiada IDE the behaviour of a device is drawn as a diagram, and the environment itself generates the code, compiles it and flashes the controller: Arduino, CyberBear, the TJC-HSM boards on STM32, TJC-IR. The code is generated by lapki-compiler and flashed by lapki-flasher. From CyberiadaPro the same build is run by the Lapki Compiler plugin and other code generators.

Where to start — the Arduino course.

Robotics

The HSM-ROS2 stack turns a diagram into a ROS 2 (Jazzy) node that drives a robot through a common interface:

diagram ─▶ hsm_robot_ros_generator ─▶ ROS 2 node ─▶ hsm_robot_ros_api ─▶ driver ─▶ robot or simulator

Games and simulators

Language models

cybersphere-hsm-maker draws a diagram from a description of the system in a natural language and checks it until it is right. The finished diagram can be opened in CyberiadaPro, corrected or even turned into code.