I finish my own planner in vscode with c++.And I want to run this in some scenarios in commonroad.What should I do?Read the xml?Or put my planner on somewhere?I need a tuttorial.
By the way,my planner doesn’t use RL.It’s just traditional.
Looking forward your reply! Really Thanks.
Hi,
our getting started page on the website provides tutorials with different levels of detail for each of our COmmonRoad tools (CommonRoad). We also have a tutorial which shows how one can integrate a simple optimization-based planner for a CommonRoad scenario (CommonRoad). You can refer to this tutorial to get an idea how to integrate your own planner.
best,
Gerald
copy that. And I will check.Thank you!
hi! I just read some examples in the tutorial.But still don’t know how to use the data in XML document. My planner is written by vscode.And I wrote the map by myself.How can my planner run in the scenarios provided by XML doc?
Thank,gerald_w!
Hi,
please refer to the first tutorial (CommonRoad) which shows how to read a scenario from a given XML file. You can then retrieve the necessary attributes your planner requires (e.g., obstacles, lanes etc…) from the scenario object.
- Gerald
Hello @18801106133
Thats great you have finished your planner in VSCode with C++ To run it in CommonRoad & you typically need to integrate your planner with the CommonRoad framework.
Here is steps you can check You need to parse these XML files to extract the scenario data; You can integrate your planner to process this data and generate a planning solution & You can check the CommonRoad documentation for tutorials and examples on how to read XML files and integrate your planner.