|
NASA Astrobee Robot Software
0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
|
Go to the documentation of this file.
19 #ifndef GRAPH_FACTORS_LOC_POSE_FACTOR_H_
20 #define GRAPH_FACTORS_LOC_POSE_FACTOR_H_
22 #include <gtsam/geometry/Pose3.h>
23 #include <gtsam/slam/PriorFactor.h>
30 typedef PriorFactor<Pose3> Base;
33 typedef typename boost::shared_ptr<LocPoseFactor>
shared_ptr;
39 LocPoseFactor(Key key,
const Pose3& prior,
const SharedNoiseModel& model =
nullptr) : Base(key, prior, model) {}
41 LocPoseFactor(Key key,
const Pose3& prior,
const Matrix& covariance) : Base(key, prior, covariance) {}
46 template <
class ARCHIVE>
47 void serialize(ARCHIVE& ar,
const unsigned int ) {
48 ar& BOOST_SERIALIZATION_BASE_OBJECT_NVP(Base);
53 #endif // GRAPH_FACTORS_LOC_POSE_FACTOR_H_
LocPoseFactor(Key key, const Pose3 &prior, const SharedNoiseModel &model=nullptr)
Definition: loc_pose_factor.h:39
LocPoseFactor(Key key, const Pose3 &prior, const Matrix &covariance)
Definition: loc_pose_factor.h:41
boost::shared_ptr< LocPoseFactor > shared_ptr
Definition: loc_pose_factor.h:33
Definition: loc_pose_factor.h:28
Definition: cumulative_factor.h:26
friend class boost::serialization::access
Serialization function.
Definition: loc_pose_factor.h:45
virtual ~LocPoseFactor()
Definition: loc_pose_factor.h:37
LocPoseFactor()
Definition: loc_pose_factor.h:35