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 <memory>
#include "motion_computation/motion_computation_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 19 of file main.cpp.

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