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
344 stars 27 forks source link

Replace the trajectory planning algorithm #8

Closed 12num closed 6 months ago

12num commented 8 months ago

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

zijinoier commented 8 months 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!