MIRA
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
PersonFollowTask Class Referenceabstract

Task for driving to a certain distance to a person (person following). More...

#include <navigation/tasks/PersonFollowTask.h>

Inheritance diagram for PersonFollowTask:
Inheritance graph
[legend]

Public Member Functions

 PersonFollowTask ()
 Creates a task with zero min and max distance, orientation and zero tolerance. More...
 
 PersonFollowTask (float minDist, float maxDist, float orientTol, float orientation=0.0)
 Creates a task with given pose and a tolerance. More...
 
template<typename Reflector >
void reflect (Reflector &r)
 The reflect method. More...
 
Class const & getClass () const
 

Static Public Member Functions

static PseudoClass const & CLASS ()
 

Public Attributes

float minDistance
 The minimum distance to the person in [m]. More...
 
float maxDistance
 The maximum distance to the person in [m]. More...
 
float orientationToPerson
 The desired direction to the person in the robot frame [rad]. More...
 
float orientationTolerance
 The allowed tolerance for orientation in [rad]. More...
 

Protected Member Functions

virtual Class const & internalGetClass () const=0
 

Detailed Description

Task for driving to a certain distance to a person (person following).

Constructor & Destructor Documentation

◆ PersonFollowTask() [1/2]

PersonFollowTask ( )
inline

Creates a task with zero min and max distance, orientation and zero tolerance.

◆ PersonFollowTask() [2/2]

PersonFollowTask ( float  minDist,
float  maxDist,
float  orientTol,
float  orientation = 0.0 
)
inline

Creates a task with given pose and a tolerance.

Parameters
[in]minDistThe minimum distance to the person in [m].
[in]maxDistThe maximum distance to the person in [m].
[in]orientTolThe allowed tolerance for orientation in [rad].
[in]orientationThe desired orientation to the person [rad].

Member Function Documentation

◆ reflect()

void reflect ( Reflector &  r)
inline

The reflect method.

Member Data Documentation

◆ minDistance

float minDistance

The minimum distance to the person in [m].

◆ maxDistance

float maxDistance

The maximum distance to the person in [m].

◆ orientationToPerson

float orientationToPerson

The desired direction to the person in the robot frame [rad].

distance and orientation describe the desired person position relative to the robot frame in polar coordinates

◆ orientationTolerance

float orientationTolerance

The allowed tolerance for orientation in [rad].


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