SimulatedHuman Class Reference

#include <armarx/navigation/simulation/SimulatedHuman.h>

Public Types

using Params = SimulatedHumanParams
 

Public Member Functions

bool goalReached () const
 
human::Humanhuman ()
 
void reinitialize (const core::Pose2D &pose)
 resets the human to the given pose and replans the global optimal trajectory
 
 SimulatedHuman (const algorithms::Costmap &distanceField, const Params &params=Params())
 
core::GlobalTrajectorytrajectory ()
 
const core::GlobalTrajectorytrajectory () const
 
Human update ()
 

Protected Types

enum class  State { Idle , Walking , GoalReached }
 

Protected Member Functions

void initialize ()
 
void step ()
 

Detailed Description

Definition at line 40 of file SimulatedHuman.h.

Member Typedef Documentation

◆ Params

Definition at line 43 of file SimulatedHuman.h.

Member Enumeration Documentation

◆ State

enum class State
strongprotected
Enumerator
Idle 
Walking 
GoalReached 

Definition at line 81 of file SimulatedHuman.h.

Constructor & Destructor Documentation

◆ SimulatedHuman()

SimulatedHuman ( const algorithms::Costmap & distanceField,
const Params & params = Params() )

Definition at line 200 of file SimulatedHuman.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ goalReached()

bool goalReached ( ) const

Definition at line 83 of file SimulatedHuman.cpp.

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

◆ human()

human::Human & human ( )
inline

Definition at line 50 of file SimulatedHuman.h.

◆ initialize()

void initialize ( )
protected

Definition at line 107 of file SimulatedHuman.cpp.

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

◆ reinitialize()

void reinitialize ( const core::Pose2D & pose)

resets the human to the given pose and replans the global optimal trajectory

Parameters
pose

Definition at line 92 of file SimulatedHuman.cpp.

+ Here is the call graph for this function:

◆ step()

void step ( )
protected

Definition at line 171 of file SimulatedHuman.cpp.

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

◆ trajectory() [1/2]

core::GlobalTrajectory & trajectory ( )
inline

Definition at line 56 of file SimulatedHuman.h.

◆ trajectory() [2/2]

const core::GlobalTrajectory & trajectory ( ) const
inline

Definition at line 62 of file SimulatedHuman.h.

◆ update()

human::Human update ( )

Definition at line 48 of file SimulatedHuman.cpp.

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

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