Skip to content

Cannot call non-cost methods from predictedMeasure of MeasurementModel class #102

@isorrentino

Description

@isorrentino

Hi all,
I implemented a class that inherits from the MeasurementModel class, so I have my own implementation of the method predictedMeasure

virtual std::pair<bool, Data> predictedMeasure(const Eigen::Ref<const Eigen::MatrixXd>& cur_states) const = 0;
but I cannot call non-cost methods inside being the method predictedMeasure const.
I don't find a solution to this problem and I'm opening this issue to ask if it is possible to make the method predictedMeasure non-const, or if anyone has a different solution. Thank you.

cc @xEnVrE

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions