C++ YASMIN (Yet Another State MachINe)
Loading...
Searching...
No Matches
fibonacci_action_server.cpp File Reference
#include <memory>
#include "example_interfaces/action/fibonacci.hpp"
#include "rclcpp/rclcpp.hpp"
#include "rclcpp_action/rclcpp_action.hpp"
Include dependency graph for fibonacci_action_server.cpp:

Classes

class  FibonacciActionServer
 A ROS 2 action server node for calculating Fibonacci sequences. More...
 

Functions

int main (int argc, char *argv[])
 Main entry point for the Fibonacci action server.
 

Function Documentation

◆ main()

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

Main entry point for the Fibonacci action server.

Initializes the ROS 2 node, spins it to handle incoming requests, and shuts down gracefully.

Parameters
argcNumber of command-line arguments.
argvArray of command-line arguments.
Returns
Exit status.