Python YASMIN (Yet Another State MachINe)
|
Classes | |
class | FibonacciState |
Functions | |
str | print_result (Blackboard blackboard) |
main () | |
yasmin_demos.action_client_demo.main | ( | ) |
Main function to execute the ROS 2 action client demo. This function initializes the ROS 2 client, sets up the finite state machine, adds the states, and starts the action processing. Parameters: None Returns: None Raises: KeyboardInterrupt: If the user interrupts the execution.
str yasmin_demos.action_client_demo.print_result | ( | Blackboard | blackboard | ) |
Prints the result of the Fibonacci action. This function logs the final result stored in the blackboard. Parameters: blackboard (Blackboard): The blackboard containing the result. Returns: str: Outcome of the operation, typically SUCCEED. Raises: None