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.


Recommended