Skip to content

Commit

Permalink
Merge pull request #84 from ll7/39-Pedestrians-have-no-obstacle-force
Browse files Browse the repository at this point in the history
Add pedestrian obstacle forces to simulation environment
  • Loading branch information
ll7 authored Dec 4, 2024
2 parents e61aba9 + 4e8b05c commit 550e201
Show file tree
Hide file tree
Showing 11 changed files with 676 additions and 74 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ profiles
pysf_tests
pysocialforce
recordings/*.pkl
wandb
wandb
*.DS_Store
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,10 @@
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true
},
"python.testing.pytestArgs": [
"tests",
"test_pygame"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
}
91 changes: 91 additions & 0 deletions benchmark_results.json
Original file line number Diff line number Diff line change
Expand Up @@ -362,5 +362,96 @@
]
}
}
},
{
"timestamp": "2024-11-27 08:40:03",
"metrics": {
"steps_per_second": 44.635854235586415,
"avg_step_time_ms": 22.403514330027974,
"total_episodes": 18,
"system_info": {
"platform": "macOS-15.1.1-arm64-arm-64bit",
"processor": "arm",
"python_version": "3.12.7",
"cpu_count": 14,
"memory_gb": 24.0,
"cpu_freq": {
"current": 4,
"min": 1,
"max": 4
}
},
"config_hash": "-398352175589259845",
"observation_space_info": {
"drive_state_shape": [
3,
5
],
"rays_shape": [
3,
272
],
"drive_state_bounds": {
"low": [
[
0.0,
-1.0,
0.0,
-1.0,
-1.0
],
[
0.0,
-1.0,
0.0,
-1.0,
-1.0
],
[
0.0,
-1.0,
0.0,
-1.0,
-1.0
]
],
"high": [
[
1.0,
1.0,
1.0,
1.0,
1.0
],
[
1.0,
1.0,
1.0,
1.0,
1.0
],
[
1.0,
1.0,
1.0,
1.0,
1.0
]
]
}
},
"used_random_actions": true,
"env_info": {
"difficulty": 2,
"ped_density_by_difficulty": [
0.02,
0.04,
0.08
],
"map_name": [
"uni_campus_big"
]
}
}
}
]
270 changes: 270 additions & 0 deletions maps/svg_maps/example_map_with_obstacles.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 550e201

Please sign in to comment.