9 #ifndef __OPEN_STEER_AGENT_H__
10 #define __OPEN_STEER_AGENT_H__
14 using namespace Menge;
20 class Agent :
public Agents::FDAgent {
35 void computeNewVelocity();
60 bool steerToAvoidObstacles(
const Vector2 & forward, Vector2 & avoidForce,
const float maxForce );
70 bool steerToAvoidNeighbors (
const Vector2 & forward, Vector2 & avoidForce );
82 Vector2 calcBoidAccel( Vector2 & force,
const Vector2 & forward );
86 #endif // __OPEN_STEER_AGENT_H__
Contains the specification of the pedestrian model based on OpenSteer.
Definition: OpenSteerAgent.cpp:6
float _tauObst
The time horizon for predicting obstacle collisions.
Definition: OpenSteerAgent.h:45
The agent definition for the OpenSteer model.
Definition: OpenSteerAgent.h:20
float _tau
The time horizon for predicting agent collisions.
Definition: OpenSteerAgent.h:40