|
| 1 | +# Planning-A HW1 Document |
| 2 | + |
| 3 | +This document serves as an overview for integrating pedestrian yielder into longitudinal planner. It describes how parameters from `pedetrian_detecion.yaml` are used in the planning system along with references to the `longitudinal_planning.py` script and the `pedestrian_yield_logic.py` script. |
| 4 | + |
| 5 | +Details on the algorithm and demos are availavle at the link below:<br> |
| 6 | +https://drive.google.com/drive/folders/1aSOWIrqXjf9-j6i1S_MJksATMyyoP31_?usp=sharing |
| 7 | + |
| 8 | + |
| 9 | +## Contribution |
| 10 | +Each member contributed to: |
| 11 | +### longitudinal_planning.py Contributions |
| 12 | + |
| 13 | +| Algorithm | Contributor | |
| 14 | +| :--------- | :-------------- | |
| 15 | +| milestone | Simon (sk106) | |
| 16 | +| dt | Rohit (srm17) | |
| 17 | +| dx | Hansen (hl58) | |
| 18 | + |
| 19 | +### pedestrian_yield_logic.py Contributions |
| 20 | + |
| 21 | +| Algorithm | Contributor | |
| 22 | +| :--------- | :------------------------------------------ | |
| 23 | +| expert | Patrick (bohaowu2), Animesh (animesh8) | |
| 24 | +| analytic | Henry (weigang2) | |
| 25 | +| simulation | Yudai (yyamada2) | |
| 26 | + |
| 27 | + |
| 28 | +## Configuration Details |
| 29 | +The `pedetrian_detecion.yaml` file includes: |
| 30 | +``` |
| 31 | +args: |
| 32 | + mode: 'real' |
| 33 | + params: { |
| 34 | + 'yielder': 'expert', # 'expert', 'analytic', or 'simulation' |
| 35 | + 'planner': 'milestone', # 'milestone', 'dt', or 'dx' |
| 36 | + 'desired_speed': 1.0, # m/s |
| 37 | + 'acceleration': 0.75 # m/s2 |
| 38 | + } |
| 39 | +``` |
| 40 | + |
| 41 | + |
| 42 | +## Usage |
| 43 | +### pedetrian_detecion.yaml |
| 44 | +Algorithm can be chosen from the above in this file. Also contains parameters for the logic. |
| 45 | +### Execution: Simulator |
| 46 | +`python3 main.py --variant=fake_sim launch/pedestrian_detection.yaml` |
| 47 | +### Testing |
| 48 | +- `testing/test_longitudinal_plan.py` |
| 49 | +- `testing/test_yield_logic_analytic.ipynb` |
| 50 | +- `testing/test_collision_detection.py` |
0 commit comments