Public Member Functions | Protected Attributes | List of all members
gtsam::AttitudeFactor Class Reference

#include <AttitudeFactor.h>

Inheritance diagram for gtsam::AttitudeFactor:
Inheritance graph
[legend]

Public Member Functions

Vector attitudeError (const Rot3 &p, OptionalJacobian< 2, 3 > H={}) const
 
 AttitudeFactor ()
 
 AttitudeFactor (const Unit3 &nZ, const Unit3 &bRef=Unit3(0, 0, 1))
 Constructor. More...
 
const Unit3bRef () const
 
const Unit3nZ () const
 

Protected Attributes

Unit3 bRef_
 Position measurement in. More...
 
Unit3 nZ_
 

Detailed Description

Base class for prior on attitude Example:

Definition at line 34 of file AttitudeFactor.h.

Constructor & Destructor Documentation

◆ AttitudeFactor() [1/2]

gtsam::AttitudeFactor::AttitudeFactor ( )
inline

default constructor - only use for serialization

Definition at line 43 of file AttitudeFactor.h.

◆ AttitudeFactor() [2/2]

gtsam::AttitudeFactor::AttitudeFactor ( const Unit3 nZ,
const Unit3 bRef = Unit3(0, 0, 1) 
)
inline

Constructor.

Parameters
nZmeasured direction in navigation frame
bRefreference direction in body frame (default Z-axis in NED frame, i.e., [0; 0; 1])

Definition at line 51 of file AttitudeFactor.h.

Member Function Documentation

◆ attitudeError()

Vector gtsam::AttitudeFactor::attitudeError ( const Rot3 p,
OptionalJacobian< 2, 3 >  H = {} 
) const

vector of errors

Definition at line 26 of file AttitudeFactor.cpp.

◆ bRef()

const Unit3& gtsam::AttitudeFactor::bRef ( ) const
inline

Definition at line 62 of file AttitudeFactor.h.

◆ nZ()

const Unit3& gtsam::AttitudeFactor::nZ ( ) const
inline

Definition at line 59 of file AttitudeFactor.h.

Member Data Documentation

◆ bRef_

Unit3 gtsam::AttitudeFactor::bRef_
protected

Position measurement in.

Definition at line 38 of file AttitudeFactor.h.

◆ nZ_

Unit3 gtsam::AttitudeFactor::nZ_
protected

Definition at line 38 of file AttitudeFactor.h.


The documentation for this class was generated from the following files:


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