diff --git a/source/armarx/navigation/CMakeLists.txt b/source/armarx/navigation/CMakeLists.txt index dfd3bf35aa932b14d0087041740aa2c1f2bff40b..ca819773b2c3e075d3303fc0bdc1cbc2ed0be9bf 100644 --- a/source/armarx/navigation/CMakeLists.txt +++ b/source/armarx/navigation/CMakeLists.txt @@ -15,6 +15,7 @@ add_subdirectory(location) add_subdirectory(memory) add_subdirectory(server) add_subdirectory(platform_controller) +add_subdirectory(human) # Components. add_subdirectory(components) diff --git a/source/armarx/navigation/human/CMakeLists.txt b/source/armarx/navigation/human/CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..d8258b100e9a9e4c2aa745c160d7db8b344ca50d --- /dev/null +++ b/source/armarx/navigation/human/CMakeLists.txt @@ -0,0 +1,13 @@ +armarx_add_aron_library(human_aron + ARON_FILES +) + +armarx_add_library(human + DEPENDENCIES_PUBLIC + armarx_navigation::core + DEPENDENCIES_PRIVATE + SOURCES + #types.cpp + HEADERS + types.h +) diff --git a/source/armarx/navigation/human/types.h b/source/armarx/navigation/human/types.h new file mode 100644 index 0000000000000000000000000000000000000000..8acd8c847be49512af82c7f3dfc0f5cc7b9e9c89 --- /dev/null +++ b/source/armarx/navigation/human/types.h @@ -0,0 +1,42 @@ +/** + * 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 Tobias Gröger ( tobias dot groeger 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 <SimoxUtility/shapes.h> + +#include <armarx/navigation/core/basic_types.h> + +namespace armarx::navigation::human +{ + struct Human + { + core::Pose2D global_T_human; + Eigen::Vector2f linearVelocity; + }; + + struct HumanGroup + { + std::vector<Eigen::Vector2f> vertices; + std::vector<Human> humans; + }; + +} // namespace armarx::navigation::human