Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
perception.cpp
Go to the documentation of this file.
1
#include <memory>
2
#include <vector>
3
4
#include "
perception/perception_node.hpp
"
5
6
int
main
(
int
argc,
char
** argv) {
7
rclcpp::init(argc, argv);
8
PerceptionParameters
params =
Perception::load_config
();
9
auto
perception = std::make_shared<Perception>(params);
10
rclcpp::spin(perception);
// Spin the perception node
11
rclcpp::shutdown();
12
return
0;
13
}
Perception::load_config
static PerceptionParameters load_config()
Turns the parameters in the yaml file into PerceptionParameters class.
Definition
perception_node.cpp:12
main
Definition
main.py:1
perception_node.hpp
PerceptionParameters
Struct containing parameters and interfaces used in perception.
Definition
perception_node.hpp:51
src
perception
src
perception.cpp
Generated by
1.9.8