mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-09-30 19:33:42 +08:00
agnos 8 (#28843)
* agnos 8 * update to python 3.11.4 (#27452) * rebase * optional * lower cython * TEMP don't pull cl to use python3.11 * Revert "lower cython" This reverts commit c5132f8a2727c212bdfc01e77aa53e50a17ead9d. * fix cython * remove tensorrt * carla + opencv * macos * update timm and smp * pynvc * https * downgrade numpy * pin scipy --------- Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com> Co-authored-by: Yassine <yassine.y10@gmail.com> * revert that * fix linter --------- Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com> Co-authored-by: Yassine <yassine.y10@gmail.com>
This commit is contained in:
@@ -41,7 +41,8 @@ if __name__ == "__main__":
|
||||
polld = poller.poll(100)
|
||||
for sock in polld:
|
||||
msg = sock.receive()
|
||||
evt = log.Event.from_bytes(msg)
|
||||
with log.Event.from_bytes(msg) as log_evt:
|
||||
evt = log_evt
|
||||
|
||||
if not args.no_print:
|
||||
if args.pipe:
|
||||
|
||||
@@ -34,7 +34,8 @@ if __name__ == "__main__":
|
||||
polld = poller.poll(1000)
|
||||
for sock in polld:
|
||||
msg = sock.receive()
|
||||
evt = log.Event.from_bytes(msg)
|
||||
with log.Event.from_bytes(msg) as log_evt:
|
||||
evt = log_evt
|
||||
|
||||
for item in evt.can:
|
||||
if item.address == 0xe4 and item.src == 128:
|
||||
|
||||
@@ -25,7 +25,7 @@ if __name__ == "__main__":
|
||||
# Remove message generated by the process under test and merge in the new messages
|
||||
produces = {o.which() for o in outputs}
|
||||
inputs = [i for i in inputs if i.which() not in produces]
|
||||
outputs = sorted(inputs + outputs, key=lambda x: x.logMonoTime) # type: ignore
|
||||
outputs = sorted(inputs + outputs, key=lambda x: x.logMonoTime)
|
||||
|
||||
fn = f"{args.route}_{args.process}.bz2"
|
||||
save_log(fn, outputs)
|
||||
|
||||
Reference in New Issue
Block a user