MRPT  2.0.1
Classes | Macros | Typedefs | Variables
graph_slam_levmarq_unittest.cpp File Reference
#include "graph_slam_levmarq_test_common.h"
#include <gtest/gtest.h>
#include <mrpt/serialization/CArchive.h>
#include <mrpt/system/filesystem.h>
#include <test_mrpt_common.h>
Include dependency graph for graph_slam_levmarq_unittest.cpp:

Go to the source code of this file.

Classes

class  GraphTester< my_graph_t >
 

Macros

#define GRAPHS_TESTS(_TYPE)
 

Typedefs

using in_out_filenames = std::set< std::tuple< std::string, std::string > >
 
using GraphTester2D = GraphTester< CNetworkOfPoses2D >
 
using GraphTester3D = GraphTester< CNetworkOfPoses3D >
 
using GraphTester2DInf = GraphTester< CNetworkOfPoses2DInf >
 
using GraphTester3DInf = GraphTester< CNetworkOfPoses3DInf >
 

Variables

const std::map< std::string, in_out_filenamesinout_graph_files
 

Macro Definition Documentation

◆ GRAPHS_TESTS

#define GRAPHS_TESTS (   _TYPE)
Value:
TEST_F(_TYPE, OptimizeSampleRingPath) \
{ \
for (int seed = 1; seed <= 3; seed++) \
{ \
getRandomGenerator().randomize(seed); \
test_ring_path(#_TYPE); \
} \
} \
TEST_F(_TYPE, BinarySerialization) \
{ \
getRandomGenerator().randomize(123); \
test_graph_bin_serialization(); \
} \
TEST_F(_TYPE, WriteReadTextFile) \
{ \
getRandomGenerator().randomize(123); \
test_graph_text_serialization(); \
} \
TEST_F(_TYPE, OptimizeCompareKnownSolution) \
{ \
test_optimize_compare_known_solution(#_TYPE); \
}
TEST_F(Pose3DTests, DefaultValues)

Definition at line 216 of file graph_slam_levmarq_unittest.cpp.

Typedef Documentation

◆ GraphTester2D

Definition at line 211 of file graph_slam_levmarq_unittest.cpp.

◆ GraphTester2DInf

Definition at line 213 of file graph_slam_levmarq_unittest.cpp.

◆ GraphTester3D

Definition at line 212 of file graph_slam_levmarq_unittest.cpp.

◆ GraphTester3DInf

Definition at line 214 of file graph_slam_levmarq_unittest.cpp.

◆ in_out_filenames

using in_out_filenames = std::set<std::tuple<std::string, std::string> >

Definition at line 25 of file graph_slam_levmarq_unittest.cpp.

Variable Documentation

◆ inout_graph_files

const std::map<std::string, in_out_filenames> inout_graph_files
Initial value:
{
{"GraphTester2D",
{{"graphslam_SE2_in.graph", "graphslam_SE2_out_good.graph"},
{"graphslam_SE2_in2.graph", "graphslam_SE2_out_good2.graph"},
{"graphslam_SE2_in3.graph", "graphslam_SE2_out_good3.graph"}}},
{"GraphTester2DInf",
{{"graphslam_SE2_in.graph", "graphslam_SE2_out_good.graph"},
{"graphslam_SE2pdf_in.graph", "graphslam_SE2pdf_out_good.graph"}}},
{"GraphTester3D",
{{"graphslam_SE3_in_torus3D-first100.graph",
"graphslam_SE3_out_good_torus3D-first100.graph"},
{"graphslam_SE2_in2.graph", "graphslam_SE2_out_good2.graph"}}}}

Definition at line 26 of file graph_slam_levmarq_unittest.cpp.

Referenced by GraphTester< my_graph_t >::test_optimize_compare_known_solution().




Page generated by Doxygen 1.8.14 for MRPT 2.0.1 Git: 0fef1a6d7 Fri Apr 3 23:00:21 2020 +0200 at vie abr 3 23:20:28 CEST 2020