Functions
gtsam.examples.SimpleRotation Namespace Reference

Functions

def main ()
 

Detailed Description

GTSAM Copyright 2010, Georgia Tech Research Corporation,
Atlanta, Georgia 30332-0415
All Rights Reserved
Authors: Frank Dellaert, et al. (see THANKS for the full author list)

See LICENSE for the license information

This example will perform a relatively trivial optimization on
a single variable with a single factor.

Function Documentation

◆ main()

def gtsam.examples.SimpleRotation.main ( void  )
Step 1: Create a factor to express a unary constraint

The "prior" in this case is the measurement from a sensor,
with a model of the noise on the measurement.

The "Key" created here is a label used to associate parts of the
state (stored in "RotValues") with particular factors.  They require
an index to allow for lookup, and should be unique.

In general, creating a factor requires:
- A key or set of keys labeling the variables that are acted upon
- A measurement value
- A measurement model with the correct dimensionality for the factor

Definition at line 17 of file SimpleRotation.py.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:47:15