armarx::armem::human Namespace Reference

Namespaces

namespace  client
 

Classes

struct  Abilities
 
struct  FaceImage
 
struct  FaceRecognition
 
struct  HumanActivity
 
interface  HumanMemoryServerInterface
 
struct  HumanPose
 
struct  HumanPose2D
 
struct  HumanRobotInteraction
 
class  Info
 Accessor for human profile files. More...
 
struct  MemoryResolvedPersonInstance
 
struct  NearestHumanParameters
 
struct  Person
 
struct  PersonalRooms
 
struct  PersonID
 
struct  PersonInstance
 
struct  PhysicalData
 
struct  PoseKeypoint
 
struct  PoseKeypoint2D
 
struct  Preference
 
struct  Preferences
 
struct  Pronouns
 

Enumerations

enum class  ActivityType {
  UNKNOWN = 0 , WALKING = 1 , STANDING = 2 , SITTING = 3 ,
  REACHING = 4 , GRASPING = 5 , POINTING = 6 , WAVING = 7 ,
  TALKING = 8 , LISTENING = 9 , WORKING = 10 , EATING = 11 ,
  DRINKING = 12 , SERVICE_REFUSAL = 13 , CUSTOM = 99
}
 
enum class  Gender { UNKOWN = 0 , DIVERSE = 1 , FEMALE = 2 , MALE = 3 }
 
enum class  Handedness { UNKOWN_HANDEDNESS = 0 , BOTH = 1 , LEFT = 2 , RIGHT = 3 }
 
enum class  InteractionType {
  UNKNOWN = 0 , HANDOVER = 1 , ANSWERING_QUESTION = 2 , SERVING_DRINK = 3 ,
  SERVING_FOOD = 4 , GUIDING = 5 , ASSISTING = 6 , CONVERSATION = 7 ,
  GREETING = 8 , FAREWELL = 9 , CUSTOM = 99
}
 
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)
 
void fromAron (const armarx::human::arondto::Abilities &dto, Abilities &bo)
 
void fromAron (const armarx::human::arondto::ActivityType &dto, ActivityType &bo)
 
void fromAron (const armarx::human::arondto::FaceImage &dto, FaceImage &bo)
 
void fromAron (const armarx::human::arondto::FaceRecognition &dto, FaceRecognition &bo)
 
void fromAron (const armarx::human::arondto::Gender &dto, Gender &bo)
 
void fromAron (const armarx::human::arondto::Handedness &dto, Handedness &bo)
 
void fromAron (const armarx::human::arondto::HumanActivity &dto, HumanActivity &bo)
 
void fromAron (const armarx::human::arondto::HumanPose &dto, HumanPose &bo)
 
void fromAron (const armarx::human::arondto::HumanPose2D &dto, HumanPose2D &bo)
 
void fromAron (const armarx::human::arondto::HumanRobotInteraction &dto, HumanRobotInteraction &bo)
 
void fromAron (const armarx::human::arondto::InteractionType &dto, InteractionType &bo)
 
void fromAron (const armarx::human::arondto::Person &dto, Person &bo)
 
void fromAron (const armarx::human::arondto::PersonalRooms &dto, PersonalRooms &bo)
 
void fromAron (const armarx::human::arondto::PersonID &dto, PersonID &bo)
 
void fromAron (const armarx::human::arondto::PersonInstance &dto, PersonInstance &bo)
 
void fromAron (const armarx::human::arondto::PhysicalData &dto, PhysicalData &bo)
 
void fromAron (const armarx::human::arondto::PoseKeypoint &dto, PoseKeypoint &bo)
 
void fromAron (const armarx::human::arondto::PoseKeypoint2D &dto, PoseKeypoint2D &bo)
 
void fromAron (const armarx::human::arondto::Preference &dto, Preference &bo)
 
void fromAron (const armarx::human::arondto::Preferences &dto, Preferences &bo)
 
void fromAron (const std::map< std::string, armarx::human::arondto::PoseKeypoint > &dto, std::map< std::string, armarx::armem::human::PoseKeypoint > &bo)
 
void fromAron (const std::map< std::string, armarx::human::arondto::PoseKeypoint2D > &dto, std::map< std::string, armarx::armem::human::PoseKeypoint2D > &bo)
 
std::optional< HumanPose > getNearestHuman (const std::vector< HumanPose > &humanPoses, const NearestHumanParameters &parameters)
 
bool operator!= (const Info &lhs, const Info &rhs)
 
bool operator< (const Info &lhs, const Info &rhs)
 
std::ostream & operator<< (std::ostream &os, const Info &rhs)
 
bool operator<= (const Info &lhs, const Info &rhs)
 
bool operator== (const Info &lhs, const Info &rhs)
 
bool operator> (const Info &lhs, const Info &rhs)
 
bool operator>= (const Info &lhs, const Info &rhs)
 
void toAron (armarx::human::arondto::Abilities &dto, const Abilities &bo)
 
void toAron (armarx::human::arondto::ActivityType &dto, const ActivityType &bo)
 
void toAron (armarx::human::arondto::FaceImage &dto, const FaceImage &bo)
 
void toAron (armarx::human::arondto::FaceRecognition &dto, const FaceRecognition &bo)
 
void toAron (armarx::human::arondto::Gender &dto, const Gender &bo)
 
void toAron (armarx::human::arondto::Handedness &dto, const Handedness &bo)
 
void toAron (armarx::human::arondto::HumanActivity &dto, const HumanActivity &bo)
 
void toAron (armarx::human::arondto::HumanPose &dto, const HumanPose &bo)
 
void toAron (armarx::human::arondto::HumanPose2D &dto, const HumanPose2D &bo)
 
void toAron (armarx::human::arondto::HumanRobotInteraction &dto, const HumanRobotInteraction &bo)
 
void toAron (armarx::human::arondto::InteractionType &dto, const InteractionType &bo)
 
void toAron (armarx::human::arondto::Person &dto, const Person &bo)
 
void toAron (armarx::human::arondto::PersonalRooms &dto, const PersonalRooms &bo)
 
void toAron (armarx::human::arondto::PersonID &dto, const PersonID &bo)
 
void toAron (armarx::human::arondto::PersonInstance &dto, const PersonInstance &bo)
 
void toAron (armarx::human::arondto::PhysicalData &dto, const PhysicalData &bo)
 
void toAron (armarx::human::arondto::PoseKeypoint &dto, const PoseKeypoint &bo)
 
void toAron (armarx::human::arondto::PoseKeypoint2D &dto, const PoseKeypoint2D &bo)
 
void toAron (armarx::human::arondto::Preference &dto, const Preference &bo)
 
void toAron (armarx::human::arondto::Preferences &dto, const Preferences &bo)
 
void toAron (std::map< std::string, armarx::human::arondto::PoseKeypoint > &dto, const std::map< std::string, armarx::armem::human::PoseKeypoint > &bo)
 
void toAron (std::map< std::string, armarx::human::arondto::PoseKeypoint2D > &dto, const std::map< std::string, armarx::armem::human::PoseKeypoint2D > &bo)
 

Enumeration Type Documentation

◆ ActivityType

enum class ActivityType
strong
Enumerator
UNKNOWN 
WALKING 
STANDING 
SITTING 
REACHING 
GRASPING 
POINTING 
WAVING 
TALKING 
LISTENING 
WORKING 
EATING 
DRINKING 
SERVICE_REFUSAL 
CUSTOM 

◆ Gender

enum class Gender
strong
Enumerator
UNKOWN 
DIVERSE 
FEMALE 
MALE 

◆ Handedness

enum class Handedness
strong
Enumerator
UNKOWN_HANDEDNESS 
BOTH 
LEFT 
RIGHT 

◆ InteractionType

enum class InteractionType
strong
Enumerator
UNKNOWN 
HANDOVER 
ANSWERING_QUESTION 
SERVING_DRINK 
SERVING_FOOD 
GUIDING 
ASSISTING 
CONVERSATION 
GREETING 
FAREWELL 
CUSTOM 

◆ KeyPointCoordinateSystem

Enumerator
Camera 
Global 
GlobalFloorProjection 
Robot 

Function Documentation

◆ calculateDirectionOfHuman()

std::optional< Eigen::Vector3f > calculateDirectionOfHuman ( const HumanPose & pose)

◆ calculatePose()

std::optional< Eigen::Isometry2f > calculatePose ( const HumanPose & humanPose)

◆ checkVisibility()

bool checkVisibility ( const HumanPose & pose,
std::vector< std::string > labels,
const float threshold )

◆ computeMeanPosition()

std::optional< Eigen::Vector3f > computeMeanPosition ( const HumanPose & humanPose,
KeyPointCoordinateSystem coordSystem )

◆ fromAron() [1/22]

void fromAron ( const armarx::human::arondto::Abilities & dto,
Abilities & bo )

◆ fromAron() [2/22]

void fromAron ( const armarx::human::arondto::ActivityType & dto,
ActivityType & bo )

◆ fromAron() [3/22]

void fromAron ( const armarx::human::arondto::FaceImage & dto,
FaceImage & bo )

◆ fromAron() [4/22]

void fromAron ( const armarx::human::arondto::FaceRecognition & dto,
FaceRecognition & bo )

◆ fromAron() [5/22]

void fromAron ( const armarx::human::arondto::Gender & dto,
Gender & bo )

◆ fromAron() [6/22]

void fromAron ( const armarx::human::arondto::Handedness & dto,
Handedness & bo )

◆ fromAron() [7/22]

void fromAron ( const armarx::human::arondto::HumanActivity & dto,
HumanActivity & bo )

◆ fromAron() [8/22]

void fromAron ( const armarx::human::arondto::HumanPose & dto,
HumanPose & bo )

◆ fromAron() [9/22]

void fromAron ( const armarx::human::arondto::HumanPose2D & dto,
HumanPose2D & bo )

◆ fromAron() [10/22]

void fromAron ( const armarx::human::arondto::HumanRobotInteraction & dto,
HumanRobotInteraction & bo )

◆ fromAron() [11/22]

void fromAron ( const armarx::human::arondto::InteractionType & dto,
InteractionType & bo )

◆ fromAron() [12/22]

void fromAron ( const armarx::human::arondto::Person & dto,
Person & bo )

◆ fromAron() [13/22]

void fromAron ( const armarx::human::arondto::PersonalRooms & dto,
PersonalRooms & bo )

◆ fromAron() [14/22]

void fromAron ( const armarx::human::arondto::PersonID & dto,
PersonID & bo )

◆ fromAron() [15/22]

void fromAron ( const armarx::human::arondto::PersonInstance & dto,
PersonInstance & bo )

◆ fromAron() [16/22]

void fromAron ( const armarx::human::arondto::PhysicalData & dto,
PhysicalData & bo )

◆ fromAron() [17/22]

void fromAron ( const armarx::human::arondto::PoseKeypoint & dto,
PoseKeypoint & bo )

◆ fromAron() [18/22]

void fromAron ( const armarx::human::arondto::PoseKeypoint2D & dto,
PoseKeypoint2D & bo )

◆ fromAron() [19/22]

void fromAron ( const armarx::human::arondto::Preference & dto,
Preference & bo )

◆ fromAron() [20/22]

void fromAron ( const armarx::human::arondto::Preferences & dto,
Preferences & bo )

◆ fromAron() [21/22]

void fromAron ( const std::map< std::string, armarx::human::arondto::PoseKeypoint > & dto,
std::map< std::string, armarx::armem::human::PoseKeypoint > & bo )

◆ fromAron() [22/22]

void fromAron ( const std::map< std::string, armarx::human::arondto::PoseKeypoint2D > & dto,
std::map< std::string, armarx::armem::human::PoseKeypoint2D > & bo )

◆ getNearestHuman()

std::optional< HumanPose > getNearestHuman ( const std::vector< HumanPose > & humanPoses,
const NearestHumanParameters & parameters )

◆ operator!=()

bool operator!= ( const Info & lhs,
const Info & rhs )
inline

◆ operator<()

bool operator< ( const Info & lhs,
const Info & rhs )
inline

◆ operator<<()

std::ostream & operator<< ( std::ostream & os,
const Info & rhs )

◆ operator<=()

bool operator<= ( const Info & lhs,
const Info & rhs )
inline

◆ operator==()

bool operator== ( const Info & lhs,
const Info & rhs )
inline

◆ operator>()

bool operator> ( const Info & lhs,
const Info & rhs )
inline

◆ operator>=()

bool operator>= ( const Info & lhs,
const Info & rhs )
inline

◆ toAron() [1/22]

void toAron ( armarx::human::arondto::Abilities & dto,
const Abilities & bo )

◆ toAron() [2/22]

void toAron ( armarx::human::arondto::ActivityType & dto,
const ActivityType & bo )

◆ toAron() [3/22]

void toAron ( armarx::human::arondto::FaceImage & dto,
const FaceImage & bo )

◆ toAron() [4/22]

void toAron ( armarx::human::arondto::FaceRecognition & dto,
const FaceRecognition & bo )

◆ toAron() [5/22]

void toAron ( armarx::human::arondto::Gender & dto,
const Gender & bo )

◆ toAron() [6/22]

void toAron ( armarx::human::arondto::Handedness & dto,
const Handedness & bo )

◆ toAron() [7/22]

void toAron ( armarx::human::arondto::HumanActivity & dto,
const HumanActivity & bo )

◆ toAron() [8/22]

void toAron ( armarx::human::arondto::HumanPose & dto,
const HumanPose & bo )

◆ toAron() [9/22]

void toAron ( armarx::human::arondto::HumanPose2D & dto,
const HumanPose2D & bo )

◆ toAron() [10/22]

void toAron ( armarx::human::arondto::HumanRobotInteraction & dto,
const HumanRobotInteraction & bo )

◆ toAron() [11/22]

void toAron ( armarx::human::arondto::InteractionType & dto,
const InteractionType & bo )

◆ toAron() [12/22]

void toAron ( armarx::human::arondto::Person & dto,
const Person & bo )

◆ toAron() [13/22]

void toAron ( armarx::human::arondto::PersonalRooms & dto,
const PersonalRooms & bo )

◆ toAron() [14/22]

void toAron ( armarx::human::arondto::PersonID & dto,
const PersonID & bo )

◆ toAron() [15/22]

void toAron ( armarx::human::arondto::PersonInstance & dto,
const PersonInstance & bo )

◆ toAron() [16/22]

void toAron ( armarx::human::arondto::PhysicalData & dto,
const PhysicalData & bo )

◆ toAron() [17/22]

void toAron ( armarx::human::arondto::PoseKeypoint & dto,
const PoseKeypoint & bo )

◆ toAron() [18/22]

void toAron ( armarx::human::arondto::PoseKeypoint2D & dto,
const PoseKeypoint2D & bo )

◆ toAron() [19/22]

void toAron ( armarx::human::arondto::Preference & dto,
const Preference & bo )

◆ toAron() [20/22]

void toAron ( armarx::human::arondto::Preferences & dto,
const Preferences & bo )

◆ toAron() [21/22]

void toAron ( std::map< std::string, armarx::human::arondto::PoseKeypoint > & dto,
const std::map< std::string, armarx::armem::human::PoseKeypoint > & bo )

◆ toAron() [22/22]

void toAron ( std::map< std::string, armarx::human::arondto::PoseKeypoint2D > & dto,
const std::map< std::string, armarx::armem::human::PoseKeypoint2D > & bo )