util.cpp File Reference
#include "util.h"
#include <algorithm>
#include <cmath>
#include <limits>
#include <optional>
#include <set>
#include <string>
#include <vector>
#include <range/v3/range/conversion.hpp>
#include <range/v3/view/transform.hpp>
#include <SimoxUtility/algorithm/string.h>
#include <ArmarXCore/core/application/properties/PropertyDefinition.h>
#include <ArmarXCore/core/application/properties/PropertyDefinition.hpp>
#include <ArmarXCore/core/application/properties/PropertyDefinitionContainer.h>
#include <ArmarXCore/core/exceptions/local/ExpressionException.h>
#include <ArmarXCore/core/logging/Logging.h>
#include "RobotAPI/libraries/core/FramedPose.h"
#include "VisionX/libraries/armem_human/types.h"
#include "VisionX/libraries/human/pose/model/k4a_bt_body_32.h"
+ Include dependency graph for util.cpp:

Go to the source code of this file.

Namespaces

namespace  armarx
 This file offers overloads of toIce() and fromIce() functions for STL container types.
 
namespace  armarx::armem
 
namespace  armarx::armem::human
 

Functions

std::optional< Eigen::Vector3f > calculateDirectionOfHuman (const HumanPose &pose)
 
std::optional< Eigen::Isometry2f > calculatePose (const HumanPose &humanPose)
 
bool checkVisibility (const HumanPose &pose, std::vector< std::string > labels, const float threshold)
 
std::optional< Eigen::Vector3f > computeMeanPosition (const HumanPose &humanPose, KeyPointCoordinateSystem coordSystem)
 
std::optional< HumanPosegetNearestHuman (const std::vector< HumanPose > &humanPoses, const NearestHumanParameters &parameters)