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

change entry from id to name

parent 3d61952e
No related branches found
No related tags found
2 merge requests!458Fluxio/dev get types,!449Fluxio preliminary release
...@@ -43,7 +43,7 @@ namespace armarx::skills::segment ...@@ -43,7 +43,7 @@ namespace armarx::skills::segment
ComposedSkillLibraryCoreSegment::addSkill(const skills::manager::arondto::FluxioSkill& skill) ComposedSkillLibraryCoreSegment::addSkill(const skills::manager::arondto::FluxioSkill& skill)
{ {
// add skills // add skills
armem::MemoryID provId = id().withProviderSegmentName(skill.skillProviderId.id); armem::MemoryID provId = id().withProviderSegmentName(skill.skillProviderId.hint);
armem::Commit commit; armem::Commit commit;
armem::EntityUpdate& entityUpdate = commit.add(); armem::EntityUpdate& entityUpdate = commit.add();
...@@ -52,7 +52,7 @@ namespace armarx::skills::segment ...@@ -52,7 +52,7 @@ namespace armarx::skills::segment
entityUpdate.sentTime = armem::Time::Now(); entityUpdate.sentTime = armem::Time::Now();
entityUpdate.arrivedTime = armem::Time::Now(); entityUpdate.arrivedTime = armem::Time::Now();
entityUpdate.instancesData = {skill.toAron()}; entityUpdate.instancesData = {skill.toAron()};
entityUpdate.entityID = provId.withEntityName(skill.id); entityUpdate.entityID = provId.withEntityName(skill.name);
// Commit data to memory and notify // Commit data to memory and notify
iceMemory.commit(commit); iceMemory.commit(commit);
......
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