From 21219f9d03b910ed0e6c12f38a6821f22788aedf Mon Sep 17 00:00:00 2001 From: Nahuel Espinosa Date: Fri, 19 Jan 2024 10:00:44 -0300 Subject: [PATCH] Add variant implementation instructions Signed-off-by: Nahuel Espinosa --- beluga_system_tests/test/test_system_new.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/beluga_system_tests/test/test_system_new.cpp b/beluga_system_tests/test/test_system_new.cpp index 8eed47369..e270b812c 100644 --- a/beluga_system_tests/test/test_system_new.cpp +++ b/beluga_system_tests/test/test_system_new.cpp @@ -87,6 +87,14 @@ struct StandardAMCLParams { }; // All possible particle filter configuration variants to test against. +/** + * New particle filter implementation variants can be added by following these steps: + * + * - Create a new struct with the necessary configuration parameters (could be empty). + * - Add the new struct type to this variant declaration. + * - Add one or more instances of that struct to the `get_particle_filter_params` function. + * - Implement a new `particle_filter_test` overload taking that struct as a first parameter. + */ using ParticleFilterParams = std::variant; auto get_particle_filter_params() {