Commit Graph

2559 Commits

Author SHA1 Message Date
Harald Schafer
06f36e22cf a new dawn
old-commit-hash: a991e8af9c
2020-11-11 20:45:36 -08:00
HaraldSchafer
008f37c749 Torch model (#2452)
* refactor draw model

* rebase master

* correct valid_len

* rename function

* rename variables

* white space

* rebase to master

* e16c13ac-927d-455e-ae0a-81b482a2c787

* start rewriting

* save proress

* compiles!

* oops

* many fixes

* seems to work

* fix desires

* finally cleaned

* wrong std for ll

* dont pulse none

* compiles!

* ready to test

* WIP does not compile

* compiles

* various fixes

* does something!

* full 3d

* not needed

* draw up to 100m

* fix segfault

* wrong sign

* fix flicker

* add road edges

* finish v2 packet

* Added pytorch supercombo

* fix rebase

* no more keras

* Hacky solution to the NCHW/NHWC incompatibility between SNPE and our frame data

* dont break dmonitoringd, final model 229e3ce1-7259-412b-85e6-cc646d70f1d8/430

* fix hack

* Revert "fix hack"

This reverts commit 5550fc01a7881d065a5eddbbb42dac55ef7ec36c.

* Removed axis permutation hack

* Folded padding layers into conv layers

* Removed the last pad layer from the dlc

* Revert "Removed the last pad layer from the dlc"

This reverts commit b85f24b9e1d04abf64e85901a7ff49e00d82020a.

* Revert "Folded padding layers into conv layers"

This reverts commit b8d1773e4e76dea481acebbfad6a6235fbb58463.

* vision model: 5034ac8b-5703-4a49-948b-11c064d10880/780  temporal model: 229e3ce1-7259-412b-85e6-cc646d70f1d8/430  with permute + pool opt

* fix ui drawing with clips

* ./compile_torch.py 5034ac8b-5703-4a49-948b-11c064d10880/780 dfcd2375-81d8-49df-95bf-1d2d6ad86010/450 with variable history length

* std::clamp

* not sure how this compiled before

* 2895ace6-a296-47ac-86e6-17ea800a74e5/550

* db090195-8810-42de-ab38-bb835d775d87/601

* 5m is very little

* onnx runner

* add onnxruntime to pipfile

* run in real time without using the whole CPU

* bump cereal;

* add stds

* set road edge opacity based on stddev

* don't access the model packet in paint

* convert mat.h to a c++ header file (#2499)

* update tests

* safety first

Co-authored-by: deanlee <deanlee3@gmail.com>
Co-authored-by: mitchell <mitchell@comma.ai>
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: George Hotz <george@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 08846b5c0e
2020-11-11 20:31:46 -08:00
ZwX1616
b0bb9daf21 continued: Update DM awareness times (#2527)
* Gets us 6 seconds before making sound (up from 2s; 9s originally)

* Average last two awareness times

* This alert shows up every ~20 seconds, distracting

* Revert "Average last two awareness times"

This reverts commit 2fd7e7a44c708039e1692dcc14ee913ef88bb37e.

* update ref

* update test

* update ref

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: faf8b1fd82
2020-11-11 14:24:32 -08:00
ZwX1616
ba4c06a566 use different SubMasters for driverState/sensorEvents (#2522)
* use different sms

* rename
old-commit-hash: 4954db0381
2020-11-11 13:53:11 -08:00
grekiki
0b902a02c1 Scons builder for cython extensions (#2485)
* complie boardd without python

* not good, but don't want to lose the file, because it works

* clean a bit

* update dbc

* should build on CI

* not good, but don't want to lose the file, because it works

* clean a bit

* should build on CI

* remove unneeded path

* reorder paths

* reduce diff

* and now it works?!

* ... should work in CI

* add kj, 30% chance to fix macos

* pydebug

* new way to find path

* fix :)

* tested

* sanity check

* repl. MacOS flags

* hope it works

* need more logs

* need more logs2

* test if it works

* should work on CI

* correct python file

* should not work

* cleanup

* real cleanup

* more removals

* 50% of file

* transformations

* fixed a hardcoded variable

* more logs

* simpl.

* kalman

* all donw if it passes tests

* cleanup

* reduce code by 20 lines if this works

* fix bugs

* cleanup

* SharedLibrary

* cleanup

* ...

* remove unused

* CI fix maybe?

* add more valid path

* more logs

* ...:

* fix webcam CI

* remove WError flag

* deprecated is not an error

* more Wno things

* reduce diff, add Wno to env

* don't import nonexistent stuff

* SharedLibrary v2

* less custom env

* renaming, remove SharedLibs

* pack libs in envCython

* experiment

* better docker caching

* whitespace

* more docker caching

* improvement

* improvements

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9529764549
2020-11-11 21:14:51 +01:00
Willem Melching
2e3337d654 paint.cc: fix drawing lane lines on sidebar
old-commit-hash: 8896b7a791
2020-11-11 02:12:55 -08:00
HaraldSchafer
b7ae2e9e85 Fix lane width (#2520)
* use prob modifiers in lane width calc

* update ref

* update ref
old-commit-hash: f7d1ace883
2020-11-10 21:12:36 -08:00
HaraldSchafer
902d107af1 cleanup planner (#2519)
* no reason for external function

* dont need d_poly for this test

* dont copy float

* typo
old-commit-hash: 39f27f9d6a
2020-11-10 14:42:43 -08:00
Robbe Derks
8a0a897add bump panda
old-commit-hash: 72a62c3bff
2020-11-10 11:30:08 +01:00
Chris McCammon
79094b843e Corolla 2021
old-commit-hash: 01914a1a91
2020-11-09 18:03:44 -08:00
Willem Melching
7d7053a54e ui.py: fix transform
old-commit-hash: ebb20dacb5
2020-11-09 05:35:02 -08:00
Willem Melching
fc0b6f099f Revert "convert mat.h to a c++ header file (#2499)"
This reverts commit 607866bb60ba1c69c6f777082c5ea787e895a251.

old-commit-hash: f2c8a6122d
2020-11-09 01:41:36 -08:00
Dean Lee
6f500ee98a fsync_dir: remove goto (#2498)
old-commit-hash: 1bd1c961ef
2020-11-09 01:21:48 -08:00
Dean Lee
13a25b9e27 convert mat.h to a c++ header file (#2499)
old-commit-hash: 519c043a63
2020-11-09 01:19:09 -08:00
Shane Smiskol
a600b9c0e2 some laneplanner updates (#2505)
old-commit-hash: dca6f61db9
2020-11-09 01:15:29 -08:00
Adeeb Shihadeh
ada81dda94 remove old loggerd priority
old-commit-hash: e88775a224
2020-11-08 15:44:04 -08:00
Adeeb Shihadeh
035ee027ff give loggerd min rt priority
old-commit-hash: 8f44e69583
2020-11-08 15:42:08 -08:00
Adeeb Shihadeh
46519c7eb4 don't show unspported alert with no health packet
old-commit-hash: 30112f9add
2020-11-08 15:22:27 -08:00
Dean Lee
8fd79f63f1 params_pyx_setup.py: -std=c++17 (#2503)
old-commit-hash: c88ab9bfd6
2020-11-07 21:59:37 -08:00
HaraldSchafer
4bd3ffa94b No uncertain ll (#2495)
* initial, needs tune

* support metrics

* a little more

* wrong type

* fixup

* update refs
old-commit-hash: 26583b1b85
2020-11-06 21:01:16 -08:00
Greg Hogan
8b208a580d Revert "pytorch cuda 11.0 (#2496)" (didn't work!)
This reverts commit f1c6ef23219228ff283778c1d0b43011ced2bfb6.

old-commit-hash: 789a94932b
2020-11-06 19:38:23 -08:00
Greg Hogan
01e7e4ef04 pytorch cuda 11.0 (#2496)
old-commit-hash: 14c6de9094
2020-11-06 19:02:25 -08:00
Adeeb Shihadeh
3a05f06ced Qt spinner (#2494)
* move android spinner

* qt spinner

* rotation

* nothing by default

* spin spin

* fix rotate

* style

* spinner for all

* -2

* unused
old-commit-hash: 6c86afee16
2020-11-06 18:44:04 -08:00
Chris McCammon
ba8f7b3743 Works on Camry Hybrid 2020
old-commit-hash: c6e1beb402
2020-11-06 17:47:00 -08:00
Chris McCammon
ed3643b5b7 works on 2020 Lexus ES
old-commit-hash: 5d72a34469
2020-11-06 17:30:45 -08:00
Adeeb Shihadeh
57de41eae5 Qt text window (#2489)
* qt text window

* auto size

* real text

* this is cleaner

* fix android build

* exit on pc

* tici fixes
old-commit-hash: 68ba1649b9
2020-11-06 12:05:24 -08:00
ohber
97ad004fe1 Genesis G70 fingerprint and tuning (#2491)
* Modify tuning and values.py for G70 support

* revert ignored fingerprint change

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 548d92490d
2020-11-06 10:32:32 -08:00
Adeeb Shihadeh
2dc7e12c29 remove wrong fw version from genesis g70
old-commit-hash: 496107321b
2020-11-06 09:45:32 -08:00
George Hotz
afa6b535dc pin blosc (#2492)
old-commit-hash: e63f434d5c
2020-11-05 21:06:08 -08:00
George Hotz
8da9bf4319 Revert "pin blosc version"
This reverts commit e7e090c1aa665cb5e872c96085a53c57c63a88a9.

old-commit-hash: e927bd89ab
2020-11-05 16:41:07 -08:00
George Hotz
817d33656a pin blosc version
old-commit-hash: 433714e377
2020-11-05 16:24:41 -08:00
Adeeb Shihadeh
94dba4c2a4 hyundai cleanup (#2486)
* small hkg cleanup

* little more
old-commit-hash: 5f472acf4c
2020-11-05 14:35:28 -08:00
Adeeb Shihadeh
0f2dfbfc52 trim trailing whitespace
old-commit-hash: 818bd8a591
2020-11-05 14:11:41 -08:00
Adeeb Shihadeh
f60d0d8948 add kia optima fingerprint
old-commit-hash: e511d62d0f
2020-11-05 14:00:02 -08:00
ZwX1616
4dc3fb994e generalize camera assumptions (#2423)
* clean up 1

* complain

* cleanup

* make models api generic

* clean up 2

* cleanup

* remove unused
old-commit-hash: c0946c8bdb
2020-11-05 13:22:28 -08:00
HaraldSchafer
fcb995e19c set y too (#2448)
* set y too

* new ref
old-commit-hash: e6668625fa
2020-11-04 19:52:05 -08:00
Adeeb Shihadeh
435d16ab87 qt sound cleanup
old-commit-hash: 1690fd62c2
2020-11-04 11:48:34 -08:00
Adeeb Shihadeh
b251e323b0 qt cleanup (#2476)
old-commit-hash: b00cb389ef
2020-11-04 11:16:34 -08:00
Adeeb Shihadeh
6e078827b3 check for safety mode mismatch (#2443)
old-commit-hash: 89d02dcf97
2020-11-04 11:12:15 -08:00
Adeeb Shihadeh
f25cec394e grey panda is unsupported (#2458)
old-commit-hash: 47c21f10f5
2020-11-03 19:56:25 -08:00
Christo Mitov
ac75ea342b switch build flags to use opengl framework rather than gl library for OSX (#2467)
* switch build flags to use opengl framework rather than library for OSX

* little cleaner

* arch

Co-authored-by: thatsaboi <thatsa@boi.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 029be49012
2020-11-03 19:54:29 -08:00
Adeeb Shihadeh
68b4380545 update process replay test routes (#2482)
* update bosch route

* update rfs

* bump refs
old-commit-hash: 3795920750
2020-11-03 18:44:35 -08:00
Chris McCammon
424aa02f29 Add HRV fw
old-commit-hash: 6c80ceb181
2020-11-03 15:54:01 -08:00
Adeeb Shihadeh
09034a6147 Car Port: Lexus NX300 (#2481)
* Adding 2018 Lexus NX 300

* adding test model

* Update README.md

adding lexus nx 300 to readme

* update route

* add nx dbc to release files

* fix readme

* add to release notes

Co-authored-by: matt12eagles <matt12eagles@gmail.com>
old-commit-hash: 4d0745504b
2020-11-03 15:43:52 -08:00
Harald Schafer
e9421f0757 bump laika
old-commit-hash: cb30bfb540
2020-11-03 14:01:49 -08:00
Adeeb Shihadeh
fa598d6db9 add lexus ES hybrid fw
old-commit-hash: 024123991b
2020-11-03 08:55:44 -08:00
George Hotz
c5313f6bcf Focus Actuator Comments (#2478)
* comments from DW9800W datasheet

* more comments
old-commit-hash: 4d5efb5789
2020-11-03 07:45:16 -08:00
Harald Schafer
67a738b2f4 bump laika
old-commit-hash: fc64a611e8
2020-11-02 21:18:45 -08:00
Harald Schafer
a3dba2c446 new laika
old-commit-hash: 6f91f24b2a
2020-11-02 15:45:37 -08:00
hc356
2d0c3a1a07 add sonata 2020 Korean version fingerprint (#2449)
old-commit-hash: b45c90b83d
2020-11-01 20:49:14 -08:00