Commit Graph

1663 Commits

Author SHA1 Message Date
Willem Melching
2d2ff5733b use HARDWARE.reboot() when unkillable process doesnt stop
old-commit-hash: 3289de0aa389615dfbb73de1c921ae665088eee6
2020-11-20 13:18:33 +01:00
Willem Melching
67249ef8aa Stricter check on date for RTC time sync (#2582)
* More strict check on time

* Also update thermald
old-commit-hash: ff65dc1401681ca71f6449c5e059eb7a2fb2256c
2020-11-20 11:47:39 +01:00
HaraldSchafer
7c8ea30532 fix frame drop percentage (#2578)
* correct, I think

* add model execution time

* remove unused

* token is a file

* this is gonna change

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7378bc42845a094bbb22fb76154cb40ecb098aaf
2020-11-19 21:05:29 -08:00
Adeeb Shihadeh
597759d16c model replay improvements (#2580)
old-commit-hash: 67382242824d7dafcd5e450f6279673cc28f0513
2020-11-19 16:47:14 -08:00
ZwX1616
deab0f86aa tici front/wide encodeIdx msgs (#2564)
* different msgs

* also add timestamps

* keep impatient log, remove the other

* meaningless
old-commit-hash: f244b7c7e156cd109be13a68ba1096dc2d25f3d0
2020-11-19 16:12:02 -08:00
HaraldSchafer
c4d50c0bf0 preinit locationd filter (#2569)
* preinit

* update ref commit
old-commit-hash: 9f5dfb74f97cc8cdd1e0d25055ebc98ca9f5ee79
2020-11-19 15:14:35 -08:00
Willem Melching
ba77d62542 Qt ui: only stop repeat sounds (#2577)
old-commit-hash: 1e48b2458e2799bcfeded9e42996da605b66561f
2020-11-19 21:04:14 +01:00
Willem Melching
d6531eee62 Tombstoned check crashlog permissions (#2576)
* check permission on apport crashes

* check permission bits
old-commit-hash: 7d9fa1f85edfb62054f9afa3049affdba6518ceb
2020-11-19 17:08:46 +01:00
Willem Melching
aadc6815eb QT UI: Wifi chooser (#2062)
* qt wifi

Squashed commit of the following:

commit bec029c7b906c1df5324a8dbb0a58b8980c313ab
Author: grekiki <gregor1234567890@gmail.com>
Date:   Mon Nov 2 19:31:30 2020 +0100

    try to collect security type

commit e1e4d97f48a293392d33fe607936bbe94415c846
Author: grekiki <gregor1234567890@gmail.com>
Date:   Mon Nov 2 16:06:55 2020 +0100

    add a function for refresh

commit 52bd7d0937040bd1d5c582f324fdb60f33677014
Author: grekiki <gregor1234567890@gmail.com>
Date:   Fri Oct 30 11:14:23 2020 +0100

    allow compilation

commit 1b91e1057cca564d6b021a579d97940a8f2b9328
Author: Gregor Kikelj <gregor1234567890@gmail.com>
Date:   Wed Oct 21 14:12:05 2020 +0200

    dont build keyboard

commit cc8bad2ddd668d1397a9003a518699c3f706cca8
Author: Gregor Kikelj <gregor1234567890@gmail.com>
Date:   Tue Oct 20 18:22:07 2020 +0200

    kind of works

commit ce3a9b6d96a1985ba5b9a2f17c15530cb8f93ca8
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Oct 19 11:22:55 2020 +0200

    remove button and text field

commit 2db3d11bdb8e69098c34c04a1341ea707ce1ed6a
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Aug 24 15:31:26 2020 +0200

    try lineedit

commit d045c302dcec612c8d2ff14ba256af06c7df9ebb
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Aug 24 15:01:18 2020 +0200

    add dialog test button

commit 21fa63e33b12b0bcdad441e778b2cf6c42b113e4
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Aug 24 12:36:10 2020 +0200

    Only show one if both 2.4 and 5 Ghz found

commit dfb9ca4173adc05264663a3658298899eea2c619
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Aug 24 12:24:16 2020 +0200

    Sort networks by strength

commit e57fe68f7972f955fc4da7054af676df8581b003
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Aug 23 13:59:39 2020 +0200

    Handle currently connected AP

commit a5e80e122176f39a9bccfb8056b0886d210fdf24
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Aug 23 13:38:18 2020 +0200

    Add todo

commit 98a1bc6e7a1f38b0ff7cb810b7d63a133552dfcc
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Aug 23 13:37:35 2020 +0200

    Implement scan method

commit 9a774a509b1665371d9fd51b40550ad2388d58bc
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Aug 23 13:29:03 2020 +0200

    show list of wifi networks

* add to settings

* no wifi on pc

* refactor get_property

* refactor WiFi, split between UI and network manager stuff

* renaming

* refresh works

* refactor

* forgot to git add

* connecting works again

* print connection error on weird networks

* extract adapter path

* found networks

* Deleting existing connections to SSID we are trying to connect to

* have paths of active connections

* mvp

* fix review

* qt wifi

Squashed commit of the following:

commit bec029c7b906c1df5324a8dbb0a58b8980c313ab
Author: grekiki <gregor1234567890@gmail.com>
Date:   Mon Nov 2 19:31:30 2020 +0100

    try to collect security type

commit e1e4d97f48a293392d33fe607936bbe94415c846
Author: grekiki <gregor1234567890@gmail.com>
Date:   Mon Nov 2 16:06:55 2020 +0100

    add a function for refresh

commit 52bd7d0937040bd1d5c582f324fdb60f33677014
Author: grekiki <gregor1234567890@gmail.com>
Date:   Fri Oct 30 11:14:23 2020 +0100

    allow compilation

commit 1b91e1057cca564d6b021a579d97940a8f2b9328
Author: Gregor Kikelj <gregor1234567890@gmail.com>
Date:   Wed Oct 21 14:12:05 2020 +0200

    dont build keyboard

commit cc8bad2ddd668d1397a9003a518699c3f706cca8
Author: Gregor Kikelj <gregor1234567890@gmail.com>
Date:   Tue Oct 20 18:22:07 2020 +0200

    kind of works

commit ce3a9b6d96a1985ba5b9a2f17c15530cb8f93ca8
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Oct 19 11:22:55 2020 +0200

    remove button and text field

commit 2db3d11bdb8e69098c34c04a1341ea707ce1ed6a
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Aug 24 15:31:26 2020 +0200

    try lineedit

commit d045c302dcec612c8d2ff14ba256af06c7df9ebb
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Aug 24 15:01:18 2020 +0200

    add dialog test button

commit 21fa63e33b12b0bcdad441e778b2cf6c42b113e4
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Aug 24 12:36:10 2020 +0200

    Only show one if both 2.4 and 5 Ghz found

commit dfb9ca4173adc05264663a3658298899eea2c619
Author: Willem Melching <willem.melching@gmail.com>
Date:   Mon Aug 24 12:24:16 2020 +0200

    Sort networks by strength

commit e57fe68f7972f955fc4da7054af676df8581b003
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Aug 23 13:59:39 2020 +0200

    Handle currently connected AP

commit a5e80e122176f39a9bccfb8056b0886d210fdf24
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Aug 23 13:38:18 2020 +0200

    Add todo

commit 98a1bc6e7a1f38b0ff7cb810b7d63a133552dfcc
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Aug 23 13:37:35 2020 +0200

    Implement scan method

commit 9a774a509b1665371d9fd51b40550ad2388d58bc
Author: Willem Melching <willem.melching@gmail.com>
Date:   Sun Aug 23 13:29:03 2020 +0200

    show list of wifi networks

* add to settings

* no wifi on pc

* refactor get_property

* refactor WiFi, split between UI and network manager stuff

* renaming

* refresh works

* refactor

* forgot to git add

* connecting works again

* print connection error on weird networks

* extract adapter path

* found networks

* Deleting existing connections to SSID we are trying to connect to

* have paths of active connections

* mvp

* fix review

* fix bugs

* fix text color

* colors

* wider button

* show connected network first

* fix sorting

* remove hack

* sorting

* auto refresh

* only refresh when widget is visible

* scan once on startup

* dont open dialog on qcom2

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: grekiki <gregor1234567890@gmail.com>
old-commit-hash: f93bca98ae8470ff61c98a11fdcaba8d549a964f
2020-11-19 16:51:48 +01:00
Comma Device
64b450b43d underflew
old-commit-hash: b9b6ed2d5258b9ac442005b8caa7904c5873ca88
2020-11-19 04:03:16 +00:00
ZwX1616
6b238ea78d remove duplicate enc_idx logging (#2562)
old-commit-hash: e113a1270292130ea3e7ef07a05b59aeb98c5ce7
2020-11-18 16:02:19 -08:00
ZwX1616
7af71098b6 send frame in packet on demand (#2567)
* focus lens helper2

* fix

* yes screen

* s

* new/del

* once

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c630cd44da607c3d2fdd080b493b2e6dc28c3a75
2020-11-18 13:39:50 -08:00
Erich Moraga
9ac8b21344 CAR.RAV4_TSS2 added engine & EPS f/w (#2570)
@shehzads#4232  2019 RAV4 (ICE) DongleID fe7be80c10977edb
https://discord.com/channels/469524606043160576/524327905937850394/778687750459097178
old-commit-hash: 305cf4180c884792fcc8d0698e00b2b973f8f67a
2020-11-18 11:50:39 -08:00
George Hotz
c5282bf173 clear both possible places for the scons cache
old-commit-hash: 599f000cde3f94ca0843770ef9889cbcc5173398
2020-11-18 09:36:53 -08:00
Willem Melching
3e44be1461 Add sonata firmware version
old-commit-hash: 6e476e06676bdc6da9f6f3e1a865d6568a199b49
2020-11-18 12:48:21 +01:00
HaraldSchafer
faad598e29 Minor fixes 08 (#2565)
* correct indexes

* best metrics yet 30231f46-08af-477e-9d30-776593913c24/700

* sometimes x decreases

* update model refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7b216e7cbb30f9a7b164cc17bb66b348d728b65e
2020-11-17 20:04:32 -08:00
George Hotz
aa34cf305b was wasting a ton of GPU on this debayer (#2566)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2f3e42169cbe74e0812d4e6fe1c53f5cca7c7a7a
2020-11-17 16:52:06 -08:00
Harald Schafer
4a4fb376b9 sometimes never goes into the loop
old-commit-hash: d409dabedd7a783d5f1577eaa571fd8d2423d4e6
2020-11-17 10:19:12 -08:00
Ted Slesinski
c3a745eb90 Reduce Kp/Ki by 30% to eliminate steer oscillation (#1985)
old-commit-hash: 36391bf12fb88fc15626c9ba3ed5cb3925a39c1b
2020-11-16 15:25:43 -08:00
Adeeb Shihadeh
be55621d6b fix spinner and text diff
old-commit-hash: 62fd824553c299c0126348fbc8b71a6925dffbbb
2020-11-14 18:19:06 -08:00
Adeeb Shihadeh
8385349af7 update model refs
old-commit-hash: 448734dbfdf1a29f8d121e918e04417ed27bd7e8
2020-11-14 18:05:13 -08:00
Adeeb Shihadeh
6a6bab9917 nicer spinner
old-commit-hash: 12bddb985d32a5efe460224fef55a47f92ecaae3
2020-11-14 17:54:05 -08:00
Adeeb Shihadeh
b5f01a713b fix setup for new weston build
old-commit-hash: ff6dac7dd3c125443a2d2459c479747e7d4f0234
2020-11-14 15:50:11 -08:00
Adeeb Shihadeh
252ebb6788 cpu usage test debug print
old-commit-hash: d0ebf09d561b60dd6602e932e6d0ab6b4cad1830
2020-11-14 14:05:54 -08:00
Melowec
2a27cb997b Add 2017 Lexus IS 350 (#2553)
* Add 2017 Lexus IS 350

* Remove v1 fingerprint

* Fix prev commit
old-commit-hash: dc819a3df138f3dc39f81489d5bd539901eaf960
2020-11-14 13:52:54 -08:00
ZwX1616
7f85b498be stop pc from spamming logs (#2544)
old-commit-hash: cf21720e1ae451286e6fd26fd6192d55914afa41
2020-11-13 16:26:30 -08:00
Chris McCammon
73bcb95157 2019 Camry fw
Dongle ID 0051f25673803319

old-commit-hash: ba7534f01c95294d210cb0f73240932a3277610d
2020-11-13 12:46:56 -08:00
Adeeb Shihadeh
08e1e45753 improve onboarding (#2537)
old-commit-hash: eae04fc67e3a0185b0de9a54ddaff70469775645
2020-11-12 21:37:02 -08:00
Adeeb Shihadeh
7ba5da6a7d larch64 text window
old-commit-hash: 5c0bfe9f10b7025e52bbfc73d10825c5698d8e7d
2020-11-12 19:57:46 -08:00
Adeeb Shihadeh
75f3d1a875 larch64 spinner
old-commit-hash: 51cc8a6b8461091f2c14c930387f273b6bf30c4b
2020-11-12 19:56:55 -08:00
ZwX1616
3da8dc9b25 use enabled flag from controlsState instead of carState (#2518)
* use enabled from controls instead of carstate

* update process replay

* rm

* fix long test

* update reff

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d8fea41b2af0de53d649612513535d9f9595c088
2020-11-12 17:30:33 -08:00
robbederks
394a3f4d86 Tici Focal (#2459)
* fix i2c

* fix libi2c (again?)

* qt 5.12.8

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: c5c875bad990475a48dd01ec7dad0ff6a83010d3
2020-11-12 17:09:36 -08:00
Adeeb Shihadeh
d5990d0ef7 only qcom
old-commit-hash: d5a8444d6c9457bffbf929fe9314dfd210cf9e94
2020-11-12 16:19:28 -08:00
Neptos
4e72c2b580 Add fingerprint for european/nordic Hyundai Kona EV 2019 (#2515)
Co-authored-by: Mattias Berg <mattias.berg@gambitgroup.fi>
old-commit-hash: 3811c49fd79553f3eacb3aeee807ebd242542aaa
2020-11-12 14:50:38 -08:00
Jon Ander Oribe
9f61dd6254 Simple improvements for quality gate (#2517)
* Improvements for quality gate

* Update test_xattr.py

* Update test_mpc_wobble.py

* python

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 887d67eb8d8d2da8e07ff3a74517b620afa9542a
2020-11-12 14:48:45 -08:00
Adeeb Shihadeh
be77d9c02f Qt setup + installer (#2511)
* getting started

* setup screens

* cleanupg

* url input

* installer

* setup

* installer
old-commit-hash: 7b72bbe9f3743a16edf31c44506c7f62a43b081b
2020-11-12 11:31:02 -08:00
Dean Lee
ed4c4cd8b3 remove std::clamp (#2530)
old-commit-hash: 91f79acac3ef63d28d5884bf2947eb7b692666cc
2020-11-12 11:30:04 -08:00
Harald Schafer
a8f5a9834a update comments
old-commit-hash: 69077145100242a72d9725e04b3d7808300f8abb
2020-11-12 10:21:27 -08:00
Harald Schafer
06f36e22cf a new dawn
old-commit-hash: a991e8af9c60cd8866986789e58824b04983b86c
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: 08846b5c0ec3a5299c8cb73904da15a18d3aaccf
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: faf8b1fd826575c179e6442d5f4f1055eeecb11c
2020-11-11 14:24:32 -08:00
ZwX1616
ba4c06a566 use different SubMasters for driverState/sensorEvents (#2522)
* use different sms

* rename
old-commit-hash: 4954db0381264b84aa238da4f9d429cff49bcf24
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: 9529764549b8c59f7cf141ff3d2d9613ab53beab
2020-11-11 21:14:51 +01:00
Willem Melching
2e3337d654 paint.cc: fix drawing lane lines on sidebar
old-commit-hash: 8896b7a7911b5d6cb856aeeb1f8f04e4e15c2584
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: f7d1ace8836e02689d344561586e966758e99d23
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: 39f27f9d6a0d486e9d965fb2f3eb28caa12476a0
2020-11-10 14:42:43 -08:00
Chris McCammon
79094b843e Corolla 2021
old-commit-hash: 01914a1a91ade18bd7aead99e7d1bf38cd22ad89
2020-11-09 18:03:44 -08:00
Willem Melching
fc0b6f099f Revert "convert mat.h to a c++ header file (#2499)"
This reverts commit 607866bb60ba1c69c6f777082c5ea787e895a251.

old-commit-hash: f2c8a6122d881fbee5bbdd1cf16f8541ce33260b
2020-11-09 01:41:36 -08:00
Dean Lee
6f500ee98a fsync_dir: remove goto (#2498)
old-commit-hash: 1bd1c961efccfa99936dd7e096356af3fa5243ed
2020-11-09 01:21:48 -08:00
Dean Lee
13a25b9e27 convert mat.h to a c++ header file (#2499)
old-commit-hash: 519c043a63c9286f55b5a4325604489da087957a
2020-11-09 01:19:09 -08:00