RobotGiver Class Reference

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

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

+ Inheritance diagram for RobotGiver:

Classes

struct  Params
 

Public Member Functions

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

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 giver.

The giver will first look at the receiver's face during reach. At a certain distance to the receiver, it will then look at the receiver's hand. Once the object is exchanged, the giver will then look at the receivers face.

Definition at line 37 of file RobotGiver.h.

Member Function Documentation

◆ HandoverTargetProvider()

◆ updateTargets()

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

Implements HandoverTargetProvider.

Definition at line 37 of file RobotGiver.cpp.


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