nearby roadway surfacesafersim.nads-sc.uiowa.edu/final_reports/uw-1-y1_summary.pdf · scripts to...

2
David A. Noyce, PhD 8/1/2016 Automated Road Segment Creation Process Streamlining the scenario-creation process Scripts to streamline the scenario-creation process were developed in Python. Scripts generate 3D road models used as a component of driving simulator scenarios. Input Data Models are created using the coordinates of lines that define the edge of the road. X, Y, and Z coordinates are read by the scripts from a CSV- style file. Edge lines can be obtained by exporting data from CAD models and without the need to manipulate the model in specialized 3D authoring software. Roadway Surface Nearby Terrain Models produced by the scripts can reduce the burden of creating models for parts of a complete simulator experiment scenario that are simply connecting “test areas” where critical portions of the experiments take place. A B C Warmup Non Experiment Between test areas Model portion between red dashed lines created automatically

Upload: others

Post on 23-Aug-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Nearby Roadway Surfacesafersim.nads-sc.uiowa.edu/final_reports/UW-1-Y1_Summary.pdf · Scripts to streamline the scenario-creation process were developed in Python. Scripts generate

DavidA.Noyce,PhD 8/1/2016

AutomatedRoadSegmentCreationProcessStreamliningthescenario-creationprocess

Scriptstostreamlinethescenario-creationprocessweredevelopedinPython.

Scriptsgenerate3Droadmodelsusedasacomponentofdrivingsimulatorscenarios.

InputData

Modelsarecreatedusingthecoordinatesoflinesthatdefine

theedgeoftheroad.

X,Y,andZcoordinatesarereadbythescriptsfromaCSV-

stylefile.

EdgelinescanbeobtainedbyexportingdatafromCAD

modelsandwithouttheneedtomanipulatethemodelinspecialized3Dauthoring

software.

RoadwaySurface

NearbyTerrain

Modelsproducedbythescriptscanreducetheburdenofcreatingmodelsforpartsofacompletesimulatorexperimentscenariothataresimplyconnecting“testareas”wherecriticalportionsoftheexperimentstakeplace.

A B

C

Warmup

Non Experiment

Between test areas

Modelportionbetweenreddashedlinescreatedautomatically

Page 2: Nearby Roadway Surfacesafersim.nads-sc.uiowa.edu/final_reports/UW-1-Y1_Summary.pdf · Scripts to streamline the scenario-creation process were developed in Python. Scripts generate

DavidA.Noyce,PhD

“Significantportionsofthe3DmodelingprocesscanbeautomatedviaPythonscripts,thusreducingtheamountoftimespentonscenariocreation

andcorrespondingtraining.”

DefinitionofInputData

Thefigurebelowshowsanexampleofaroadwayandhighlightssomeoftheedgesthatneedtobedefinedaspartoftheinputsrequiredforthescript.Astheedgeshighlightedsuggest,linesrequiredforthescriptinputarethoselinestypicallyincludedinatop-viewrepresentationofthemodel,includingthosethataremasked by lineswith a higher elevation.While the term line is used, for purposes of the CADmodelcreation,thelinesneedtobecreatedaspolylineobjectsandcoordinatesexportedasaCSVfile.

OutputofInputData

Whentheedgelinesandotherarguments,includingdesiredtexture,arepassedtothescripts,a3Dmodelsuchastheoneshownontherightisgenerated.Themodelcanbeautomaticallytexturedbyselectingcorrespondingroadway,sidewalk,androadsidetexturefiles.AutomaticallytexturingthemodelispossiblebecauseargumentspassedtothescriptareusedtogeneratethecorrespondingUVmaps.