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.
main.cpp File Reference
#include <rclcpp/rclcpp.hpp>
#include <SUB>
Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

< package_name >< SUB >< package_name > _node hpp int main (int argc, char **argv)
 

Function Documentation

◆ main()

< package_name >< SUB >< package_name > _node hpp int main ( int  argc,
char **  argv 
)

Definition at line 20 of file main.cpp.

21{
22 rclcpp::init(argc, argv);
23
24 auto node = std::make_shared<<SUB><package_name>::Node>(rclcpp::NodeOptions());
25
26 rclcpp::executors::MultiThreadedExecutor executor;
27 executor.add_node(node->get_node_base_interface());
28 executor.spin();
29
30 rclcpp::shutdown();
31
32 return 0;
33}