-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add documentation for Planning in Paf22
- Loading branch information
1 parent
4a3dc32
commit afa18bf
Showing
2 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# Planning in PAF 22 | ||
|
||
[(Github)](https://github.com/ll7/paf22) | ||
|
||
## Architecture | ||
|
||
![overview](overview.jpg) | ||
|
||
### Preplanning | ||
|
||
Use map and route to find path. | ||
Without obstacles. | ||
|
||
### Decision Making | ||
|
||
Decides if preplanned path can be taken. | ||
Chooses fitting action and forwards information to local path planning. | ||
|
||
### Local path planning | ||
|
||
Translates action into a concrete path. | ||
|
||
## Planning documentation | ||
|
||
### Preplanning in code | ||
|
||
Create Trajectory out of MapData. | ||
File: preplanning_trajectory.py | ||
|
||
- No subscribers or publishers | ||
- provides OpenDriveConverter class | ||
- calculates the global trajectory | ||
|
||
### Global Plan in code | ||
|
||
Collects leaderboard data for preplanning. | ||
Publishes trajectory and speed limit to other componentens (Acting, Decision Making). | ||
|
||
File: global_planner.py | ||
|
||
- ros-node | ||
- Provides PrePlanner class | ||
- methods: world_info, global_route, position | ||
|
||
Subscribed Topics: | ||
If one of them gets updated the corresponding method is called | ||
|
||
- OpenDrive map | ||
- global plan | ||
- current agent position | ||
|
||
Published topics: | ||
|
||
- preplanned trajectory | ||
- prevailing speed limits | ||
|
||
### Decision Making in code | ||
|
||
Makes Decision based on information from other components. | ||
Should cover all possible traffic scenarios. | ||
|
||
File: behaviour_tree.py, intersection.py, lane_change.py, ... | ||
|
||
- Behaviours publish only target_speed | ||
|
||
## Conclusion | ||
|
||
- Difference between architecture and planning documentation | ||
- No real local path component | ||
|
||
### What can be done next | ||
|
||
- Create Architecture for Local Planning | ||
- Decide which code can be used for our project | ||
- refactoring code (some methods are over 100 lines) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.