Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
data_association_test.cpp File Reference
#include "kalman_filter/data_association.hpp"
#include <gtest/gtest.h>
#include <cmath>
#include "common_lib/structures/cone.hpp"
#include "kalman_filter/observation_models.hpp"
Include dependency graph for data_association_test.cpp:

Go to the source code of this file.

Functions

 TEST (DATA_ASSOCIATION_MODEL, NEW_LANDMARK)
 Test case for when a landmark is not in the state yet.
 
 TEST (DATA_ASSOCIATION_MODEL, PERFECT_MATCH)
 Test case for when a landmark has a perfect match.
 
 TEST (DATA_ASSOCIATION_MODEL, NEAR_MATCH)
 Test case for when a landmark has a near match.
 
 TEST (DATA_ASSOCIATION_MODEL, MISMATCH_NOT_NEW)
 Test case for when a landmark has a near mismatch.
 
 TEST (DATA_ASSOCIATION_MODEL, VALID_MATCH_ZERO_DELTA)
 Test case for testing the valid match function - 0 delta (zero noise)
 
 TEST (DATA_ASSOCIATION_MODEL, VALID_MATCH_MODERATE_NOISE)
 Test case for testing the valid match function - moderate noise (should pass)
 
 TEST (DATA_ASSOCIATION_MODEL, VALID_MATCH_INCREASING_NOISE)
 Test case for testing the valid match function with increasing noise.
 
 TEST (DATA_ASSOCIATION_MODEL, INVALID_PARAMETERS)
 Test case for testing data association with invalid parameters.
 

Function Documentation

◆ TEST() [1/8]

TEST ( DATA_ASSOCIATION_MODEL  ,
INVALID_PARAMETERS   
)

Test case for testing data association with invalid parameters.

Definition at line 290 of file data_association_test.cpp.

◆ TEST() [2/8]

TEST ( DATA_ASSOCIATION_MODEL  ,
MISMATCH_NOT_NEW   
)

Test case for when a landmark has a near mismatch.

Definition at line 124 of file data_association_test.cpp.

Here is the call graph for this function:

◆ TEST() [3/8]

TEST ( DATA_ASSOCIATION_MODEL  ,
NEAR_MATCH   
)

Test case for when a landmark has a near match.

Definition at line 85 of file data_association_test.cpp.

Here is the call graph for this function:

◆ TEST() [4/8]

TEST ( DATA_ASSOCIATION_MODEL  ,
NEW_LANDMARK   
)

Test case for when a landmark is not in the state yet.

Definition at line 13 of file data_association_test.cpp.

Here is the call graph for this function:

◆ TEST() [5/8]

TEST ( DATA_ASSOCIATION_MODEL  ,
PERFECT_MATCH   
)

Test case for when a landmark has a perfect match.

Definition at line 46 of file data_association_test.cpp.

Here is the call graph for this function:

◆ TEST() [6/8]

TEST ( DATA_ASSOCIATION_MODEL  ,
VALID_MATCH_INCREASING_NOISE   
)

Test case for testing the valid match function with increasing noise.

Definition at line 237 of file data_association_test.cpp.

Here is the call graph for this function:

◆ TEST() [7/8]

TEST ( DATA_ASSOCIATION_MODEL  ,
VALID_MATCH_MODERATE_NOISE   
)

Test case for testing the valid match function - moderate noise (should pass)

Definition at line 198 of file data_association_test.cpp.

Here is the call graph for this function:

◆ TEST() [8/8]

TEST ( DATA_ASSOCIATION_MODEL  ,
VALID_MATCH_ZERO_DELTA   
)

Test case for testing the valid match function - 0 delta (zero noise)

Definition at line 158 of file data_association_test.cpp.

Here is the call graph for this function: