|
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 NODE_ADDERS_TIMESTAMPED_NODE_ADDER_MODEL_H_
20 #define NODE_ADDERS_TIMESTAMPED_NODE_ADDER_MODEL_H_
24 #include <gtsam/inference/Key.h>
25 #include <gtsam/nonlinear/NonlinearFactorGraph.h>
33 template <
typename NodeType,
typename NodesType>
39 virtual void AddPriors(
const NodeType& node,
const std::vector<gtsam::SharedNoiseModel>& noise_models,
41 gtsam::NonlinearFactorGraph& factors)
const = 0;
46 gtsam::NonlinearFactorGraph& factors)
const = 0;
51 gtsam::NonlinearFactorGraph& factors)
const = 0;
59 gtsam::NonlinearFactorGraph& factors)
const = 0;
67 #endif // NODE_ADDERS_TIMESTAMPED_NODE_ADDER_MODEL_H_
virtual bool AddNodesAndRelativeFactors(const localization_common::Time timestamp_a, const localization_common::Time timestamp_b, NodesType &nodes, gtsam::NonlinearFactorGraph &factors) const =0
Definition: combined_nav_state_nodes.h:24
Definition: between_factor_node_adder_model.h:35
virtual void AddPriors(const NodeType &node, const std::vector< gtsam::SharedNoiseModel > &noise_models, const localization_common::Time timestamp, const NodesType &nodes, gtsam::NonlinearFactorGraph &factors) const =0
TimestampedNodeAdderModel(const TimestampedNodeAdderModelParams ¶ms)
Definition: timestamped_node_adder_model.h:36
Definition: timestamped_node_adder_model.h:34
virtual bool CanAddNode(const localization_common::Time timestamp) const =0
virtual bool RemoveRelativeFactors(const localization_common::Time timestamp_a, const localization_common::Time timestamp_b, const NodesType &nodes, gtsam::NonlinearFactorGraph &factors) const =0
Definition: timestamped_node_adder_model_params.h:24
virtual bool AddRelativeFactors(const localization_common::Time timestamp_a, const localization_common::Time timestamp_b, const NodesType &nodes, gtsam::NonlinearFactorGraph &factors) const =0
double Time
Definition: time.h:23
TimestampedNodeAdderModelParams params_
Definition: timestamped_node_adder_model.h:63
virtual ~TimestampedNodeAdderModel()=default