Functions
testDataset.cpp File Reference

Unit test for dataset.cpp. More...

#include <gtsam/slam/dataset.h>
#include <gtsam/slam/BetweenFactor.h>
#include <gtsam/geometry/Pose2.h>
#include <gtsam/inference/Symbol.h>
#include <gtsam/base/TestableAssertions.h>
#include <CppUnitLite/TestHarness.h>
#include <iostream>
#include <sstream>
Include dependency graph for testDataset.cpp:

Go to the source code of this file.

Functions

static NonlinearFactorGraph expectedGraph (const SharedNoiseModel &model)
 
int main ()
 
 TEST (dataSet, findExampleDataFile)
 
 TEST (dataSet, parseVertexPose)
 
 TEST (dataSet, parseVertexLandmark)
 
 TEST (dataSet, parseEdge)
 
 TEST (dataSet, load2D)
 
 TEST (dataSet, load2DVictoriaPark)
 
 TEST (dataSet, readG2o3D)
 
 TEST (dataSet, readG2o3DNonDiagonalNoise)
 
 TEST (dataSet, readG2oCheckDeterminants)
 
 TEST (dataSet, readG2oLandmarks)
 
 TEST (dataSet, readG2o)
 
 TEST (dataSet, readG2oHuber)
 
 TEST (dataSet, readG2oTukey)
 
 TEST (dataSet, writeG2o)
 
 TEST (dataSet, writeG2o3D)
 
 TEST (dataSet, writeG2o3DNonDiagonalNoise)
 

Detailed Description

Unit test for dataset.cpp.

Author
Richard Roberts, Luca Carlone

Definition in file testDataset.cpp.

Function Documentation

◆ expectedGraph()

static NonlinearFactorGraph expectedGraph ( const SharedNoiseModel model)
static

Definition at line 299 of file testDataset.cpp.

◆ main()

int main ( void  )

Definition at line 416 of file testDataset.cpp.

◆ TEST() [1/16]

TEST ( dataSet  ,
findExampleDataFile   
)

Definition at line 35 of file testDataset.cpp.

◆ TEST() [2/16]

TEST ( dataSet  ,
parseVertexPose   
)

Definition at line 45 of file testDataset.cpp.

◆ TEST() [3/16]

TEST ( dataSet  ,
parseVertexLandmark   
)

Definition at line 60 of file testDataset.cpp.

◆ TEST() [4/16]

TEST ( dataSet  ,
parseEdge   
)

Definition at line 75 of file testDataset.cpp.

◆ TEST() [5/16]

TEST ( dataSet  ,
load2D   
)

< The structure where we will save the SfM data

Definition at line 91 of file testDataset.cpp.

◆ TEST() [6/16]

TEST ( dataSet  ,
load2DVictoriaPark   
)

Definition at line 133 of file testDataset.cpp.

◆ TEST() [7/16]

TEST ( dataSet  ,
readG2o3D   
)

Definition at line 149 of file testDataset.cpp.

◆ TEST() [8/16]

TEST ( dataSet  ,
readG2o3DNonDiagonalNoise   
)

Definition at line 224 of file testDataset.cpp.

◆ TEST() [9/16]

TEST ( dataSet  ,
readG2oCheckDeterminants   
)

Definition at line 262 of file testDataset.cpp.

◆ TEST() [10/16]

TEST ( dataSet  ,
readG2oLandmarks   
)

Definition at line 285 of file testDataset.cpp.

◆ TEST() [11/16]

TEST ( dataSet  ,
readG2o   
)

Definition at line 318 of file testDataset.cpp.

◆ TEST() [12/16]

TEST ( dataSet  ,
readG2oHuber   
)

Definition at line 342 of file testDataset.cpp.

◆ TEST() [13/16]

TEST ( dataSet  ,
readG2oTukey   
)

Definition at line 357 of file testDataset.cpp.

◆ TEST() [14/16]

TEST ( dataSet  ,
writeG2o   
)

Definition at line 372 of file testDataset.cpp.

◆ TEST() [15/16]

TEST ( dataSet  ,
writeG2o3D   
)

Definition at line 386 of file testDataset.cpp.

◆ TEST() [16/16]

TEST ( dataSet  ,
writeG2o3DNonDiagonalNoise   
)

Definition at line 401 of file testDataset.cpp.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:55