Skip to content
Snippets Groups Projects
Commit 213b53ae authored by Timo Weberruß's avatar Timo Weberruß
Browse files

Store human groups using humanWriterPlugin

parent c41f3cd8
No related branches found
No related tags found
2 merge requests!109Social layers,!55Draft: Implement human grouping
......@@ -356,6 +356,7 @@ namespace armarx::navigation::components::dynamic_scene_provider
.humanPoses = humanPoseResult.humanPoses});
using Human = armarx::navigation::human::Human;
std::vector<Human> humans = humanTracker.getTrackedHumans();
humanWriterPlugin->get().store(humans, getName(), timestamp);
ARMARX_INFO << "Providing grouper with new humans";
......@@ -365,9 +366,7 @@ namespace armarx::navigation::components::dynamic_scene_provider
using HumanGroup = armarx::navigation::human::HumanGroup;
std::vector<HumanGroup> groups = humanGrouper.getCurrentGroups();
// TODO: store groups somewhere
humanWriterPlugin->get().store(humans, getName(), timestamp);
humanWriterPlugin->get().store(groups, getName(), timestamp);
}
......
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