Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Navigation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software
ArmarX
Skills
Navigation
Merge requests
!55
Draft: Implement human grouping
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Draft: Implement human grouping
implement-human-groups
into
dev
Overview
0
Commits
63
Pipelines
1
Changes
2
Open
Timo Weberruß
requested to merge
implement-human-groups
into
dev
2 years ago
Overview
0
Commits
63
Pipelines
1
Changes
2
Expand
Closes
#34
Edited
2 years ago
by
Timo Weberruß
0
0
Merge request reports
Viewing commit
3576ed73
Prev
Next
Show latest version
2 files
+
4
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
3576ed73
Use ConvexHullGenerator in HumanGrouper
· 3576ed73
Timo Weberruß
authored
2 years ago
source/armarx/navigation/human/ConvexHullGenerator.h
0 → 100644
+
44
−
0
Options
/**
* This file is part of ArmarX.
*
* ArmarX is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* ArmarX is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @author Timo Weberruß ( timo dot weberruss at student dot kit dot edu )
* @date 2022
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
* GNU General Public License
*/
#pragma once
#include
"GroupShapeGenerator.h"
#include
<armarx/navigation/human/types.h>
#pragma once
namespace
armarx
::
navigation
::
human
{
/**
* @brief A GroupShapeGenerator that defines the group shape of a set of humans as the
* convex hull of their positions in 2D space.
*/
class
ConvexHullGenerator
:
public
GroupShapeGenerator
{
public:
ConvexHullGenerator
()
=
default
;
virtual
~
ConvexHullGenerator
()
=
default
;
shapes
::
Polygon
createShape
(
const
HumanGroup
&
group
)
const
override
;
};
}
// namespace armarx::navigation::human
Loading