Skip to content

Commit

Permalink
Squash commits from tesla alpha
Browse files Browse the repository at this point in the history
commit f74c847
Author: Comma Device <device@comma.ai>
Date:   Fri Aug 21 11:40:47 2020 -0400

    iBooster and ESP2 changes

commit 86467e4
Author: Comma Device <device@comma.ai>
Date:   Fri Aug 21 11:38:13 2020 -0400

    iBooster and ESP2 changes

commit b9c77c9
Author: Comma Device <device@comma.ai>
Date:   Fri Aug 21 11:26:54 2020 -0400

    iBooster and ESP2 changes

commit 7d5a25f
Author: Comma Device <device@comma.ai>
Date:   Fri Aug 21 11:22:44 2020 -0400

    will this work

commit 2756e41
Merge: dfb9739 233f9f6
Author: Comma Device <device@comma.ai>
Date:   Fri Aug 21 10:51:54 2020 -0400

    Merge branch 'tesla_alpha' of https://github.com/boggyver/openpilot into tesla_alpha

commit dfb9739
Author: Comma Device <device@comma.ai>
Date:   Fri Aug 21 10:51:38 2020 -0400

    change panda code to work with ibooster and ESP2 without harness

commit 233f9f6
Author: BogGyver <39277124+BogGyver@users.noreply.github.com>
Date:   Tue Aug 18 11:37:16 2020 -0400

    disale the need for Autosteer enabled to run with IC integration

commit 3dd2f9e
Author: David Abrahams <david.w.abrahams@gmail.com>
Date:   Mon Jun 22 11:29:02 2020 -0700

    Fix PCC stock long control

commit 555f171
Author: David Abrahams <device@comma.ai>
Date:   Mon May 25 14:36:46 2020 -0700

    Simplified moving average util

commit 0a8a08e
Author: Comma Device <device@comma.ai>
Date:   Sun May 24 15:59:51 2020 -0700

    Revert "Simplify moving average code"

    This reverts commit 4da60e7.

commit 690eb74
Author: Comma Device <device@comma.ai>
Date:   Sun May 24 15:58:24 2020 -0700

    Revert "Fix crash in real_pid related to moving avg change"

    This reverts commit 5062ae4.

commit 5062ae4
Author: Comma Device <device@comma.ai>
Date:   Sun May 17 16:23:52 2020 -0700

    Fix crash in real_pid related to moving avg change

commit 4da60e7
Author: Comma Device <device@comma.ai>
Date:   Mon May 11 20:09:46 2020 -0700

    Simplify moving average code

commit e76d2bd
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Tue Apr 28 12:17:14 2020 -0400

    Updating reference logs for CI after long control change

commit f1d2165
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Tue Apr 28 10:48:23 2020 -0400

    fixing PCC PID values and limits per @tb205gti

commit ecdc693
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Tue Apr 28 02:06:37 2020 -0400

    raising 7 days to 70 days without internet

commit 86a1072
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Tue Apr 28 01:41:53 2020 -0400

    fix for UI now showing the APK

commit c99b228
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Tue Apr 28 00:40:02 2020 -0400

    rechecking test files to fix bad references

commit 0c6f06f
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Tue Apr 28 00:11:46 2020 -0400

    created special forlder for CI tests for tesla. updated UIBT test and relocated readconfig test.

commit 6fb5115
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Mon Apr 27 23:28:28 2020 -0400

    cleanup

commit bf5d21d
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Mon Apr 27 18:32:05 2020 -0400

    fix the name on our UIBT test module because it was being picked up by CI and not done in accordance with what was needed

commit 1ed57fd
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Mon Apr 27 17:31:25 2020 -0400

    resolving the test_fingerprint.py issue with our ID conflicting with Chrysler

commit 2843521
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Mon Apr 27 16:55:10 2020 -0400

    Now with CI data files created on x86 to ensure compatibiity with CI

commit 9f30b15
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Mon Apr 27 16:16:20 2020 -0400

    adding CI for tesla

commit 84f990e
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Mon Apr 27 11:53:59 2020 -0400

    reverse to ubuntu 16.04 and make the PID for long control only Tesla available

commit 65d6c65
Merge: 6ea333c 039698d
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Mon Apr 27 11:29:38 2020 -0400

    I HATE GIT.COM

commit 6ea333c
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Mon Apr 27 11:21:45 2020 -0400

    detect park_brake as implemented by Neon

commit 039698d
Author: tb205gti <tb@2200kbhn.dk>
Date:   Mon Apr 27 17:13:37 2020 +0200

    TB205GTI Long PID control (commaai#155)

    * PID control, not just PI control

    WIP!

    * Proper PID control for long, SP parameters

    Co-authored-by: Comma Device <device@comma.ai>

commit 475e5b9
Author: tb205gti <tb@2200kbhn.dk>
Date:   Mon Apr 27 17:13:13 2020 +0200

    Tb205gti awake dashcam (commaai#154)

    * Fix the awake issue - make the display sleep again

    * Bring back dashcam

    * Correct checking for status

commit e888599
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Mon Apr 27 11:12:11 2020 -0400

    updated Dockerfile to 18.04 using python 3.6.9 to match Jetson

commit 24e3d77
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Mon Apr 27 09:53:48 2020 -0400

    few more CI changes

commit 2dd4292
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Sun Apr 26 22:50:52 2020 -0400

    making the limits car dependant

commit 9f15b60
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Sun Apr 26 17:27:08 2020 -0400

    adding new logs for CI

commit ca6cb54
Merge: 6797dd6 17a743f5
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Sun Apr 26 17:03:10 2020 -0400

    Merge remote-tracking branch 'Comma/master' into Tesla_0.7.4_rebase

commit 6797dd6
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Sun Apr 26 16:23:03 2020 -0400

    one more lfs reference removed

commit e1a29ed
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Sun Apr 26 16:15:40 2020 -0400

    reverting back Dockerfile as we changed workflow to include lfs

commit fa9981c
Author: BogGyver <39277124+BogGyver@users.noreply.github.com>
Date:   Sun Apr 26 16:12:30 2020 -0400

    Update test.yaml

commit 76da8cd
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Sun Apr 26 14:36:44 2020 -0400

    more changes to enable git-lfs in Docker

commit f3cf74c
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Sun Apr 26 13:40:33 2020 -0400

    adding git-lfs to Docker file

commit 07b971a
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Sat Apr 25 12:47:08 2020 -0400

    for some reazon there might be an version discrepancy on bz2...

commit da7dd25
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Sat Apr 25 12:03:42 2020 -0400

    adding test files for our branch

commit 4e5f9ff
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Fri Apr 24 23:39:44 2020 -0400

    making params_learner and pathplanner only work with ALCA/our modules when car is tesla

commit e877229
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Fri Apr 24 19:05:15 2020 -0400

    adding the test files directly to repo...

commit 17a743f
Author: Chris Souers <csouers@gmail.com>
Date:   Fri Apr 24 17:51:17 2020 -0400

    Add FW IDs for 2018 Civic Sedan 1.5 Executive (Euro) (commaai#1417)

commit 7b0977d
Author: Willem Melching <willem.melching@gmail.com>
Date:   Fri Apr 24 14:27:05 2020 -0700

    remove overpy from pyextra

commit 397c506
Author: Willem Melching <willem.melching@gmail.com>
Date:   Fri Apr 24 14:26:01 2020 -0700

    remove that install script

commit fa6d37a
Author: Willem Melching <willem.melching@gmail.com>
Date:   Fri Apr 24 14:25:15 2020 -0700

    this script is broken

commit 1c9de65
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Fri Apr 24 17:24:34 2020 -0400

    making latcontrol_pid.py not only for Tesla

commit cbef7b3
Author: Willem Melching <willem.melching@gmail.com>
Date:   Fri Apr 24 14:21:41 2020 -0700

    remove more unused debug scripts

commit 2d944e4
Author: Willem Melching <willem.melching@gmail.com>
Date:   Fri Apr 24 14:12:41 2020 -0700

    msgq is done, messaging bechmarks can go

commit ca690e6
Author: Willem Melching <willem.melching@gmail.com>
Date:   Fri Apr 24 14:12:14 2020 -0700

    fake processes that are not used

commit aa84d05
Author: Willem Melching <willem.melching@gmail.com>
Date:   Fri Apr 24 14:10:56 2020 -0700

    We dont need toyota debug folder

commit 70ae01e
Author: Willem Melching <willem.melching@gmail.com>
Date:   Fri Apr 24 14:07:36 2020 -0700

    remove yet another reverse geocoder

commit 267ee4d
Author: Willem Melching <willem.melching@gmail.com>
Date:   Fri Apr 24 14:06:17 2020 -0700

    no more geofence

commit 42f741d
Author: Willem Melching <willem.melching@gmail.com>
Date:   Fri Apr 24 14:05:19 2020 -0700

    No more line following robots

commit d0d117a
Author: Willem Melching <willem.melching@gmail.com>
Date:   Fri Apr 24 14:04:26 2020 -0700

    this is now in the panda repo

commit 90eb7aa
Author: Willem Melching <willem.melching@gmail.com>
Date:   Fri Apr 24 14:03:55 2020 -0700

    move sensor bootloop script

commit 035d461
Author: Willem Melching <willem.melching@gmail.com>
Date:   Fri Apr 24 14:02:35 2020 -0700

    that is not a test

commit 9e2db91
Author: Willem Melching <willem.melching@gmail.com>
Date:   Fri Apr 24 13:55:20 2020 -0700

    run coordinate tests

commit f856c99
Author: Willem Melching <willem.melching@gmail.com>
Date:   Fri Apr 24 13:53:46 2020 -0700

    remove geocode

commit abad491
Author: George Hotz <geohot@gmail.com>
Date:   Fri Apr 24 13:45:23 2020 -0700

    delete more unused, now under 40k lines of python. framereader needs to be ported to C++

commit ba0d92d
Author: Harald Schafer <harald.the.engineer@gmail.com>
Date:   Fri Apr 24 13:32:58 2020 -0700

    add that in for dlib

commit d4f8943
Author: George Hotz <geohot@gmail.com>
Date:   Fri Apr 24 12:15:50 2020 -0700

    more red diffs, remove hevc framereader stuff and two unused classes

commit 18dbf4c
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Fri Apr 24 15:12:21 2020 -0400

    changes to radard to make CI work

commit 8b448a7
Author: George Hotz <geohot@gmail.com>
Date:   Fri Apr 24 12:10:27 2020 -0700

    delete unused code

commit e7d035b
Author: David Abrahams <40281893+AllWashedOut@users.noreply.github.com>
Date:   Fri Apr 24 11:16:03 2020 -0700

    Presubmit lint fixes (commaai#157)

    * Laika import lint errors
    * Unused variable lint error
    * Fix flake8 presubmit by adding backport dep to Pipfile

commit 6a551de
Author: Harald Schafer <harald.the.engineer@gmail.com>
Date:   Fri Apr 24 11:12:57 2020 -0700

    new packages

commit 9ba20fa
Author: George Hotz <geohot@gmail.com>
Date:   Fri Apr 24 09:56:12 2020 -0700

    add code stats

commit c5b16df
Author: George Hotz <geohot@gmail.com>
Date:   Fri Apr 24 09:24:29 2020 -0700

    more unused code

commit da5cb18
Author: George Hotz <geohot@gmail.com>
Date:   Fri Apr 24 08:58:18 2020 -0700

    remove unused code

commit 3536296
Author: Dean Lee <deanlee3@gmail.com>
Date:   Fri Apr 24 22:13:43 2020 +0800

    cltuil.c:fix build warning (commaai#1419)

commit 6840f96
Author: HaraldSchafer <harald.the.engineer@gmail.com>
Date:   Thu Apr 23 22:39:35 2020 -0700

    clean a little (commaai#1416)

    * clean a little

    * those are needed

    * put those back

    * :Revert "those are needed"

    This reverts commit ee7671a.

    * fix messed up commits

    * need that for ublox test

commit 2ecf054
Author: Willem Melching <willem.melching@gmail.com>
Date:   Thu Apr 23 21:58:35 2020 -0700

    catch all exceptions in testing script

commit 6148f26
Author: Michael Honan <mc.honan1996@gmail.com>
Date:   Fri Apr 24 07:48:58 2020 +1000

    Updated README to correct 19 to 18 in Impreza range (commaai#1413)

commit f15d55c
Author: Willem Melching <willem.melching@gmail.com>
Date:   Thu Apr 23 14:38:25 2020 -0700

    Car_kf tuning

commit 922055f
Author: ZwX1616 <zwx1616@gmail.com>
Date:   Thu Apr 23 14:15:05 2020 -0700

    orange distracted alert is now continuous (commaai#1412)

commit f92fbc0
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Thu Apr 23 16:39:22 2020 -0400

    fixed some items that were chery-picked before from master without complete merges and they broke CI as well as the interface

commit 24ae93f
Author: Harald Schafer <harald.the.engineer@gmail.com>
Date:   Thu Apr 23 12:29:04 2020 -0700

    not a good name

commit 2336389
Author: Willem Melching <willem.melching@gmail.com>
Date:   Thu Apr 23 12:19:46 2020 -0700

    We need that to filter out loopback bus

commit 95c2ff5
Author: Willem Melching <willem.melching@gmail.com>
Date:   Thu Apr 23 11:58:19 2020 -0700

    Add more timeouts to eon_testing_slave

commit 221ce3b
Author: cowanhmoore <cowanhmoore@gmail.com>
Date:   Thu Apr 23 14:28:52 2020 -0400

    Update README.md w/ HRV in Supported Car List (commaai#1411)

    * Update README.md w/ HRV

    Adding Honda HRV to Supported Car List in root of openpilot (README.md)

    * Update README.md

    Added "-" per PR request --> HR-V

    * Update README.md

    * Update README.md

    * Update README.md

    Narrow scope to published Honda Sensing equipped vehicles, 2019-

commit 8daef80
Author: Willem Melching <willem.melching@gmail.com>
Date:   Thu Apr 23 10:46:39 2020 -0700

    fix linter

commit fe62d3d
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Thu Apr 23 10:27:43 2020 -0400

    forward opendbc with Honda latest DBC

commit da524f1
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Thu Apr 23 10:26:25 2020 -0400

    updating service list

commit 4acead4
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Thu Apr 23 08:43:36 2020 -0400

    eh

commit 256571c
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Thu Apr 23 00:42:45 2020 -0400

    fix indent in test

commit 597807d
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Thu Apr 23 00:40:33 2020 -0400

    services were missing from yaml

commit 3f6cfef
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Wed Apr 22 23:58:20 2020 -0400

    radar work

commit 59920d4
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Wed Apr 22 23:43:28 2020 -0400

    grrr

commit 85fb30d
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Wed Apr 22 23:11:17 2020 -0400

    still CI crap

commit aeb0a4a
Author: George Hotz <geohot@gmail.com>
Date:   Wed Apr 22 19:56:45 2020 -0700

    transform_img_M

commit 88b4a72
Author: Harald Schafer <harald.the.engineer@gmail.com>
Date:   Wed Apr 22 19:20:48 2020 -0700

    tf 2.2

commit 559e3aa
Author: Willem Melching <willem.melching@gmail.com>
Date:   Wed Apr 22 15:03:37 2020 -0700

    replay many update

commit 8590969
Author: Willem Melching <willem.melching@gmail.com>
Date:   Wed Apr 22 14:29:36 2020 -0700

    Load all segments

commit 4d5764d
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Wed Apr 22 17:24:38 2020 -0400

    trying to unsderstand why the car play fails

commit 07e2d34
Author: Willem Melching <willem.melching@gmail.com>
Date:   Wed Apr 22 14:24:24 2020 -0700

    Use normal can sock

commit ec0d6ac
Author: Willem Melching <willem.melching@gmail.com>
Date:   Wed Apr 22 14:23:10 2020 -0700

    Simple replay script

commit d0e0746
Author: Comma Device <device@comma.ai>
Date:   Wed Apr 22 20:30:53 2020 +0000

    call it vehicle, not panda

commit fe52312
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Wed Apr 22 16:22:52 2020 -0400

    will this stupid CI ever work

commit 8ea9c72
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Wed Apr 22 14:52:26 2020 -0400

    adding tesla to cars without data for CI road testing for now

commit 98ec06e
Author: Dean Lee <deanlee3@gmail.com>
Date:   Thu Apr 23 01:16:05 2020 +0800

    unmap a previously mapped buff (commaai#1410)

commit 5ff06af
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Wed Apr 22 12:26:10 2020 -0400

    MORE CI shit to be fixed

commit 4f23b68
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Wed Apr 22 10:56:18 2020 -0400

    cleanup for linter for CI

commit 85036d1
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Wed Apr 22 10:55:27 2020 -0400

    Revert Honda and Toyota to comma master

commit 650b905
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Wed Apr 22 09:51:39 2020 -0400

    UI_buttons where not CI friendly. now they are

commit 9da8279
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Wed Apr 22 09:24:05 2020 -0400

    continue working on CI

commit 144b377
Author: George Hotz <geohot@gmail.com>
Date:   Tue Apr 21 20:23:49 2020 -0700

    who is ready for big model?

commit 425cdc0
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Tue Apr 21 21:23:26 2020 -0400

    working runner, bad model.

commit 2fa654c
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Tue Apr 21 20:42:39 2020 -0400

    first attempt at onnx/trt runner

commit 12af1f9
Author: Willem Melching <willem.melching@gmail.com>
Date:   Tue Apr 21 17:13:54 2020 -0700

    Refactor locationd message building

commit d39a584
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Tue Apr 21 19:11:29 2020 -0400

    adding missing SNPE library for CI

commit ab9fa22
Author: George Hotz <geohot@gmail.com>
Date:   Tue Apr 21 15:27:12 2020 -0700

    getenv SCALE

commit b9f5882
Author: George Hotz <geohot@gmail.com>
Date:   Tue Apr 21 14:59:15 2020 -0700

    fix camera.py

commit dd22cfc
Author: George Hotz <geohot@gmail.com>
Date:   Tue Apr 21 14:48:31 2020 -0700

    fix nui

commit 65b35f3
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Tue Apr 21 17:27:10 2020 -0400

    tools and onnx driver monitor model

commit af6235c
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Tue Apr 21 17:11:14 2020 -0400

    add onnx model

    LFS onnx

commit 23f2a1f
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Tue Apr 21 17:05:42 2020 -0400

    keras to onnx script

commit b44a725
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Tue Apr 21 15:54:18 2020 -0400

    fixing the SConscript in modelsd

commit e161605
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Tue Apr 21 15:32:16 2020 -0400

    tools to take keras to onnx, requires pip install tf2onnx

commit ea05332
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Tue Apr 21 15:14:37 2020 -0400

    Fix snpe build issue (Thanks tb205gti)

commit 2ed92df
Author: George Hotz <geohot@gmail.com>
Date:   Tue Apr 21 11:54:02 2020 -0700

    view sensorium

commit cead4c6
Author: Comma Device <device@comma.ai>
Date:   Tue Apr 21 11:11:43 2020 -0700

    mark unuploaded

commit a5ae90f
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Tue Apr 21 01:13:43 2020 -0400

    add uff mofel

commit d244823
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Tue Apr 21 00:28:00 2020 -0400

    first pass at tensorrt_runner.py

commit 9d8e832
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Mon Apr 20 22:52:36 2020 -0400

    revert buf delete

commit 9d93ae6
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Mon Apr 20 22:48:26 2020 -0400

    convert tensorrt as serialized models

commit e23f1fc
Author: Greg Hogan <gregjhogan@gmail.com>
Date:   Mon Apr 20 16:56:38 2020 -0700

    ColumnStoreWriter.add_dict() support for multiple types

commit cf131ee
Author: Greg Hogan <gregjhogan@gmail.com>
Date:   Mon Apr 20 16:25:43 2020 -0700

    ColumnStoreReader support for intermediate keys of flat dictionaries

commit bb9061e
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Mon Apr 20 19:08:56 2020 -0400

    add trt models and converter

commit 2caa569
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Mon Apr 20 18:44:45 2020 -0400

    Fix Memory leak in modeld.cc

commit 1d6042c
Author: cowanhmoore <cowanhmoore@gmail.com>
Date:   Mon Apr 20 18:30:46 2020 -0400

     Honda HRV (commaai#1404)

    * PR - Honda HRV

    values.py - incl. Class, FP, FW_VERSIONS, SPEED_FACTOR 1.025
    carstate.py - incl. carFingerprint, doorOpen OVERRIDE (signal unknown)
    Safety test concludes that removal of drivers seatbelt IMMEDIATELY disengages OP
    interface.py - incl. HR-V vehicle parameters, tuning (tested for 100+ miles)
    Longitudinal tuning parameters unchanged from CAR.FIT
    test_car_models.py - added per request of review process
    *5. honda_hrv_touring_2019_can_generated.dbc will be submitted to commaai/opendbc in next PR

    Once *5 is approved, will need to update values.py to matching dbc

    Thanks, Cowan Moore 330-701-3922

    * Honda HRV Door Signal

    BO_ 422 SCM_BUTTONS: 8 SCM
     SG_ DRIVERS_DOOR_OPEN : 63|1@0+ (1,0) [0|1] "" EON

    * Update values.py

    * Update test_car_models.py

commit 3aab9fa
Author: Harald Schafer <harald.the.engineer@gmail.com>
Date:   Mon Apr 20 14:39:13 2020 -0700

    mixed up

commit 2ea494e
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Apr 20 14:15:01 2020 -0700

    Wait 5s before going offroad after panda disconnect (commaai#1406)

    * wait 10s before going offroad after panda disconnect

    * Add cloudlog

    * Typo

    * 5 s

commit 438b03d
Author: Harald Schafer <harald.the.engineer@gmail.com>
Date:   Mon Apr 20 13:59:42 2020 -0700

    no param reads in pipeline

commit 58e71de
Author: George Hotz <geohot@gmail.com>
Date:   Mon Apr 20 13:56:02 2020 -0700

    add safety note

commit 4e44ab3
Author: Comma Device <device@comma.ai>
Date:   Mon Apr 20 20:49:28 2020 +0000

    s/athena/connect on sidebar

commit c8d5230
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Apr 20 13:18:26 2020 -0700

    bump opendbc: add hrv

commit 2928c53
Author: Dean Lee <deanlee3@gmail.com>
Date:   Tue Apr 21 04:15:11 2020 +0800

    cleanup visionipc when recovering from fault in dmonitoringd and loggerd  (commaai#1402)

commit 4ee225b
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Mon Apr 20 15:36:32 2020 -0400

    fix SConscript in modeld

commit 3ebb116
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Apr 20 12:08:48 2020 -0700

    Update RELEASES.md

commit d570db5
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Mon Apr 20 14:09:30 2020 -0400

    Reduce memory allocation for models to amount needed

commit a120ada
Author: Andrew Sidhu <SippieCup@users.noreply.github.com>
Date:   Mon Apr 20 13:05:33 2020 -0400

    Fix by Boggyver - Add Traffic Convention data to input buffer (commaai#1405)

    Credit goes to Boggyver for finding this.

commit 29f4380
Merge: a8f0313 ce4528c
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Mon Apr 20 12:46:52 2020 -0400

    Merge branch 'master' into tesla_0.7.4_rebase

commit a8f0313
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Mon Apr 20 12:41:55 2020 -0400

    fix TF runner to actually work with new model

    remove additional model

commit ce4528c
Author: Dean Lee <deanlee3@gmail.com>
Date:   Tue Apr 21 00:23:23 2020 +0800

    dmonitoringmodeld: fix memory leak (commaai#1403)

commit 83edaae
Merge: ceb33d5 25ab252
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Sun Apr 19 18:37:07 2020 -0400

    Merge remote-tracking branch 'Comma/master' into Tesla_0.7.4_rebase

commit 25ab252
Author: Dean Lee <deanlee3@gmail.com>
Date:   Mon Apr 20 05:04:33 2020 +0800

    fixes the error with OpenCL depreciation warnings (commaai#1394)

commit e171a7a
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Apr 19 14:00:30 2020 -0700

    modeld, add cloudlogs

commit 8f2858e
Author: Dean Lee <deanlee3@gmail.com>
Date:   Mon Apr 20 04:59:36 2020 +0800

    modeld, cleanup visionipc when recovering from fault

commit 69b35d5
Author: ffhspa <31392294+ffhspa@users.noreply.github.com>
Date:   Sun Apr 19 22:58:49 2020 +0200

    Update CIVIC_BOSCH_DIESEL FW versions (commaai#1396)

    * Added Values

    * Update values.py

    * Update values.py

    * Update values.py

commit 00bb45f
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Apr 19 13:56:20 2020 -0700

    readme add footnotes

commit 3cf5037
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Apr 19 13:54:04 2020 -0700

    Put Sonata and Pallisade in community maintained section

commit ceb33d5
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Sun Apr 19 16:25:26 2020 -0400

    Fix model loading - Using tensorflow1.15@nv43

commit 8ddf155
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Sat Apr 18 12:54:31 2020 -0400

    fix gpu loading

commit 6a8e87e
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Sat Apr 18 03:39:26 2020 -0400

    fix compile warning

commit 40498ca
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Sat Apr 18 03:38:58 2020 -0400

    refactor keras_runner... again.

commit 2619554
Merge: bde3c21 da8dcdd
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Sat Apr 18 03:27:11 2020 -0400

    Merge branch 'tesla_0.7.4_rebase2' into Tesla_0.7.4_rebase

commit da8dcdd
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Sat Apr 18 03:24:21 2020 -0400

    Fix runner and driving.cc for bigmodel

commit 2189e25
Merge: d445374 bde3c21
Author: Andrew Sidhu <SippieCup@users.noreply.github.com>
Date:   Sat Apr 18 03:17:28 2020 -0400

    Merge branch 'Tesla_0.7.4_rebase' into tesla_0.7.4_rebase2

commit bde3c21
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Sat Apr 18 03:13:43 2020 -0400

    update lfs

    lfs sc.model.keras
    LFS binaries

commit d445374
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Sat Apr 18 02:59:10 2020 -0400

    fix merge

commit 48c86d4
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Sat Apr 18 02:38:14 2020 -0400

    Fix Memory leaks from merge issues. update scons

    Update SConstruct
    Update Scons, Fix runner, fix args in rgb_to_yuv.c
    more scons fixes
    Fix Memory leaks from merge issues. update scons

commit 78dc78c
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Sat Apr 18 01:13:02 2020 -0400

    cleanup models, refactor keras_runner, fix model running

    add lfs
    cherry pick of "moving larte files to lfs"
    use new model
    Re-implement split loading
    fix models
    remove pathlib dep
    final fix to submodules

    remove panda temp

    readd panda submodule

commit 1be6e67
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Fri Apr 17 23:59:16 2020 -0400

    moving larte files to lfs

commit 64641b0
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Fri Apr 17 23:20:43 2020 -0400

    working with old models

commit c3cbebf
Author: HaraldSchafer <harald.the.engineer@gmail.com>
Date:   Fri Apr 17 17:05:54 2020 -0700

    Fallback publish calib (commaai#1392)

    * if no inputs still publish

    * better

commit f374e9b
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Fri Apr 17 21:21:34 2020 -0400

    Small Fixes

commit 82ea5ae
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Fri Apr 17 21:15:15 2020 -0400

    Revert Keras Runner

commit 40ec817
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Fri Apr 17 11:10:00 2020 -0400

    still troubleshooting

commit c693e3b
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Thu Apr 16 17:31:53 2020 -0400

    few tweaks needed by master branch and removing outdated code

commit 5509456
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Thu Apr 16 09:41:01 2020 -0400

    trying to get CI moving

commit 5221b0e
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Thu Apr 16 03:50:47 2020 -0400

    adding missing models to the repo

commit 3d16d96
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Thu Apr 16 03:25:30 2020 -0400

    fixing merge stuff still

commit ef1b603
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Thu Apr 16 01:44:55 2020 -0400

    more merge fixes

commit e221ece
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Thu Apr 16 00:57:40 2020 -0400

    OpenDBC updates for Tesla + scons changes

commit 53ef8d2
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Thu Apr 16 00:19:56 2020 -0400

    bringing tesla cereals and jetson setup scripts

commit d00341b
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Wed Apr 15 23:18:18 2020 -0400

    fix modules

commit b366471
Author: BogGyver <bogdan.butoi@gmail.com>
Date:   Wed Apr 15 23:01:03 2020 -0400

    adding git modules back in

commit 8aab991
Author: Andrew Sidhu <asidhu1@gmail.com>
Date:   Wed Apr 15 20:50:42 2020 -0400

    Tesla Changes
  • Loading branch information
rafcabezas committed Nov 14, 2020
1 parent 480d33a commit bfd2529
Show file tree
Hide file tree
Showing 166 changed files with 8,471 additions and 1,819 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ a.out
.*.un~
*.tmp
*.o
*.o-*
*.os
*.os-*
*.so
*.a
*.clb
Expand Down
160 changes: 90 additions & 70 deletions README.md

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
Version 0.7.5 (2020-xx-xx)
========================
* Right-Hand Drive support for both driving and driver monitoring!
* New driving model: improved at sharp turns and lead speed estimation
* New driver monitoring model: overall improvement on comma two
* Driver camera preview in settings to improve mounting position
* 2019 Nissan X-Trail and 2018 Nissan Leaf support thanks to avolmensky!

Version 0.7.4 (2020-03-20)
========================
* New driving model: improved lane changes and lead car detection
Expand Down
90 changes: 75 additions & 15 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -12,34 +12,89 @@ AddOption('--asan',
help='turn on ASAN')

arch = subprocess.check_output(["uname", "-m"], encoding='utf8').rstrip()
is_tbp = os.path.isfile('/data/tinkla_buddy_pro')
if arch == "aarch64" and is_tbp:
arch = "jarch64"
if platform.system() == "Darwin":
arch = "Darwin"
if arch == "aarch64" and (not os.path.isdir("/system")):
arch = "larch64"

if arch == "aarch64":
webcam = bool(ARGUMENTS.get("use_webcam", 0))

if arch == "aarch64" or arch == "larch64":
lenv = {
"LD_LIBRARY_PATH": '/data/data/com.termux/files/usr/lib',
"PATH": os.environ['PATH'],
"ANDROID_DATA": os.environ['ANDROID_DATA'],
"ANDROID_ROOT": os.environ['ANDROID_ROOT'],
}

if arch == "aarch64":
# android
lenv["ANDROID_DATA"] = os.environ['ANDROID_DATA']
lenv["ANDROID_ROOT"] = os.environ['ANDROID_ROOT']

cpppath = [
"#phonelibs/opencl/include",
"#phonelibs/snpe/include",
]

libpath = [
"#phonelibs/snpe/aarch64-android-clang3.8",
"/usr/lib",
"/data/data/com.termux/files/usr/lib",
"/system/vendor/lib64",
"/system/comma/usr/lib",
"#phonelibs/nanovg",
"#phonelibs/libyuv/lib",
"#phonelibs/nanovg",
]

cflags = ["-DQCOM", "-mcpu=cortex-a57"]
cxxflags = ["-DQCOM", "-mcpu=cortex-a57"]

rpath = ["/system/vendor/lib64"]
if arch == "larch64":
cpppath += ["#phonelibs/capnp-cpp/include", "#phonelibs/capnp-c/include"]
libpath += ["#phonelibs/snpe/larch64"]
libpath += ["#phonelibs/libyuv/larch64/lib"]
libpath += ["#external/capnparm/lib", "/usr/lib/aarch64-linux-gnu"]
cflags = ["-DQCOM2", "-mcpu=cortex-a57"]
cxxflags = ["-DQCOM2", "-mcpu=cortex-a57"]
rpath = ["/usr/local/lib"]
else:
libpath += ["#phonelibs/snpe/aarch64"]
libpath += ["#phonelibs/libyuv/lib"]
cflags = ["-DQCOM", "-mcpu=cortex-a57"]
cxxflags = ["-DQCOM", "-mcpu=cortex-a57"]
rpath = ["/system/vendor/lib64"]
elif arch == "jarch64":
webcam=True
lenv = {
"LD_LIBRARY_PATH": '/usr/lib:/usr/local/lib/:/usr/lib/aarch64-linux-gnu',
"PATH": os.environ['PATH'],
"ANDROID_DATA": "/data",
"ANDROID_ROOT": "/",
}
cflags = []
cxxflags = []
cpppath = [
"/usr/local/include",
"/usr/local/include/opencv4",
"/usr/include/khronos-api",
"/usr/include",
"#phonelibs/snpe/include",
"/usr/include/aarch64-linux-gnu",
]
libpath = [
"/usr/local/lib",
"/usr/lib/aarch64-linux-gnu",
"/usr/lib",
"/data/op_rk3399_setup/external/snpe/lib/lib",
"/data/data/com.termux/files/usr/lib",
"#phonelibs/nanovg",
"/data/op_rk3399_setup/support_files/lib",
]
rpath = ["/usr/local/lib",
"/usr/lib/aarch64-linux-gnu",
"/usr/lib",
"/data/op_rk3399_setup/external/snpe/lib/lib",
"/data/op_rk3399_setup/support_files/lib",
"cereal",
"selfdrive/common",
]
else:
lenv = {
"PATH": "#external/bin:" + os.environ['PATH'],
Expand All @@ -49,6 +104,7 @@ else:
"#phonelibs/capnp-c/include",
"#phonelibs/zmq/x64/include",
"#external/tensorflow/include",
"#phonelibs/snpe/include",
]

if arch == "Darwin":
Expand Down Expand Up @@ -117,13 +173,12 @@ env = Environment(
"#phonelibs/json11",
"#phonelibs/eigen",
"#phonelibs/curl/include",
"#phonelibs/opencv/include",
#"#phonelibs/opencv/include",
"#phonelibs/libgralloc/include",
"#phonelibs/android_frameworks_native/include",
"#phonelibs/android_hardware_libhardware/include",
"#phonelibs/android_system_core/include",
"#phonelibs/linux/include",
"#phonelibs/snpe/include",
"#phonelibs/nanovg",
"#selfdrive/common",
"#selfdrive/camerad",
Expand Down Expand Up @@ -175,10 +230,14 @@ def abspath(x):
# rpath works elsewhere
return x[0].path.rsplit("/", 1)[1][:-3]

#zmq = 'zmq'
# still needed for apks
zmq = FindFile("libzmq.a", libpath)
Export('env', 'arch', 'zmq', 'SHARED')
if arch == 'larch64':
zmq = 'zmq'
else:
zmq = FindFile("libzmq.a", libpath)
if is_tbp:
zmq = FindFile("libzmq.so", libpath)
Export('env', 'arch', 'zmq', 'SHARED', 'webcam')

# cereal and messaging are shared with the system
SConscript(['cereal/SConscript'])
Expand Down Expand Up @@ -215,6 +274,7 @@ if arch != "Darwin":
SConscript(['selfdrive/controls/lib/cluster/SConscript'])
SConscript(['selfdrive/controls/lib/lateral_mpc/SConscript'])
SConscript(['selfdrive/controls/lib/longitudinal_mpc/SConscript'])
SConscript(['selfdrive/controls/lib/longitudinal_mpc_model/SConscript'])

SConscript(['selfdrive/boardd/SConscript'])
SConscript(['selfdrive/proclogd/SConscript'])
Expand Down
19 changes: 12 additions & 7 deletions cereal/SConscript
Original file line number Diff line number Diff line change
@@ -1,31 +1,36 @@
Import('env', 'arch', 'zmq')

gen_dir = Dir('gen')
messaging_dir = Dir('messaging')

# TODO: remove src-prefix and cereal from command string. can we set working directory?
env.Command(["gen/c/include/c++.capnp.h", "gen/c/include/java.capnp.h"], [], "mkdir -p " + gen_dir.path + "/c/include && touch $TARGETS")
env.Command(
['gen/c/car.capnp.c', 'gen/c/log.capnp.c', 'gen/c/car.capnp.h', 'gen/c/log.capnp.h'],
['car.capnp', 'log.capnp'],
['gen/c/car.capnp.c', 'gen/c/log.capnp.c', 'gen/c/ui.capnp.c', 'gen/c/tinkla.capnp.c', 'gen/c/tesla.capnp.c', 'gen/c/car.capnp.h', 'gen/c/log.capnp.h', 'gen/c/ui.capnp.h', 'gen/c/tinkla.capnp.h', 'gen/c/tesla.capnp.h'],
['car.capnp', 'log.capnp', 'tesla.capnp', 'tinkla.capnp', 'ui.capnp'],
'capnpc $SOURCES --src-prefix=cereal -o c:' + gen_dir.path + '/c/')
env.Command(
['gen/cpp/car.capnp.c++', 'gen/cpp/log.capnp.c++', 'gen/cpp/car.capnp.h', 'gen/cpp/log.capnp.h'],
['car.capnp', 'log.capnp'],
['gen/cpp/car.capnp.c++', 'gen/cpp/log.capnp.c++', 'gen/cpp/ui.capnp.c++', 'gen/cpp/tinkla.capnp.c++', 'gen/cpp/tesla.capnp.c++', 'gen/cpp/car.capnp.h', 'gen/cpp/log.capnp.h', 'gen/cpp/ui.capnp.h', 'gen/cpp/tinkla.capnp.h', 'gen/cpp/tesla.capnp.h'],
['car.capnp', 'log.capnp', 'tesla.capnp', 'tinkla.capnp', 'ui.capnp'],
'capnpc $SOURCES --src-prefix=cereal -o c++:' + gen_dir.path + '/cpp/')
import shutil
if shutil.which('capnpc-java'):
env.Command(
['gen/java/Car.java', 'gen/java/Log.java'],
['car.capnp', 'log.capnp'],
['gen/java/Car.java', 'gen/java/Log.java', 'gen/java/Tesla.java', 'gen/java/Tinkla.java', 'gen/java/Ui.java'],
['car.capnp', 'log.capnp', 'tesla.capnp','tinkla.capnp', 'ui.capnp'],
'capnpc $SOURCES --src-prefix=cereal -o java:' + gen_dir.path + '/java/')

# TODO: remove non shared cereal and messaging
cereal_objects = env.SharedObject([
'gen/c/car.capnp.c',
'gen/c/log.capnp.c',
'gen/c/tesla.capnp.c',
'gen/c/ui.capnp.c',
'gen/c/tinkla.capnp.c',
'gen/cpp/car.capnp.c++',
'gen/cpp/log.capnp.c++',
'gen/cpp/tesla.capnp.c++',
'gen/cpp/ui.capnp.c++',
'gen/cpp/tinkla.capnp.c++',
])

env.Library('cereal', cereal_objects)
Expand Down
3 changes: 3 additions & 0 deletions cereal/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import subprocess

zmq = 'zmq'
arch = subprocess.check_output(["uname", "-m"], encoding='utf8').rstrip()
is_tbp = os.path.isfile('/data/tinkla_buddy_pro')
if arch == "aarch64" and is_tbp:
arch = "jarch64"

cereal_dir = Dir('.')

Expand Down
18 changes: 15 additions & 3 deletions cereal/car.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ struct CarEvent @0x9b1657f34caf3ad3 {
carUnrecognized @66;
radarCommIssue @67;
driverMonitorLowAcc @68;
invalidLkasSetting @69;
speedTooHigh @70;
laneChangeBlocked @71;
relayMalfunction @72;
}
}

Expand Down Expand Up @@ -151,7 +155,7 @@ struct CarState {

# which packets this state came from
canMonoTimes @12: List(UInt64);

# blindspot sensors
leftBlindspot @33 :Bool; # Is there something blocking the left lane change
rightBlindspot @34 :Bool; # Is there something blocking the right lane change
Expand Down Expand Up @@ -309,6 +313,7 @@ struct CarControl {
chimeWarning2 @5;
chimeWarningRepeat @6;
chimePrompt @7;
chimeWarning2Repeat @8;
}
}
}
Expand Down Expand Up @@ -379,6 +384,7 @@ struct CarParams {
radarTimeStep @45: Float32 = 0.05; # time delta between radar updates, 20Hz is very standard
communityFeature @46: Bool; # true if a community maintained feature is detected
fingerprintSource @49: FingerprintSource;
networkLocation @50 :NetworkLocation; # Where Panda/C2 is integrated into the car's CAN network

struct LateralParams {
torqueBP @0 :List(Int32);
Expand Down Expand Up @@ -456,8 +462,9 @@ struct CarParams {

enum TransmissionType {
unknown @0;
automatic @1;
manual @2;
automatic @1; # Traditional auto, including DSG
manual @2; # True "stick shift" only
direct @3; # Electric vehicle or other direct drive
}

struct CarFw {
Expand Down Expand Up @@ -496,4 +503,9 @@ struct CarParams {
fw @1;
fixed @2;
}

enum NetworkLocation {
fwdCamera @0; # Standard/default integration at LKAS camera
gateway @1; # Integration at vehicle's CAN gateway
}
}
35 changes: 29 additions & 6 deletions cereal/log.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ struct FrameData {
gainFrac @15 :Float32;
focusVal @16 :List(Int16);
focusConf @17 :List(UInt8);
sharpnessScore @18 :List(UInt16);

frameType @7 :FrameType;
timestampSof @8 :UInt64;
Expand Down Expand Up @@ -352,6 +353,25 @@ struct HealthData {

enum FaultType {
relayMalfunction @0;
unusedInterruptHandled @1;
interruptRateCan1 @2;
interruptRateCan2 @3;
interruptRateCan3 @4;
interruptRateTach @5;
interruptRateGmlan @6;
interruptRateInterrupts @7;
interruptRateSpiDma @8;
interruptRateSpiCs @9;
interruptRateUart1 @10;
interruptRateUart2 @11;
interruptRateUart3 @12;
interruptRateUart5 @13;
interruptRateUartDma @14;
interruptRateUsb @15;
interruptRateTim1 @16;
interruptRateTim3 @17;
registerDivergent @18;
# Update max fault type in boardd when adding faults
}

enum HwType {
Expand Down Expand Up @@ -805,7 +825,7 @@ struct PathPlan {

struct LiveLocationKalman {

# More info on reference frames:
# More info on reference frames:
# https://github.com/commaai/openpilot/tree/master/common/transformations

positionECEF @0 : Measurement;
Expand All @@ -821,10 +841,10 @@ struct LiveLocationKalman {
orientationECEF @6 : Measurement;
orientationNED @7 : Measurement;
angularVelocityDevice @8 : Measurement;

# orientationNEDCalibrated transforms to rot matrix: NED_from_calibrated
orientationNEDCalibrated @9 : Measurement;

# Calibrated frame is simply device frame
# aligned with the vehicle
velocityCalibrated @10 : Measurement;
Expand All @@ -835,7 +855,7 @@ struct LiveLocationKalman {
gpsTimeOfWeek @14 :Float64;
status @15 :Status;
unixTimestampMillis @16 :Int64;

enum Status {
uninitialized @0;
uncalibrated @1;
Expand Down Expand Up @@ -1775,12 +1795,14 @@ struct UiLayoutState {
activeApp @0 :App;
sidebarCollapsed @1 :Bool;
mapEnabled @2 :Bool;
mockEngaged @3 :Bool;

enum App {
home @0;
music @1;
nav @2;
settings @3;
none @4;
}
}

Expand Down Expand Up @@ -1879,6 +1901,7 @@ struct DMonitoringState {
awarenessPassive @12 :Float32;
isLowStd @13 :Bool;
hiStdCount @14 :UInt32;
isPreview @15 :Bool;
}

struct Boot {
Expand Down Expand Up @@ -1971,7 +1994,7 @@ struct Event {
sendcan @17 :List(CanData);
logMessage @18 :Text;
liveCalibration @19 :LiveCalibrationData;
androidLogEntry @20 :AndroidLogEntry;
androidLog @20 :AndroidLogEntry;
gpsLocation @21 :GpsLocationData;
carState @22 :Car.CarState;
carControl @23 :Car.CarControl;
Expand Down Expand Up @@ -2025,4 +2048,4 @@ struct Event {
liveLocationKalman @72 :LiveLocationKalman;
sentinel @73 :Sentinel;
}
}
}
Loading

0 comments on commit bfd2529

Please sign in to comment.