Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
nearest_neighbor.hpp
Go to the documentation of this file.
1#pragma once
2#include <memory>
3#include <rclcpp/rclcpp.hpp>
4
7
14public:
16
17 ~NearestNeighbor() = default;
18
19 Eigen::VectorXi associate(const Eigen::VectorXd& landmarks, const Eigen::VectorXd& observations,
20 const Eigen::MatrixXd& covariance,
21 const Eigen::VectorXd& observation_confidences) const override;
22};
Data Association Method class, used to match observations to landmarks in the map.
Data association implementation that uses the Malhanobis Distance only as criterion to make observati...
~NearestNeighbor()=default
Eigen::VectorXi associate(const Eigen::VectorXd &landmarks, const Eigen::VectorXd &observations, const Eigen::MatrixXd &covariance, const Eigen::VectorXd &observation_confidences) const override
This function associates the landmarks with the observations.