NASA Astrobee Robot Software  0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
node_adders::TimestampedNodeAdder< NodeType, TimestampedNodesType, NodeAdderModelType > Class Template Reference

#include <timestamped_node_adder.h>

Inheritance diagram for node_adders::TimestampedNodeAdder< NodeType, TimestampedNodesType, NodeAdderModelType >:
Inheritance graph

Public Member Functions

 TimestampedNodeAdder (const TimestampedNodeAdderParams< NodeType > &params, const typename NodeAdderModelType::Params &node_adder_model_params, std::shared_ptr< nodes::Values > values)
 
 TimestampedNodeAdder (const TimestampedNodeAdderParams< NodeType > &params, const typename NodeAdderModelType::Params &node_adder_model_params, std::shared_ptr< TimestampedNodesType > timestamped_nodes)
 
 TimestampedNodeAdder ()=default
 
virtual ~TimestampedNodeAdder ()=default
 
void AddInitialNodesAndPriors (gtsam::NonlinearFactorGraph &factors) final
 
void AddInitialNodesAndPriors (const NodeType &initial_node, const std::vector< gtsam::SharedNoiseModel > &initial_noise, const localization_common::Time timestamp, gtsam::NonlinearFactorGraph &factors)
 
bool AddNode (const localization_common::Time timestamp, gtsam::NonlinearFactorGraph &factors) final
 
bool SlideWindow (const localization_common::Time oldest_allowed_timestamp, const boost::optional< const gtsam::Marginals & > &marginals, const gtsam::KeyVector &old_keys, const double huber_k, gtsam::NonlinearFactorGraph &factors) override
 
boost::optional< localization_common::TimeSlideWindowNewStartTime () const final
 
gtsam::KeyVector OldKeys (const localization_common::Time oldest_allowed_time, const gtsam::NonlinearFactorGraph &graph) const final
 
boost::optional< localization_common::TimeStartTime () const final
 
boost::optional< localization_common::TimeEndTime () const final
 
bool CanAddNode (const localization_common::Time timestamp) const final
 
gtsam::KeyVector Keys (const localization_common::Time timestamp) const final
 
const TimestampedNodesType & nodes () const
 
std::shared_ptr< const TimestampedNodesType > nodes_ptr ()
 
NodeAdderModelType & node_adder_model ()
 
- Public Member Functions inherited from node_adders::SlidingWindowNodeAdder
virtual ~SlidingWindowNodeAdder ()
 
- Public Member Functions inherited from node_adders::NodeAdder
virtual ~NodeAdder ()
 

Friends

class boost::serialization::access
 

Constructor & Destructor Documentation

◆ TimestampedNodeAdder() [1/3]

template<typename NodeType , typename TimestampedNodesType , typename NodeAdderModelType >
node_adders::TimestampedNodeAdder< NodeType, TimestampedNodesType, NodeAdderModelType >::TimestampedNodeAdder ( const TimestampedNodeAdderParams< NodeType > &  params,
const typename NodeAdderModelType::Params &  node_adder_model_params,
std::shared_ptr< nodes::Values values 
)

◆ TimestampedNodeAdder() [2/3]

template<typename NodeType , typename TimestampedNodesType , typename NodeAdderModelType >
node_adders::TimestampedNodeAdder< NodeType, TimestampedNodesType, NodeAdderModelType >::TimestampedNodeAdder ( const TimestampedNodeAdderParams< NodeType > &  params,
const typename NodeAdderModelType::Params &  node_adder_model_params,
std::shared_ptr< TimestampedNodesType >  timestamped_nodes 
)

◆ TimestampedNodeAdder() [3/3]

template<typename NodeType , typename TimestampedNodesType , typename NodeAdderModelType >
node_adders::TimestampedNodeAdder< NodeType, TimestampedNodesType, NodeAdderModelType >::TimestampedNodeAdder ( )
default

◆ ~TimestampedNodeAdder()

template<typename NodeType , typename TimestampedNodesType , typename NodeAdderModelType >
virtual node_adders::TimestampedNodeAdder< NodeType, TimestampedNodesType, NodeAdderModelType >::~TimestampedNodeAdder ( )
virtualdefault

Member Function Documentation

◆ AddInitialNodesAndPriors() [1/2]

template<typename NodeType , typename TimestampedNodesType , typename NodeAdderModelType >
void node_adders::TimestampedNodeAdder< NodeType, TimestampedNodesType, NodeAdderModelType >::AddInitialNodesAndPriors ( const NodeType &  initial_node,
const std::vector< gtsam::SharedNoiseModel > &  initial_noise,
const localization_common::Time  timestamp,
gtsam::NonlinearFactorGraph &  factors 
)

◆ AddInitialNodesAndPriors() [2/2]

template<typename NodeType , typename TimestampedNodesType , typename NodeAdderModelType >
void node_adders::TimestampedNodeAdder< NodeType, TimestampedNodesType, NodeAdderModelType >::AddInitialNodesAndPriors ( gtsam::NonlinearFactorGraph &  factors)
finalvirtual

◆ AddNode()

template<typename NodeType , typename TimestampedNodesType , typename NodeAdderModelType >
bool node_adders::TimestampedNodeAdder< NodeType, TimestampedNodesType, NodeAdderModelType >::AddNode ( const localization_common::Time  timestamp,
gtsam::NonlinearFactorGraph &  factors 
)
finalvirtual

◆ CanAddNode()

template<typename NodeType , typename TimestampedNodesType , typename NodeAdderModelType >
bool node_adders::TimestampedNodeAdder< NodeType, TimestampedNodesType, NodeAdderModelType >::CanAddNode ( const localization_common::Time  timestamp) const
finalvirtual

◆ EndTime()

template<typename NodeType , typename TimestampedNodesType , typename NodeAdderModelType >
boost::optional< localization_common::Time > node_adders::TimestampedNodeAdder< NodeType, TimestampedNodesType, NodeAdderModelType >::EndTime
finalvirtual

◆ Keys()

template<typename NodeType , typename TimestampedNodesType , typename NodeAdderModelType >
gtsam::KeyVector node_adders::TimestampedNodeAdder< NodeType, TimestampedNodesType, NodeAdderModelType >::Keys ( const localization_common::Time  timestamp) const
finalvirtual

◆ node_adder_model()

template<typename NodeType , typename TimestampedNodesType , typename NodeAdderModelType >
NodeAdderModelType& node_adders::TimestampedNodeAdder< NodeType, TimestampedNodesType, NodeAdderModelType >::node_adder_model ( )
inline

◆ nodes()

template<typename NodeType , typename TimestampedNodesType , typename NodeAdderModelType >
const TimestampedNodesType& node_adders::TimestampedNodeAdder< NodeType, TimestampedNodesType, NodeAdderModelType >::nodes ( ) const
inline

◆ nodes_ptr()

template<typename NodeType , typename TimestampedNodesType , typename NodeAdderModelType >
std::shared_ptr<const TimestampedNodesType> node_adders::TimestampedNodeAdder< NodeType, TimestampedNodesType, NodeAdderModelType >::nodes_ptr ( )
inline

◆ OldKeys()

template<typename NodeType , typename TimestampedNodesType , typename NodeAdderModelType >
gtsam::KeyVector node_adders::TimestampedNodeAdder< NodeType, TimestampedNodesType, NodeAdderModelType >::OldKeys ( const localization_common::Time  oldest_allowed_time,
const gtsam::NonlinearFactorGraph &  graph 
) const
finalvirtual

◆ SlideWindow()

template<typename NodeType , typename TimestampedNodesType , typename NodeAdderModelType >
bool node_adders::TimestampedNodeAdder< NodeType, TimestampedNodesType, NodeAdderModelType >::SlideWindow ( const localization_common::Time  oldest_allowed_timestamp,
const boost::optional< const gtsam::Marginals & > &  marginals,
const gtsam::KeyVector &  old_keys,
const double  huber_k,
gtsam::NonlinearFactorGraph &  factors 
)
overridevirtual

◆ SlideWindowNewStartTime()

template<typename NodeType , typename TimestampedNodesType , typename NodeAdderModelType >
boost::optional< localization_common::Time > node_adders::TimestampedNodeAdder< NodeType, TimestampedNodesType, NodeAdderModelType >::SlideWindowNewStartTime
finalvirtual

◆ StartTime()

template<typename NodeType , typename TimestampedNodesType , typename NodeAdderModelType >
boost::optional< localization_common::Time > node_adders::TimestampedNodeAdder< NodeType, TimestampedNodesType, NodeAdderModelType >::StartTime
finalvirtual

Friends And Related Function Documentation

◆ boost::serialization::access

template<typename NodeType , typename TimestampedNodesType , typename NodeAdderModelType >
friend class boost::serialization::access
friend

The documentation for this class was generated from the following file: