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 "trajectory_visualizer.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
24 auto node = std::make_shared<trajectory_visualizer::TrajectoryVisualizer>(rclcpp::NodeOptions());
25
26 rclcpp::executors::MultiThreadedExecutor executor;
27 executor.add_node(node->get_node_base_interface());
28 executor.spin();
29 rclcpp::shutdown();
30
31 return 0;
32}