TriHuynh00 / AC3R-Demo

Automatic Crash Constructor from Crash Report (A3CR) Demo of constructing simulations from crash reports
11 stars 6 forks source link

Xu: #2

Closed xuliang0909 closed 3 years ago

xuliang0909 commented 5 years ago
  1. First, I unpacked BeaNG.research in the \Users\Documents\ directory and renamed it to BeamNG.drive. Finally, I configured the system environment according to the steps of README.md. 3 1

  2. Then, during the process of running StartAC3R.bat, I encountered an error. After my debugging, it was not successful. The error log is the log.txt file I submitted. error 2

    log.txt

I would like to ask you, after downloading the compressed file from the official website, how do you build AC3R on BeaNG.research, can you tell me the specific steps if it is convenient? I followed the steps of README.md on github, but unfortunately I failed.

TriHuynh00 commented 5 years ago

The scenario could not be loaded because we need the base map file. I cannot upload the base map in Github because according to one BeamNG staff, this could violate copyright. However, I will try to post the map as a mod, or write a tutorial on how to do it, so anyone can download/create the base map it in the future when they have BeamNG.

The base map name is smallgrid, you need to unzip the smallgrid.zip file in C:\Users\[your_username]\Documents\BeamNG.drive\levels\

After placing the base map in a specified location, the next step is to copy 3D objects from BeamNG west_coast_usa map to the base map. To do this, you need to copy the buildings, road, shapes, and terrain folders in[BeamNG_unlimited_research]\levels\west_coast_usa\art\ to the base map in C:\Users\[your_username]\Documents\BeamNG.drive\levels\smallgrid\art\ folder

I will update the instruction on how to get the smallgrid base map and copy-paste 3D objects from west_coast_usa map in BeamNG research on the README file in the near future.

xuliang0909 commented 5 years ago

Hello, before that, I'd like to ask if the BeamNG. drive in'C: Users your_username Documents BeamNG. drive levels smallgrid art Folder'you mentioned is the one marked in the picture below. image

TriHuynh00 commented 5 years ago

Right, it is great that you point out the tech demo! However, the new version of BeamNG research also contains this GridMap level.

Perhaps you could try the following steps:

  1. Copy the GridMap levels of the tech demo to C:\Users[your_username]\Documents\BeamNG.drive\levels.
  2. Open BeamNG GridMap Level, after the map is loaded, press F11, the object panel appears on the right side of BeamNG. Delete the road, trees and other objects in the map, except the ground plane and other folders.
  3. Set the x, y, z coordinate of the ground plane to -300, -300, 0 respectively.
  4. Set the properties of the ground plane to squareSize = 5, maxHeight = 1, baseTexSize and lightMapSize = 1024.
  5. Change the grid terrain to grass or other terrain using BeamNG terrain tool.
  6. Save the map as smallgrid

Then you load the map again, if a car can run on the ground, then congratulation. Otherwise, please tell me the problem.

xuliang0909 commented 5 years ago

I opened BeamNG, but after I pressed F11, there was no object panel on the interface. image

TriHuynh00 commented 5 years ago

Oh, I am sorry, you need to open the GridMap first, then after the map is loaded, you press F11.

xuliang0909 commented 5 years ago

Thank you very much. I see what you mean.