RobotReceiver Class Reference

The robot is acting as the receiver. More...

#include <armarx/view_selection/target_provider/handover/RobotReceiver.h>

+ Inheritance diagram for RobotReceiver:

Classes

struct  Params
 

Public Member Functions

 HandoverTargetProvider (const std::string &humanTrackingId, const VirtualRobot::RobotPtr &robot)
 
 RobotReceiver (const std::string &humanTrackingId, const VirtualRobot::RobotPtr &robot)
 
std::vector< gaze_targets::GazeTargetupdateTargets (const armem::human::HumanPose &human) override
 
std::vector< gaze_targets::GazeTargetupdateTargetsAfterHandover (const armem::human::HumanPose &human) const
 
std::vector< gaze_targets::GazeTargetupdateTargetsPreHandover (const armem::human::HumanPose &human) const
 
- Public Member Functions inherited from HandoverTargetProvider
 HandoverTargetProvider (const std::string &humanTrackingId, const VirtualRobot::RobotPtr &robot)
 
virtual void setPhase (Phase phase)
 
virtual ~HandoverTargetProvider ()=default
 

Public Attributes

const Params params
 

Additional Inherited Members

- Protected Attributes inherited from HandoverTargetProvider
const std::string humanTrackingId_
 
Phase phase_ = Phase::PreHandover
 
const VirtualRobot::RobotPtr robot_
 

Detailed Description

The robot is acting as the receiver.

The receiver will look at the giver's hand during reach and transfer phase. Once it received the object, it will look at the giver's face.

Definition at line 36 of file RobotReceiver.h.

Constructor & Destructor Documentation

◆ RobotReceiver()

RobotReceiver ( const std::string &  humanTrackingId,
const VirtualRobot::RobotPtr robot 
)

Definition at line 37 of file RobotReceiver.cpp.

Member Function Documentation

◆ HandoverTargetProvider()

◆ updateTargets()

std::vector< gaze_targets::GazeTarget > updateTargets ( const armem::human::HumanPose human)
overridevirtual

Implements HandoverTargetProvider.

Definition at line 44 of file RobotReceiver.cpp.

+ Here is the call graph for this function:

◆ updateTargetsAfterHandover()

std::vector< gaze_targets::GazeTarget > updateTargetsAfterHandover ( const armem::human::HumanPose human) const

Definition at line 239 of file RobotReceiver.cpp.

+ Here is the call graph for this function:

◆ updateTargetsPreHandover()

std::vector< gaze_targets::GazeTarget > updateTargetsPreHandover ( const armem::human::HumanPose human) const

Definition at line 62 of file RobotReceiver.cpp.

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

Member Data Documentation

◆ params

const Params params

Definition at line 72 of file RobotReceiver.h.


The documentation for this class was generated from the following files: