(self)
| 366 | # parent=radarNode) |
| 367 | |
| 368 | def getNextFrameVehs(self): |
| 369 | conn = sqlite3.connect(self.dataBase) |
| 370 | cur = conn.cursor() |
| 371 | cur.execute( |
| 372 | """SELECT DISTINCT vid FROM frameINFO |
| 373 | WHERE frame = {};""".format( |
| 374 | self.timeStep |
| 375 | ) |
| 376 | ) |
| 377 | nextFrameVehs = cur.fetchall() |
| 378 | nextFrameVehs = [query[0] for query in nextFrameVehs] |
| 379 | cur.close() |
| 380 | conn.close() |
| 381 | return nextFrameVehs |
| 382 | |
| 383 | def update_evluation_data(self): |
| 384 | current_lane = self.rb.getLane(self.ego.laneID) |