C++ YASMIN (Yet Another State MachINe)
Loading...
Searching...
No Matches
action_client_demo.cpp File Reference
#include <iostream>
#include <memory>
#include <string>
#include "example_interfaces/action/fibonacci.hpp"
#include "yasmin/cb_state.hpp"
#include "yasmin/logs.hpp"
#include "yasmin/state_machine.hpp"
#include "yasmin_ros/action_state.hpp"
#include "yasmin_ros/basic_outcomes.hpp"
#include "yasmin_ros/ros_logs.hpp"
#include "yasmin_ros/yasmin_node.hpp"
#include "yasmin_viewer/yasmin_viewer_pub.hpp"
Include dependency graph for action_client_demo.cpp:

Classes

class  FibonacciState
 Represents the action state for the Fibonacci action. More...
 

Typedefs

using Fibonacci = example_interfaces::action::Fibonacci
 

Functions

std::string print_result (std::shared_ptr< yasmin::blackboard::Blackboard > blackboard)
 Prints the result of the Fibonacci action.
 
int main (int argc, char *argv[])
 

Typedef Documentation

◆ Fibonacci

using Fibonacci = example_interfaces::action::Fibonacci

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

◆ print_result()

std::string print_result ( std::shared_ptr< yasmin::blackboard::Blackboard > blackboard)

Prints the result of the Fibonacci action.

Retrieves the final Fibonacci sequence from the blackboard and outputs it to stderr.

Parameters
blackboardShared pointer to the blackboard storing the Fibonacci sequence.
Returns
The outcome status indicating success.