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.
plan_delegator_node.cpp File Reference
#include "rclcpp/rclcpp.hpp"
#include "plan_delegator.hpp"
Include dependency graph for plan_delegator_node.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 21 of file plan_delegator_node.cpp.

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