Carma-platform v4.2.0
CARMA Platform is built on robot operating system (ROS) and utilizes open source software (OSS) that enables Cooperative Driving Automation (CDA) features to allow Automated Driving Systems to interact and cooperate with infrastructure and other vehicles through communication.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
main.cpp File Reference
#include <memory>
#include "system_controller/system_controller_node.hpp"
#include "rclcpp/rclcpp.hpp"
Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 20 of file main.cpp.

21{
22 rclcpp::init(argc, argv);
23 auto node = std::make_shared<system_controller::SystemControllerNode>(rclcpp::NodeOptions());
24
25 // We use the multi threaded executor here to support the rentrent callbacks of the ros2_lifecycle_manager
26 rclcpp::executors::MultiThreadedExecutor executor;
27 executor.add_node(node);
28 executor.spin();
29
30 rclcpp::shutdown();
31
32 return 0;
33}