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< HumanPosegetNearestHuman (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 

Definition at line 278 of file types.h.

◆ Gender

enum class Gender
strong
Enumerator
UNKOWN 
DIVERSE 
FEMALE 
MALE 

Definition at line 104 of file types.h.

◆ Handedness

enum class Handedness
strong
Enumerator
UNKOWN_HANDEDNESS 
BOTH 
LEFT 
RIGHT 

Definition at line 130 of file types.h.

◆ InteractionType

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

Definition at line 308 of file types.h.

◆ KeyPointCoordinateSystem

Enumerator
Camera 
Global 
GlobalFloorProjection 
Robot 

Definition at line 15 of file util.h.

Function Documentation

◆ calculateDirectionOfHuman()

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

Definition at line 155 of file util.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ calculatePose()

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

Definition at line 273 of file util.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkVisibility()

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

Definition at line 236 of file util.cpp.

+ Here is the caller graph for this function:

◆ computeMeanPosition()

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

Definition at line 31 of file util.cpp.

+ Here is the caller graph for this function:

◆ fromAron() [1/22]

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

Definition at line 436 of file aron_conversions.cpp.

◆ fromAron() [2/22]

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

Definition at line 533 of file aron_conversions.cpp.

◆ fromAron() [3/22]

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

Definition at line 250 of file aron_conversions.cpp.

+ Here is the call graph for this function:

◆ fromAron() [4/22]

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

Definition at line 197 of file aron_conversions.cpp.

+ Here is the call graph for this function:

◆ fromAron() [5/22]

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

Definition at line 288 of file aron_conversions.cpp.

◆ fromAron() [6/22]

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

Definition at line 328 of file aron_conversions.cpp.

◆ fromAron() [7/22]

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

Definition at line 639 of file aron_conversions.cpp.

+ Here is the call graph for this function:

◆ fromAron() [8/22]

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

Definition at line 58 of file aron_conversions.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fromAron() [9/22]

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

Definition at line 131 of file aron_conversions.cpp.

+ Here is the call graph for this function:

◆ fromAron() [10/22]

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

Definition at line 749 of file aron_conversions.cpp.

+ Here is the call graph for this function:

◆ fromAron() [11/22]

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

Definition at line 667 of file aron_conversions.cpp.

◆ fromAron() [12/22]

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

Definition at line 460 of file aron_conversions.cpp.

+ Here is the call graph for this function:

◆ fromAron() [13/22]

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

Definition at line 276 of file aron_conversions.cpp.

◆ fromAron() [14/22]

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

Definition at line 519 of file aron_conversions.cpp.

◆ fromAron() [15/22]

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

Definition at line 232 of file aron_conversions.cpp.

+ Here is the call graph for this function:

◆ fromAron() [16/22]

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

Definition at line 416 of file aron_conversions.cpp.

+ Here is the call graph for this function:

◆ fromAron() [17/22]

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

Definition at line 107 of file aron_conversions.cpp.

+ Here is the call graph for this function:

◆ fromAron() [18/22]

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

Definition at line 182 of file aron_conversions.cpp.

◆ fromAron() [19/22]

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

Definition at line 368 of file aron_conversions.cpp.

◆ fromAron() [20/22]

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

Definition at line 382 of file aron_conversions.cpp.

◆ fromAron() [21/22]

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

Definition at line 80 of file aron_conversions.cpp.

+ Here is the call graph for this function:

◆ fromAron() [22/22]

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

Definition at line 155 of file aron_conversions.cpp.

+ Here is the call graph for this function:

◆ getNearestHuman()

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

Definition at line 83 of file util.cpp.

+ Here is the call graph for this function:

◆ operator!=()

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

Definition at line 92 of file Info.h.

+ Here is the call graph for this function:

◆ operator<()

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

Definition at line 97 of file Info.h.

+ Here is the call graph for this function:

◆ operator<<()

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

Definition at line 183 of file Info.cpp.

+ Here is the call graph for this function:

◆ operator<=()

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

Definition at line 109 of file Info.h.

+ Here is the call graph for this function:

◆ operator==()

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

Definition at line 86 of file Info.h.

+ Here is the call graph for this function:

◆ operator>()

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

Definition at line 104 of file Info.h.

+ Here is the call graph for this function:

◆ operator>=()

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

Definition at line 116 of file Info.h.

+ Here is the call graph for this function:

◆ toAron() [1/22]

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

Definition at line 448 of file aron_conversions.cpp.

◆ toAron() [2/22]

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

Definition at line 586 of file aron_conversions.cpp.

◆ toAron() [3/22]

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

Definition at line 263 of file aron_conversions.cpp.

◆ toAron() [4/22]

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

Definition at line 215 of file aron_conversions.cpp.

+ Here is the call graph for this function:

◆ toAron() [5/22]

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

Definition at line 308 of file aron_conversions.cpp.

◆ toAron() [6/22]

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

Definition at line 348 of file aron_conversions.cpp.

◆ toAron() [7/22]

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

Definition at line 653 of file aron_conversions.cpp.

+ Here is the call graph for this function:

◆ toAron() [8/22]

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

Definition at line 69 of file aron_conversions.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ toAron() [9/22]

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

Definition at line 144 of file aron_conversions.cpp.

+ Here is the call graph for this function:

◆ toAron() [10/22]

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

Definition at line 764 of file aron_conversions.cpp.

+ Here is the call graph for this function:

◆ toAron() [11/22]

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

Definition at line 708 of file aron_conversions.cpp.

◆ toAron() [12/22]

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

Definition at line 489 of file aron_conversions.cpp.

+ Here is the call graph for this function:

◆ toAron() [13/22]

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

Definition at line 282 of file aron_conversions.cpp.

◆ toAron() [14/22]

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

Definition at line 526 of file aron_conversions.cpp.

◆ toAron() [15/22]

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

Definition at line 241 of file aron_conversions.cpp.

+ Here is the call graph for this function:

◆ toAron() [16/22]

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

Definition at line 426 of file aron_conversions.cpp.

+ Here is the call graph for this function:

◆ toAron() [17/22]

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

Definition at line 119 of file aron_conversions.cpp.

+ Here is the call graph for this function:

◆ toAron() [18/22]

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

Definition at line 189 of file aron_conversions.cpp.

◆ toAron() [19/22]

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

Definition at line 375 of file aron_conversions.cpp.

◆ toAron() [20/22]

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

Definition at line 399 of file aron_conversions.cpp.

◆ toAron() [21/22]

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

Definition at line 94 of file aron_conversions.cpp.

+ Here is the call graph for this function:

◆ toAron() [22/22]

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

Definition at line 169 of file aron_conversions.cpp.

+ Here is the call graph for this function: