Skip to content
Snippets Groups Projects
Commit a58dff6e authored by Médéric Fourmy's avatar Médéric Fourmy
Browse files

Added a function to manually set is_prior_set_ to true to retro engineer setPrior()

parent 99ea3184
No related branches found
No related tags found
1 merge request!339Adapting to multiple processor motion 285
Pipeline #4975 passed
...@@ -270,6 +270,7 @@ class Problem : public std::enable_shared_from_this<Problem> ...@@ -270,6 +270,7 @@ class Problem : public std::enable_shared_from_this<Problem>
// Zero state provider // Zero state provider
Eigen::VectorXd zeroState ( ) const; Eigen::VectorXd zeroState ( ) const;
bool priorIsSet() const; bool priorIsSet() const;
void setPriorIsSet(bool _prior_is_set);
// Map branch ----------------------------------------- // Map branch -----------------------------------------
MapBasePtr getMap() const; MapBasePtr getMap() const;
...@@ -361,6 +362,11 @@ inline bool Problem::priorIsSet() const ...@@ -361,6 +362,11 @@ inline bool Problem::priorIsSet() const
return prior_is_set_; return prior_is_set_;
} }
inline void Problem::setPriorIsSet(bool _prior_is_set)
{
prior_is_set_ = _prior_is_set;
}
inline IsMotionPtr Problem::getProcessorIsMotion() inline IsMotionPtr Problem::getProcessorIsMotion()
{ {
if (!processor_is_motion_list_.empty()) if (!processor_is_motion_list_.empty())
......
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