Skip to content

Instructions to Run

Ishaan Paranjape edited this page Dec 17, 2018 · 12 revisions

How to run this code -

  1. Check if you have the requirements on your computer
  2. After cloning the repository, right click on the .uproject file and select "Generate visual studio files". generate-files
  3. Open the visual studio solution. You can run the code on the unreal editor by clicking on the "Local Windows Debugger" option. green-play
  4. Once the editor is open select the "ParseXML" option. Also, the starting viewport should look like this - Parse-xml
  5. Browse to your SUMO XML file on your device (created using netgenerate). Click Open.
  6. You should see the mesh actors spawned in a well-lit background as shown in the READMe of this repository (You can compare the shape of the road network to the one run using NetEdit).

(Optional) If you want to see the debug print statements all you need to do is uncomment these lines of code in ParseXML.cpp -

GEngine->Exec(nullptr, TEXT("Log LogTemp off"));
GEngine->Exec(nullptr, TEXT("Log LogEngine off"));

Clone this wiki locally