mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 00:03:45 +08:00
athenad: add getNetworkType (#19517)
old-commit-hash: 7a121862a8b68173e48a1b9b4838c960564e7cad
This commit is contained in:
@@ -221,6 +221,11 @@ def getSimInfo():
|
||||
return HARDWARE.get_sim_info()
|
||||
|
||||
|
||||
@dispatcher.add_method
|
||||
def getNetworkType():
|
||||
return HARDWARE.get_network_type()
|
||||
|
||||
|
||||
@dispatcher.add_method
|
||||
def takeSnapshot():
|
||||
from selfdrive.camerad.snapshot.snapshot import snapshot, jpeg_write
|
||||
|
||||
Reference in New Issue
Block a user