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

Create methods and documentation

parent f1edd920
No related branches found
No related tags found
2 merge requests!109Social layers,!55Draft: Implement human grouping
This commit is part of merge request !55. Comments created here will be created in the context of that merge request.
......@@ -6,4 +6,16 @@ namespace armarx::navigation::components::dynamic_scene_provider
{
}
void HumanGrouper::updateHumans(std::vector<human::Human> &newHumans)
{
}
std::vector<human::HumanGroup> HumanGrouper::getCurrentGroups()
{
}
}
......@@ -26,10 +26,36 @@
namespace armarx::navigation::components::dynamic_scene_provider
{
/**
* Can identify social interaction groups in a collection of humans. The currently detected
* humans can be set by calling updateHumans.
*
* @brief Identifies social interaction groups in a collection of detected humans.
*/
class HumanGrouper
{
public:
/**
* @brief Creates a new HumanGrouper
*/
HumanGrouper();
/**
* Sets the currently detected humans. Only these humans will be assumed to currently exist
* when getCurrentGroups() is called the next time.
*
* @brief Sets the currently detected humans.
* @param newHumans a vector containing the most recently detected humans
*/
void updateHumans(std::vector<human::Human>& newHumans);
/**
* Identifies and returns social groups in the humans given to this instance by the last
* call to updateHumans.
*
* @brief Recognizes groups in the current humans.
* @return a vector containing the recognized human groups
*/
std::vector<human::HumanGroup> getCurrentGroups();
};
} // 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