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 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 23 of file main.cpp.

24{
25 rclcpp::init(argc, argv);
26 auto node = std::make_shared<subsystem_controllers::EnvironmentPerceptionControllerNode>(rclcpp::NodeOptions());
27
28 // We use the multi threaded executor here to support the rentrent callbacks of the ros2_lifecycle_manager
29 rclcpp::executors::MultiThreadedExecutor executor;
30 executor.add_node(node->get_node_base_interface());
31 executor.spin();
32
33 rclcpp::shutdown();
34
35 return 0;
36}