Commit Graph

2065 Commits

Author SHA1 Message Date
George Hotz 917eff8c30
New settings for governors, +30% memory bandwidth (#2590)
* new settings for governors, +30% memory bandwidth

* CPU waste is better

* warm up frame_drop

* optional CORE arg for rtshield

* back off priorities of processes not critical to driving

* if it doesn't drive, it's not realtime

* err, resource. this should have been included

* reverse order to not spike

Co-authored-by: Comma Device <device@comma.ai>
2020-11-20 19:25:12 -08:00
Comma Device 98f891a259 do the average correctly in waste 2020-11-20 23:05:03 +00:00
Comma Device d341fe0240 waste prints memory bandwidth 2020-11-20 22:54:05 +00:00
Adeeb Shihadeh 85c9a71bc9 should be seconds 2020-11-20 14:32:22 -08:00
Adeeb Shihadeh 27fefb9f60 fix lexus is fw fingerprinting 2020-11-20 14:29:54 -08:00
Comma Device 7bfaf4cc4e waste can become memory bound 2020-11-20 22:26:32 +00:00
Adeeb Shihadeh 580589b250
log DM model execution time (#2589) 2020-11-20 13:38:31 -08:00
grekiki 119cb1e0ff
Improve on-screen keyboard (#2587) 2020-11-20 13:29:22 -08:00
Comma Device 826c21b045 fix some lack of cache awareness in yuvframe2tensor 2020-11-20 18:03:06 +00:00
Comma Device 06f6f245ff simpler repro for dmon lag issue 2020-11-20 17:30:31 +00:00
George Hotz 6fc7c0c005 other includes to build repro on pc 2020-11-20 09:09:43 -08:00
Comma Device b9a8e7b209 simpler repro, no vector required 2020-11-20 17:03:49 +00:00
Comma Device 97b716512a repros better with cache clears 2020-11-20 16:50:25 +00:00
Comma Device 52673f0532 reproduce dmon lag 2020-11-20 16:39:12 +00:00
grekiki 7478b21e2e
Qt keyboard (#2381)
* add keyboard

* put widget in settings

* port a keyboard

* forgot git add

* reduce diff

* submodules

* fix macOS and reduce diff

* cleanup

* little more cleanup

* test input

* not working yet

* compiles now

* add stuff

* add keyboard on panel 3

* works now

* small layout improvements

* cleanup

* styling

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-11-20 16:29:29 +01:00
Willem Melching 7f3bf2093f
Qt ui: turn off screen after inactivity (#2583)
* qt ui: turn off screen after inactivity

* handle touch events globally

* whitespace
2020-11-20 13:21:18 +01:00
Willem Melching 3289de0aa3 use HARDWARE.reboot() when unkillable process doesnt stop 2020-11-20 13:18:33 +01:00
Willem Melching ff65dc1401
Stricter check on date for RTC time sync (#2582)
* More strict check on time

* Also update thermald
2020-11-20 11:47:39 +01:00
HaraldSchafer 7378bc4284
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>
2020-11-19 21:05:29 -08:00
Adeeb Shihadeh 6738224282
model replay improvements (#2580) 2020-11-19 16:47:14 -08:00
ZwX1616 f244b7c7e1
tici front/wide encodeIdx msgs (#2564)
* different msgs

* also add timestamps

* keep impatient log, remove the other

* meaningless
2020-11-19 16:12:02 -08:00
Harald Schafer c68e8ec3fc bump cereal 2020-11-19 15:17:12 -08:00
HaraldSchafer 9f5dfb74f9
preinit locationd filter (#2569)
* preinit

* update ref commit
2020-11-19 15:14:35 -08:00
doktorsleepelss e1bda99acb
Upgrade pip in ubuntu setup (#2573) 2020-11-19 14:54:26 -08:00
Willem Melching 1e48b2458e
Qt ui: only stop repeat sounds (#2577) 2020-11-19 21:04:14 +01:00
Willem Melching 7d9fa1f85e
Tombstoned check crashlog permissions (#2576)
* check permission on apport crashes

* check permission bits
2020-11-19 17:08:46 +01:00
Willem Melching f93bca98ae
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>
2020-11-19 16:51:48 +01:00
Willem Melching 5ebc0dd85b replay assume segment number 2020-11-19 12:56:26 +01:00
Comma Device b9b6ed2d52 underflew 2020-11-19 04:03:16 +00:00
Comma Device 2a40e38b13 update waste for variable cores 2020-11-19 01:30:01 +00:00
Greg Hogan 92bc71c2e7 upgrade pip 2020-11-18 16:25:38 -08:00
ZwX1616 e113a12702
remove duplicate enc_idx logging (#2562) 2020-11-18 16:02:19 -08:00
ZwX1616 c630cd44da
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>
2020-11-18 13:39:50 -08:00
Adeeb Shihadeh cc1bca542d
update simulator to ubuntu 20.04 (#2463)
* fix sim build in 20.04

* run ci

* fix docker build

* restore ci cofnig

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-11-18 13:10:37 -08:00
Erich Moraga 305cf4180c
CAR.RAV4_TSS2 added engine & EPS f/w (#2570)
@shehzads#4232  2019 RAV4 (ICE) DongleID fe7be80c10977edb
https://discord.com/channels/469524606043160576/524327905937850394/778687750459097178
2020-11-18 11:50:39 -08:00
George Hotz 599f000cde clear both possible places for the scons cache 2020-11-18 09:36:53 -08:00
Willem Melching 6e476e0667 Add sonata firmware version 2020-11-18 12:48:21 +01:00
HaraldSchafer 7b216e7cbb
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>
2020-11-17 20:04:32 -08:00
George Hotz 2f3e42169c
was wasting a ton of GPU on this debayer (#2566)
Co-authored-by: Comma Device <device@comma.ai>
2020-11-17 16:52:06 -08:00
Harald Schafer d409dabedd sometimes never goes into the loop 2020-11-17 10:19:12 -08:00
Adeeb Shihadeh bbd1b758ff tici has a real /tmp 2020-11-16 21:33:33 -08:00
Ted Slesinski 36391bf12f
Reduce Kp/Ki by 30% to eliminate steer oscillation (#1985) 2020-11-16 15:25:43 -08:00
Harald Schafer ae3b3189e5 bump laika 2020-11-16 10:22:16 -08:00
Ryan Branch d533251093
Update Simulator-Related READMEs with links to /wiki/CARLA (#2557) 2020-11-15 12:13:12 -08:00
Adeeb Shihadeh 62fd824553 fix spinner and text diff 2020-11-14 18:19:06 -08:00
Adeeb Shihadeh 448734dbfd update model refs 2020-11-14 18:05:13 -08:00
Adeeb Shihadeh 12bddb985d nicer spinner 2020-11-14 17:54:05 -08:00
George Hotz 0d2c500f6c ./compile_torch.py 5034ac8b-5703-4a49-948b-11c064d10880/780 b5e5c420-7042-4d0c-92e5-770eb09936a5/800 with skip connection in temporal summarizer 2020-11-14 17:40:09 -08:00
George Hotz 2df0f9ffb1 add onnx and bump versions in Pipfile.lock 2020-11-14 17:20:20 -08:00
Adeeb Shihadeh ff6dac7dd3 fix setup for new weston build 2020-11-14 15:50:11 -08:00