Go to the documentation of this file.
22 #ifndef OV_TYPE_TYPE_LANDMARK_H
23 #define OV_TYPE_TYPE_LANDMARK_H
80 void update(
const Eigen::VectorXd &dx)
override {
82 assert(dx.rows() ==
_size);
96 Eigen::Matrix<double, 3, 1>
get_xyz(
bool getfej)
const;
103 void set_from_xyz(Eigen::Matrix<double, 3, 1> p_FinG,
bool isfej);
107 #endif // OV_TYPE_TYPE_LANDMARK_H
size_t _featid
Feature ID of this landmark (corresponds to frontend id)
int _size
Dimension of error state.
virtual void set_value(const Eigen::MatrixXd &new_value)
Overwrite value of state's estimate.
int _anchor_cam_id
What camera ID our pose is anchored in!! By default the first measurement is the anchor.
Eigen::Vector3d uv_norm_zero
First normalized uv coordinate bearing of this measurement (used for single depth representation)
Type that implements a persistent SLAM feature.
void set_from_xyz(Eigen::Matrix< double, 3, 1 > p_FinG, bool isfej)
Will set the current value based on the representation.
Landmark(int dim)
Default constructor (feature is a Vec of size 3 or Vec of size 1)
Representation
What feature representation our state can use.
LandmarkRepresentation::Representation _feat_representation
What feature representation this feature currently has.
int _unique_camera_id
What unique camera stream this slam feature was observed from.
bool should_marg
Boolean if this landmark should be marginalized out.
void update(const Eigen::VectorXd &dx) override
Overrides the default vector update rule We want to selectively update the FEJ value if we are using ...
Dynamic type system types.
int update_fail_count
Number of times the update has failed for this feature (we should remove if it fails a couple times!...
double _anchor_clone_timestamp
Timestamp of anchor clone.
Eigen::MatrixXd _value
Current best estimate.
Derived Type class that implements vector variables.
Eigen::Vector3d uv_norm_zero_fej
First estimate normalized uv coordinate bearing of this measurement (used for single depth representa...
bool has_had_anchor_change
Boolean if this landmark has had at least one anchor change.
Eigen::Matrix< double, 3, 1 > get_xyz(bool getfej) const
Will return the position of the feature in the global frame of reference.
ov_core
Author(s): Patrick Geneva
, Kevin Eckenhoff , Guoquan Huang
autogenerated on Mon Dec 16 2024 03:06:46