updated PHI_DEG
Field of view
This commit is contained in:
@@ -29,12 +29,12 @@ const double C = 0.2;
|
||||
|
||||
// TODO: change this
|
||||
// $\phi$
|
||||
const double PHI_DEG = 120.0;
|
||||
// Field of view
|
||||
const double PHI_DEG = 200.0;
|
||||
|
||||
// TODO: change this
|
||||
const double DISTANCE = 2.0;
|
||||
|
||||
|
||||
// Helper functions
|
||||
|
||||
Vector2d get_desired_direction(Pedestrian &p);
|
||||
@@ -43,7 +43,6 @@ Vector2d get_actual_direction(Pedestrian& p);
|
||||
|
||||
double w(Vector2d e, Vector2d f);
|
||||
|
||||
|
||||
// Force functions
|
||||
|
||||
void compute_acceleration_term(Pedestrian *p);
|
||||
@@ -51,5 +50,3 @@ void compute_acceleration_term(Pedestrian* p);
|
||||
void compute_repulsive_effects_from_pedestrians(Pedestrian *P, Pedestrian *p, int N);
|
||||
|
||||
void compute_repulsive_effects_from_borders(Sidewalk &S, Pedestrian *p);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user