Functions | Variables
testSmartRangeFactor.cpp File Reference

Unit tests for SmartRangeFactor Class. More...

#include <gtsam_unstable/slam/SmartRangeFactor.h>
#include <gtsam/nonlinear/NonlinearFactorGraph.h>
#include <gtsam/nonlinear/LevenbergMarquardtOptimizer.h>
#include <CppUnitLite/TestHarness.h>
Include dependency graph for testSmartRangeFactor.cpp:

Go to the source code of this file.

Functions

int main ()
 
static const Point2 p (0, 10)
 
 TEST (SmartRangeFactor, constructor)
 
 TEST (SmartRangeFactor, addRange)
 
 TEST (SmartRangeFactor, scenario)
 
 TEST (SmartRangeFactor, unwhitenedError)
 
 TEST (SmartRangeFactor, optimization)
 

Variables

static const Pose2 pose1 (0, 0, 0)
 
static const Pose2 pose2 (5, 0, 0)
 
static const Pose2 pose3 (5, 5, 0)
 
static const double r1 = pose1.range(p)
 
static const double r2 = pose2.range(p)
 
static const double r3
 
static const double sigma = 2.0
 

Detailed Description

Unit tests for SmartRangeFactor Class.

Author
Frank Dellaert
Date
Nov 2013

Definition in file testSmartRangeFactor.cpp.

Function Documentation

int main ( void  )

Definition at line 133 of file testSmartRangeFactor.cpp.

static const Point2 p ( ,
10   
)
static
TEST ( SmartRangeFactor  ,
constructor   
)

Definition at line 37 of file testSmartRangeFactor.cpp.

TEST ( SmartRangeFactor  ,
addRange   
)

Definition at line 45 of file testSmartRangeFactor.cpp.

TEST ( SmartRangeFactor  ,
scenario   
)

Definition at line 53 of file testSmartRangeFactor.cpp.

TEST ( SmartRangeFactor  ,
unwhitenedError   
)

Definition at line 60 of file testSmartRangeFactor.cpp.

TEST ( SmartRangeFactor  ,
optimization   
)

Definition at line 99 of file testSmartRangeFactor.cpp.

Variable Documentation

const Pose2 pose1(0, 0, 0)
static
const Pose2 pose2(5, 0, 0)
const Pose2 pose3(5, 5, 0)
const double r1 = pose1.range(p)
static

Definition at line 32 of file testSmartRangeFactor.cpp.

const double r2 = pose2.range(p)
static

Definition at line 32 of file testSmartRangeFactor.cpp.

const double r3
static
Initial value:
p)
static const Pose2 pose3(5, 5, 0)
GTSAM_EXPORT double range(const Point2 &point, OptionalJacobian< 1, 3 > H1=boost::none, OptionalJacobian< 1, 2 > H2=boost::none) const
Definition: Pose2.cpp:253
static const Point2 p(0, 10)

Definition at line 32 of file testSmartRangeFactor.cpp.

const double sigma = 2.0
static

Definition at line 27 of file testSmartRangeFactor.cpp.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:42