Commit Graph

7421 Commits

Author SHA1 Message Date
Comma Device
b9b6ed2d52 underflew 2020-11-19 04:03:16 +00: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
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
Ted Slesinski
36391bf12f Reduce Kp/Ki by 30% to eliminate steer oscillation (#1985) 2020-11-16 15:25:43 -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
Adeeb Shihadeh
ff6dac7dd3 fix setup for new weston build 2020-11-14 15:50:11 -08:00
Adeeb Shihadeh
d0ebf09d56 cpu usage test debug print 2020-11-14 14:05:54 -08:00
Melowec
dc819a3df1 Add 2017 Lexus IS 350 (#2553)
* Add 2017 Lexus IS 350

* Remove v1 fingerprint

* Fix prev commit
2020-11-14 13:52:54 -08:00
ZwX1616
cf21720e1a stop pc from spamming logs (#2544) 2020-11-13 16:26:30 -08:00
Chris McCammon
ba7534f01c 2019 Camry fw
Dongle ID 0051f25673803319
2020-11-13 12:46:56 -08:00
Adeeb Shihadeh
eae04fc67e improve onboarding (#2537) 2020-11-12 21:37:02 -08:00
Adeeb Shihadeh
5c0bfe9f10 larch64 text window 2020-11-12 19:57:46 -08:00
Adeeb Shihadeh
51cc8a6b84 larch64 spinner 2020-11-12 19:56:55 -08:00
ZwX1616
d8fea41b2a 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>
2020-11-12 17:30:33 -08:00
robbederks
c5c875bad9 Tici Focal (#2459)
* fix i2c

* fix libi2c (again?)

* qt 5.12.8

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-11-12 17:09:36 -08:00
Adeeb Shihadeh
d5a8444d6c only qcom 2020-11-12 16:19:28 -08:00
Neptos
3811c49fd7 Add fingerprint for european/nordic Hyundai Kona EV 2019 (#2515)
Co-authored-by: Mattias Berg <mattias.berg@gambitgroup.fi>
2020-11-12 14:50:38 -08:00
Jon Ander Oribe
887d67eb8d 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>
2020-11-12 14:48:45 -08:00
Adeeb Shihadeh
7b72bbe9f3 Qt setup + installer (#2511)
* getting started

* setup screens

* cleanupg

* url input

* installer

* setup

* installer
2020-11-12 11:31:02 -08:00
Dean Lee
91f79acac3 remove std::clamp (#2530) 2020-11-12 11:30:04 -08:00
Harald Schafer
6907714510 update comments 2020-11-12 10:21:27 -08:00
Harald Schafer
a991e8af9c a new dawn 2020-11-11 20:45:36 -08:00
HaraldSchafer
08846b5c0e 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>
2020-11-11 20:31:46 -08:00
ZwX1616
faf8b1fd82 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>
2020-11-11 14:24:32 -08:00
ZwX1616
4954db0381 use different SubMasters for driverState/sensorEvents (#2522)
* use different sms

* rename
2020-11-11 13:53:11 -08:00
grekiki
9529764549 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>
2020-11-11 21:14:51 +01:00
Willem Melching
8896b7a791 paint.cc: fix drawing lane lines on sidebar 2020-11-11 02:12:55 -08:00
HaraldSchafer
f7d1ace883 Fix lane width (#2520)
* use prob modifiers in lane width calc

* update ref

* update ref
2020-11-10 21:12:36 -08:00
HaraldSchafer
39f27f9d6a cleanup planner (#2519)
* no reason for external function

* dont need d_poly for this test

* dont copy float

* typo
2020-11-10 14:42:43 -08:00
Chris McCammon
01914a1a91 Corolla 2021 2020-11-09 18:03:44 -08:00
Willem Melching
f2c8a6122d Revert "convert mat.h to a c++ header file (#2499)"
This reverts commit 519c043a63.
2020-11-09 01:41:36 -08:00
Dean Lee
1bd1c961ef fsync_dir: remove goto (#2498) 2020-11-09 01:21:48 -08:00
Dean Lee
519c043a63 convert mat.h to a c++ header file (#2499) 2020-11-09 01:19:09 -08:00
Shane Smiskol
dca6f61db9 some laneplanner updates (#2505) 2020-11-09 01:15:29 -08:00
Adeeb Shihadeh
e88775a224 remove old loggerd priority 2020-11-08 15:44:04 -08:00
Adeeb Shihadeh
8f44e69583 give loggerd min rt priority 2020-11-08 15:42:08 -08:00
Adeeb Shihadeh
30112f9add don't show unspported alert with no health packet 2020-11-08 15:22:27 -08:00
HaraldSchafer
26583b1b85 No uncertain ll (#2495)
* initial, needs tune

* support metrics

* a little more

* wrong type

* fixup

* update refs
2020-11-06 21:01:16 -08:00
Adeeb Shihadeh
6c86afee16 Qt spinner (#2494)
* move android spinner

* qt spinner

* rotation

* nothing by default

* spin spin

* fix rotate

* style

* spinner for all

* -2

* unused
2020-11-06 18:44:04 -08:00
Adeeb Shihadeh
68ba1649b9 Qt text window (#2489)
* qt text window

* auto size

* real text

* this is cleaner

* fix android build

* exit on pc

* tici fixes
2020-11-06 12:05:24 -08:00
ohber
548d92490d 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>
2020-11-06 10:32:32 -08:00
Adeeb Shihadeh
496107321b remove wrong fw version from genesis g70 2020-11-06 09:45:32 -08:00