PJLab-ADG / LimSim

LimSim & LimSim++: Integrated traffic and autonomous driving simulators with (M)LLM support
https://pjlab-adg.github.io/LimSim/
GNU General Public License v3.0
415 stars 35 forks source link

Replace the trajectory planning algorithm #8

Closed 12num closed 11 months ago

12num commented 1 year ago

How to combine the existing trajectory planning model with limsim, and can the frenet_optimal_planner.py algorithm be replaced?

zijinoier commented 1 year ago

To combine your trajectory planning method with LimSim, you can simply create a new planner class by inheriting from trafficManager/planner/abstract_planner.py. Then, initialize your custom planner class in place of EgoPlanner within the trafficManager/traffic_manager.py file.

We look forward to seeing your custom planner integrated with LimSim!