25 :
Base(key, 5, height, model) { }
38 :
Base(key, 0, wx, model) { }
42 :
Base(key, 0, 0.0, model) { }
55 assert(vel.size() == 3);
56 this->
mask_.resize(3);
60 this->
H_ = Matrix::Zero(3, 9);
78 this->
prior_ = Vector::Unit(4,0)*height;
79 this->
mask_.resize(4);
84 this->
H_ = Matrix::Zero(3, 9);
93 assert(constraint.size() == 4);
95 this->
mask_.resize(4);
100 this->
H_ = Matrix::Zero(3, 9);
A simple prior factor that allows for setting a prior only on a part of linear parameters.
This is the base class for all factor types.
Definition: Factor.h:54
void fillH()
Constructs the jacobian matrix in place.
Definition: PartialPriorFactor.h:130
Constrains the full velocity of a state to a particular value Useful for enforcing a stationary state...
Definition: DynamicsPriors.h:50
DRollPrior(Key key, double wx, const gtsam::SharedNoiseModel &model)
allows for explicit roll parameterization - uses canonical coordinate
Definition: DynamicsPriors.h:37
std::uint64_t Key
Integer nonlinear key type.
Definition: types.h:57
Vector prior_
measurement on tangent space parameters, in compressed form
Definition: PartialPriorFactor.h:53
Forces the roll to a particular value - useful for flying robots Implied value is zero Dim: 1.
Definition: DynamicsPriors.h:33
DGroundConstraint(Key key, double height, const gtsam::SharedNoiseModel &model)
Primary constructor allows for variable height of the "floor".
Definition: DynamicsPriors.h:76
Pose3 with translational velocity.
std::vector< size_t > mask_
indices of values to constrain in compressed prior vector
Definition: PartialPriorFactor.h:54
Forces the value of the height in a PoseRTV to a specific value Dim: 1.
Definition: DynamicsPriors.h:22
Matrix H_
Constant Jacobian - computed at creation.
Definition: PartialPriorFactor.h:55
DRollPrior(Key key, const gtsam::SharedNoiseModel &model)
Forces roll to zero.
Definition: DynamicsPriors.h:41
Global functions in a separate testing namespace.
Definition: chartTesting.h:28
noiseModel::Base::shared_ptr SharedNoiseModel
Note, deliberately not in noiseModel namespace.
Definition: NoiseModel.h:1072
Ground constraint: forces the robot to be upright (no roll, pitch), a fixed height,...
Definition: DynamicsPriors.h:70
A class for a soft partial prior on any Lie type, with a mask over Expmap parameters.
Definition: PartialPriorFactor.h:40
DGroundConstraint(Key key, const Vector &constraint, const gtsam::SharedNoiseModel &model)
Fully specify vector - use only for debugging.
Definition: DynamicsPriors.h:91