#include <memory>
#include "example_interfaces/action/fibonacci.hpp"
#include "rclcpp/rclcpp.hpp"
#include "rclcpp_action/rclcpp_action.hpp"
|
int | main (int argc, char *argv[]) |
| Main entry point for the Fibonacci action server.
|
|
◆ 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
-
argc | Number of command-line arguments. |
argv | Array of command-line arguments. |
- Returns
- Exit status.