openpilot v0.2 release

This commit is contained in:
Vehicle Researcher
2016-12-12 17:47:46 -08:00
parent a7e099c946
commit 449b482cc3
47 changed files with 1847 additions and 1355 deletions
+1 -1
View File
@@ -3,6 +3,6 @@ import requests
def api_get(endpoint, method='GET', timeout=None, **params):
backend = "https://api.commadotai.com/"
params['_version'] = "OPENPILOTv0.0"
params['_version'] = "OPENPILOTv0.2"
return requests.request(method, backend+endpoint, timeout=timeout, params=params)
+5
View File
@@ -5,6 +5,8 @@ import sys
if os.getenv("NOLOG"):
def capture_exception(*exc_info):
pass
def bind_user(**kwargs):
pass
def install():
pass
else:
@@ -16,6 +18,9 @@ else:
capture_exception = client.captureException
def bind_user(**kwargs):
client.user_context(kwargs)
def install():
# installs a sys.excepthook
__excepthook__ = sys.excepthook
+1 -1
View File
@@ -57,7 +57,7 @@ def set_realtime_priority(level):
raise NotImplementedError
tid = libc.syscall(NR_gettid)
subprocess.check_call(['chrt', '-f', '-p', str(level), str(tid)])
return subprocess.call(['chrt', '-f', '-p', str(level), str(tid)])
class Ratekeeper(object):
+8 -3
View File
@@ -39,14 +39,21 @@ service_list = {
# subscribes: health
# publishes: thermal
# **** processes that communicate with the outside world ****
# boardd -- communicates with the car
# subscribes: sendcan
# publishes: can, health
# sensord -- publishes the IMU and GPS
# publishes: sensorEvents, gpsNMEA
# visiond -- talks to the cameras, runs the model, saves the videos
# subscribes: liveCalibration, sensorEvents
# publishes: frame, encodeIdx, model, features
# **** stateful data transformers ****
# controlsd -- actually drives the car
# subscribes: can, thermal, model, live20
# publishes: sendcan, live100
@@ -55,9 +62,6 @@ service_list = {
# subscribes: can, live100, model
# publishes: live20, liveTracks
# sensord -- publishes the IMU and GPS
# publishes: sensorEvents, gpsNMEA
# calibrationd -- places the camera box
# subscribes: features, live100
# publishes: liveCalibration
@@ -80,3 +84,4 @@ service_list = {
# logcatd -- fetches logcat info from android
# publishes: androidLog