MCPcopy Create free account
hub / github.com/PJLab-ADG/OASim / simDescriptionCommit

Method simDescriptionCommit

limsim/simModel/egoTracking/model.py:229–240  ·  view source on GitHub ↗
(self, simNote: str)

Source from the content-addressed store, hash-verified

227 conn.close()
228
229 def simDescriptionCommit(self, simNote: str):
230 currTime = datetime.now()
231 insertQuery = '''INSERT INTO simINFO VALUES (?, ?, ?, ?, ?, ?, ?, ?);'''
232 conn = sqlite3.connect(self.dataBase)
233 cur = conn.cursor()
234 cur.execute(
235 insertQuery,
236 (currTime, None, None, None, self.ego.id, '', 'ego track', simNote))
237
238 conn.commit()
239 cur.close()
240 conn.close()
241
242 def createTimer(self):
243 if not self.tpEnd or not self.dataQue.empty():

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected