util.h File Reference
#include <optional>
#include <string>
#include <vector>
#include <Eigen/Geometry>
#include <ArmarXCore/core/application/properties/forward_declarations.h>
#include "types.h"
+ Include dependency graph for util.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  NearestHumanParameters
 
struct  NearestHumanParameters::Properties
 

Namespaces

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

Enumerations

enum  KeyPointCoordinateSystem { Camera , Global , GlobalFloorProjection , Robot }
 

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)