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 <carma_wm_ctrl/WMBroadcasterNode.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 21 of file main.cpp.

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