navigation/expressions.h
Go to the documentation of this file.
1 
8 #pragma once
9 
10 #include <gtsam/geometry/Rot3.h>
13 #include <gtsam/slam/expressions.h>
14 
15 namespace gtsam {
16 
19 
20 namespace internal {
21 // define getters that return a value rather than a reference
23  return X.attitude(H);
24 }
26  return X.position(H);
27 }
29  return X.velocity(H);
30 }
31 } // namespace internal
32 
33 // overloads for getters
34 inline Rot3_ attitude(const NavState_& X) {
35  return Rot3_(internal::attitude, X);
36 }
37 inline Point3_ position(const NavState_& X) {
38  return Point3_(internal::position, X);
39 }
40 inline Velocity3_ velocity(const NavState_& X) {
41  return Velocity3_(internal::velocity, X);
42 }
43 
44 } // namespace gtsam
Vector3 Velocity3
Velocity is currently typedef&#39;d to Vector3.
Definition: NavState.h:28
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy y set format x g set format y g set format x2 g set format y2 g set format z g set angles radians set nogrid set key title set key left top Right noreverse box linetype linewidth samplen spacing width set nolabel set noarrow set nologscale set logscale x set set pointsize set encoding default set nopolar set noparametric set set set set surface set nocontour set clabel set mapping cartesian set nohidden3d set cntrparam order set cntrparam linear set cntrparam levels auto set cntrparam points set size set set xzeroaxis lt lw set x2zeroaxis lt lw set yzeroaxis lt lw set y2zeroaxis lt lw set tics in set ticslevel set tics set mxtics default set mytics default set mx2tics default set my2tics default set xtics border mirror norotate autofreq set ytics border mirror norotate autofreq set ztics border nomirror norotate autofreq set nox2tics set noy2tics set timestamp bottom norotate set rrange[*:*] noreverse nowriteback set trange[*:*] noreverse nowriteback set urange[*:*] noreverse nowriteback set vrange[*:*] noreverse nowriteback set xlabel matrix size set x2label set timefmt d m y n H
Expression< Rot3 > Rot3_
Expression< Velocity3 > Velocity3_
Expression< NavState > NavState_
Expression< Point3 > Point3_
Velocity3 velocity(const NavState &X, OptionalJacobian< 3, 9 > H)
traits
Definition: chartTesting.h:28
const Velocity3 & velocity(OptionalJacobian< 3, 9 > H=boost::none) const
Definition: NavState.cpp:64
Rot3 attitude(const NavState &X, OptionalJacobian< 3, 9 > H)
const Point3 & position(OptionalJacobian< 3, 9 > H=boost::none) const
Definition: NavState.cpp:57
Vector3 Point3
Definition: Point3.h:35
#define X
Definition: icosphere.cpp:20
Point3 position(const NavState &X, OptionalJacobian< 3, 9 > H)
3D rotation represented as a rotation matrix or quaternion
const Rot3 & attitude(OptionalJacobian< 3, 9 > H=boost::none) const
Definition: NavState.cpp:50


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