class mola::FactorConstAngularVelocity
Overview
Factor for constant angular velocity model, equivalent to expression:
gtsam::rotate(Ri, bWi) - gtsam::rotate(Rj, bWj) = errZero
#include <FactorConstAngularVelocity.h> class FactorConstAngularVelocity: public gtsam::ExpressionFactorN< gtsam::Point3, gtsam::Rot3, gtsam::Point3, gtsam::Rot3, gtsam::Point3 > { public: // construction FactorConstAngularVelocity(); FactorConstAngularVelocity( gtsam::Key kRi, gtsam::Key kWi, gtsam::Key kRj, gtsam::Key kWj, const gtsam::SharedNoiseModel& model ); // methods gtsam::NonlinearFactor::shared_ptr clone() const; gtsam::Expression<gtsam::Point3> expression(const std::array<gtsam::Key, NARY_EXPRESSION_SIZE>& keys) const; void print( const std::string& s, const gtsam::KeyFormatter& keyFormatter = gtsam::DefaultKeyFormatter ) const; bool equals(const gtsam::NonlinearFactor& expected, double tol = 1e-9) const; };
Construction
FactorConstAngularVelocity()
default constructor
Methods
gtsam::NonlinearFactor::shared_ptr clone() const
Returns:
a deep copy of this factor
void print( const std::string& s, const gtsam::KeyFormatter& keyFormatter = gtsam::DefaultKeyFormatter ) const
implement functions needed for Testable print
bool equals(const gtsam::NonlinearFactor& expected, double tol = 1e-9) const
equals