Python YASMIN (Yet Another State MachINe)
Loading...
Searching...
No Matches
yasmin_demos.monitor_demo Namespace Reference

Classes

class  PrintOdometryState
 

Functions

 main ()
 

Function Documentation

◆ main()

yasmin_demos.monitor_demo.main ( )
Main function to initialize and run the ROS 2 state machine.

This function initializes ROS 2, sets up logging, creates a finite state
machine (FSM), adds states to the FSM, and executes the FSM. It handles
cleanup and shutdown of ROS 2 gracefully.

Exceptions:
    KeyboardInterrupt: Caught to allow graceful cancellation of the
                      state machine during execution.