mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 16:23:46 +08:00
manager runs on Mac, and other openpilot for PC fixes (#1037)
* use the openpilot/persist directory on PC
* manager runs on mac
* sim runs w/o carla
* fix params location in test
* that rmtree can fail and it's okay
* refactor params clear functionality
* set PARAMS_PATH
old-commit-hash: c42e2ecc50
This commit is contained in:
@@ -92,6 +92,8 @@ def parse_service_call_bytes(ret):
|
||||
|
||||
def get_network_type(NetworkType):
|
||||
wifi_check = parse_service_call_string(service_call(["connectivity", "2"]))
|
||||
if wifi_check is None:
|
||||
return NetworkType.none
|
||||
if 'WIFI' in wifi_check:
|
||||
return NetworkType.wifi
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user