Skip to content
Snippets Groups Projects
Commit 5713e472 authored by Corvin-N's avatar Corvin-N
Browse files

Define HumanTracker::getAssociatedHumans()

parent 1c11979e
No related branches found
No related tags found
2 merge requests!38human tracker skeleton,!28Draft: Dev -> Main
......@@ -30,8 +30,8 @@ namespace armarx::navigation::components::dynamic_scene_provider
const human::Human newHuman = {
.global_T_human = pose,
.linearVelocity = Eigen::Vector2f::Zero() //TODO more sophisticated guess
};
.linearVelocity = Eigen::Vector2f::Zero(), //TODO more sophisticated guess
.detectionTime = measurements.detectionTime};
trackedHumans.push_back(newHuman);
}
......@@ -44,11 +44,16 @@ namespace armarx::navigation::components::dynamic_scene_provider
}
std::map<armem::human::HumanPose&, human::Human&>
HumanTracker::getAssociatedHumans(const Measurements& measurements) const
{
}
void
HumanTracker::reset()
{
trackedHumans.clear();
}
} // namespace armarx::navigation::components::dynamic_scene_provider
......@@ -30,5 +30,8 @@ namespace armarx::navigation::components::dynamic_scene_provider
private:
std::vector<human::Human> trackedHumans;
std::map<armem::human::HumanPose&, human::Human&>
getAssociatedHumans(const Measurements& measurements) const;
};
} // namespace armarx::navigation::components::dynamic_scene_provider
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