Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
vadere
vadere
Commits
9d5d4ef3
Commit
9d5d4ef3
authored
Jun 05, 2019
by
Benedikt Kleinmeier
Browse files
Added TODO comment for gradient evaluation in "OSMBehaviorController".
parent
41985de4
Pipeline
#119753
passed with stages
in 131 minutes and 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
VadereSimulator/src/org/vadere/simulator/models/osm/OSMBehaviorController.java
View file @
9d5d4ef3
...
...
@@ -137,6 +137,7 @@ public class OSMBehaviorController {
boolean
closestPedIsCooperative
=
closestPedestrian
.
getSalientBehavior
()
==
SalientBehavior
.
COOPERATIVE
;
boolean
targetOrientationDiffers
=
false
;
// TODO: Use "pedestrian.getTargetGradient()" instead of "calculateAngleBetweenTargets()".
double
angleInRadian
=
calculateAngleBetweenTargets
(
pedestrian
,
closestPedestrian
,
topography
);
if
(
angleInRadian
==
-
1
||
Math
.
toDegrees
(
angleInRadian
)
>
pedestrian
.
getAttributes
().
getTargetOrientationAngleThreshold
())
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment