Skip to content
Snippets Groups Projects
Commit ccdb4eb7 authored by Firat Yusuf Duran's avatar Firat Yusuf Duran :moyai:
Browse files

increase maxhistory

parent 1169f0c0
No related branches found
No related tags found
2 merge requests!458Fluxio/dev get types,!449Fluxio preliminary release
Pipeline #21133 failed
...@@ -29,7 +29,7 @@ namespace armarx::skills::segment ...@@ -29,7 +29,7 @@ namespace armarx::skills::segment
ComposedSkillLibraryCoreSegment::defineProperties(PropertyDefinitionsPtr defs, ComposedSkillLibraryCoreSegment::defineProperties(PropertyDefinitionsPtr defs,
const std::string& prefix) const std::string& prefix)
{ {
this->setDefaultMaxHistorySize(3); this->setDefaultMaxHistorySize(maxHistorySize);
Base::defineProperties(defs, prefix); Base::defineProperties(defs, prefix);
} }
......
...@@ -33,5 +33,8 @@ namespace armarx::skills::segment ...@@ -33,5 +33,8 @@ namespace armarx::skills::segment
std::optional<std::vector<skills::manager::arondto::FluxioSkill>> getSkills() const; std::optional<std::vector<skills::manager::arondto::FluxioSkill>> getSkills() const;
std::optional<std::vector<skills::manager::arondto::FluxioSkill>> getSkillsOfProvider(const std::string& providerId) const; std::optional<std::vector<skills::manager::arondto::FluxioSkill>> getSkillsOfProvider(const std::string& providerId) const;
private:
static const int maxHistorySize = 7;
}; };
} // namespace armarx::skills::segment } // namespace armarx::skills::segment
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