PJLab-ADG / OASim

OASim: an Open and Adaptive Simulator based on Neural Rendering for Autonomous Driving
https://pjlab-adg.github.io/OASim/
Apache License 2.0
189 stars 18 forks source link

Issue with data generation #7

Open amoghskanda opened 2 months ago

amoghskanda commented 2 months ago

Hey, thanks for making this open source. Despite choosing the start and arrival lane, no images/videos are being generated for that respective lane. Some lanes are giving key errors while there's a constant error in the terminal that reads :

drawVex = [QPointF(ctf.zoomScale(ctf.drawCenter+rev[0]+ctf.offset[0]),ctf.zoomScale(ctf.drawCenter-rev[1]+ctf.offset[1])) for rev in relativeVex] SystemError: <class 'DeprecationWarning'> returned a result with an error set

This is happening in OASim/limsim/simModel/common/carFactory.py

amoghskanda commented 2 months ago

Update : Had to specify the frames in/hmi/dataGenerator/data_generator.py line 113. I loaded the egoTrackingTest.db and it had 5 frames of data.

Error: Answered with error to command 0xc4: Vehicle '0' is not known

This error keeps getting displayed on the terminal. I'm guessing it's an issue with typecasting string vehicle id into integer somewhere. @jiahao68 can you look into it once?