13#include <gtsam/config.h>
15#ifdef GTSAM_ALLOW_DEPRECATED_SINCE_V43
26static const size_t kRollIndex = 0;
27static const size_t kPitchIndex = 1;
28static const size_t kHeightIndex = 5;
29static const size_t kVelocityZIndex = 8;
30static const std::vector<size_t> kVelocityIndices = { 6, 7, 8 };
36struct DHeightPrior :
public gtsam::PartialPriorFactor<PoseRTV> {
37 typedef gtsam::PartialPriorFactor<PoseRTV> Base;
40 : Base(key, kHeightIndex, height, model) {}
48struct DRollPrior :
public gtsam::PartialPriorFactor<PoseRTV> {
49 typedef gtsam::PartialPriorFactor<PoseRTV> Base;
53 : Base(key, kRollIndex, wx, model) { }
57 : Base(key, kRollIndex, 0.0, model) { }
65struct VelocityPrior :
public gtsam::PartialPriorFactor<PoseRTV> {
66 typedef gtsam::PartialPriorFactor<PoseRTV> Base;
69 : Base(key, kVelocityIndices, vel, model) {}
77struct DGroundConstraint :
public gtsam::PartialPriorFactor<PoseRTV> {
78 typedef gtsam::PartialPriorFactor<PoseRTV> Base;
84 : Base(key, { kHeightIndex, kVelocityZIndex, kRollIndex, kPitchIndex },
85 Vector::Unit(4, 0)*height, model) {}
91 : Base(key, { kHeightIndex, kVelocityZIndex, kRollIndex, kPitchIndex }, constraint, model) {
92 assert(constraint.size() == 4);
Pose3 with translational velocity.
A deprecated prior factor on selected tangent-space coordinates.
Global functions in a separate testing namespace.
Definition chartTesting.h:28
noiseModel::Base::shared_ptr SharedNoiseModel
Aliases.
Definition NoiseModel.h:846