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 More...
 
 SimulatedHuman (const algorithms::Costmap &distanceField, const Params &params=Params())
 
core::GlobalTrajectorytrajectory ()
 
const core::GlobalTrajectorytrajectory () const
 
Human update ()
 

Protected Types

enum  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 State
strongprotected
Enumerator
Idle 
Walking 
GoalReached 

Definition at line 82 of file SimulatedHuman.h.

Constructor & Destructor Documentation

◆ SimulatedHuman()

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

Definition at line 188 of file SimulatedHuman.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ goalReached()

bool goalReached ( ) const

Definition at line 78 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 51 of file SimulatedHuman.h.

+ Here is the caller graph for this function:

◆ initialize()

void initialize ( )
protected

Definition at line 102 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 87 of file SimulatedHuman.cpp.

+ Here is the call graph for this function:

◆ step()

void step ( )
protected

Definition at line 159 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 57 of file SimulatedHuman.h.

+ Here is the caller graph for this function:

◆ trajectory() [2/2]

const core::GlobalTrajectory& trajectory ( ) const
inline

Definition at line 63 of file SimulatedHuman.h.

◆ update()

human::Human update ( )

Definition at line 43 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: