Go to the documentation of this file.
3 #include <SimoxUtility/algorithm/string.h>
8 #include <RobotAPI/libraries/armem_skills/aron/Skill.aron.generated.h>
23 const std::string& prefix)
41 for (
const auto& [
s, d] :
skills)
43 armarx::skills::arondto::SkillDescription skillDescription;
47 auto& entityUpdate = commit.
add();
52 entityUpdate.instancesData = {skillDescription.toAron()};
53 entityUpdate.entityID = provId.withEntityName(d.skillId.skillName);
63 skills.erase(providerName);
This file is part of ArmarX.
A bundle of updates to be sent to the memory.
Helps connecting a Memory server to the Ice interface.
std::map< SkillID, SkillDescription > providedSkills
float confidence
An optional confidence, may be used for things like decay.
void removeSkillProvider(const std::string &providerName)
void toAron(arondto::MemoryID &dto, const MemoryID &bo)
MemoryID withProviderSegmentName(const std::string &name) const
virtual void init() override
MemoryToIceAdapter & iceMemory
void defineProperties(PropertyDefinitionsPtr defs, const std::string &prefix)
double s(double t, double s0, double v0, double a0, double j)
ExecutableSkillLibraryCoreSegment(armem::server::MemoryToIceAdapter &iceMemory)
data::CommitResult commit(const data::Commit &commitIce, Time timeArrived)
void addSkillProvider(const skills::ProviderInfo &info)