nearby roadway surfacesafersim.nads-sc.uiowa.edu/final_reports/uw-1-y1_summary.pdf · scripts to...
TRANSCRIPT
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
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.