Skip to content
Snippets Groups Projects
Commit b8724522 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

Merge branch 'devel' into 354-solverceres-stop-solving-if-can-update

parents 3eed8d08 8769670d
No related branches found
No related tags found
1 merge request!384Resolve "SolverCeres stop solving if can update"
......@@ -83,7 +83,7 @@ class Problem : public std::enable_shared_from_this<Problem>
// Properties -----------------------------------------
public:
SizeEigen getDim() const;
StateStructure getFrameStructure() const;
const StateStructure& getFrameStructure() const;
protected:
void appendToStructure(const StateStructure& _structure);
......
......@@ -29,12 +29,12 @@ class IsMotion
virtual VectorComposite getState(const StateStructure& _structure = "") const = 0;
virtual VectorComposite getState(const TimeStamp& _ts, const StateStructure& _structure = "") const = 0;
std::string getStateStructure(){return state_structure_;};
void setStateStructure(std::string _state_structure){state_structure_ = _state_structure;};
const StateStructure& getStateStructure ( ) { return state_structure_; };
void setStateStructure(std::string _state_structure) { state_structure_ = _state_structure; };
void addToProblem(ProblemPtr _prb_ptr, IsMotionPtr _motion_ptr);
protected:
std::string state_structure_; ///< The structure of the state vector (to retrieve state blocks from frames)
StateStructure state_structure_; ///< The structure of the state vector (to retrieve state blocks from frames)
};
......
......@@ -543,7 +543,8 @@ SizeEigen Problem::getDim() const
{
return dim_;
}
StateStructure Problem::getFrameStructure() const
const StateStructure& Problem::getFrameStructure() const
{
return frame_structure_;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment