Functions | Variables
testBinaryMeasurement.cpp File Reference

Unit tests for BinaryMeasurement class. More...

#include <gtsam/sfm/BinaryMeasurement.h>
#include <gtsam/geometry/Rot3.h>
#include <gtsam/geometry/Unit3.h>
#include <gtsam/geometry/Pose3.h>
#include <CppUnitLite/TestHarness.h>
Include dependency graph for testBinaryMeasurement.cpp:

Go to the source code of this file.

Functions

static const Key kKey1 (2)
 
static const Key kKey2 (1)
 
int main ()
 
static SharedNoiseModel rot3_model (noiseModel::Isotropic::Sigma(3, 0.05))
 
 TEST (BinaryMeasurement, Unit3)
 
 TEST (BinaryMeasurement, Rot3)
 
 TEST (BinaryMeasurement, Rot3MakeRobust)
 
static SharedNoiseModel unit3_model (noiseModel::Isotropic::Sigma(2, 0.05))
 

Variables

const Rot3 rot3Measured
 
const Unit3 unit3Measured (Vector3(1, 1, 1))
 

Detailed Description

Unit tests for BinaryMeasurement class.

Author
Akshay Krishnan
Date
July 2020

Definition in file testBinaryMeasurement.cpp.

Function Documentation

◆ kKey1()

static const Key kKey1 ( )
static

◆ kKey2()

static const Key kKey2 ( )

◆ main()

int main ( void  )

Definition at line 83 of file testBinaryMeasurement.cpp.

◆ rot3_model()

static SharedNoiseModel rot3_model ( noiseModel::Isotropic::Sigma(3, 0.05)  )
static

◆ TEST() [1/3]

TEST ( BinaryMeasurement  ,
Unit3   
)

Definition at line 40 of file testBinaryMeasurement.cpp.

◆ TEST() [2/3]

TEST ( BinaryMeasurement  ,
Rot3   
)

Definition at line 53 of file testBinaryMeasurement.cpp.

◆ TEST() [3/3]

TEST ( BinaryMeasurement  ,
Rot3MakeRobust   
)

Definition at line 68 of file testBinaryMeasurement.cpp.

◆ unit3_model()

static SharedNoiseModel unit3_model ( noiseModel::Isotropic::Sigma(2, 0.05)  )
static

Variable Documentation

◆ rot3Measured

const Rot3 rot3Measured

Definition at line 37 of file testBinaryMeasurement.cpp.

◆ unit3Measured

const Unit3 unit3Measured(Vector3(1, 1, 1))


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