Commit Graph

11597 Commits

Author SHA1 Message Date
Adeeb Shihadeh 7410c4a2d7 onroad UI optimizations (#20871)
* onroad UI optimizations

* remove that

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5f5bbd64f28c2567cddccd5e27a93599d57b010b
2021-05-10 23:19:32 -07:00
Adeeb Shihadeh 494860c201 remove offset from full screen onroad alerts
old-commit-hash: 38741b2e08c31516d269ba26d34900d17038202a
2021-05-10 22:39:28 -07:00
Adeeb Shihadeh eb79a7214e match nvg onroad alerts (#20854)
old-commit-hash: e06f9828eaf93fcbd9b0cdfbebc54b4197565fc5
2021-05-10 22:09:36 -07:00
HaraldSchafer 3a38582efb clip arcsin to prevent locationd orientation NaN (#20868)
* clip arcsin

* can of course be negative
old-commit-hash: 0a34900fec799616002985ce8c15e94e904fa06c
2021-05-10 20:21:20 -07:00
Willem Melching 59c7bccf81 Add 2021 Lexus ES to readme
old-commit-hash: decbcc5ae89f258f52b224a50f4e5953f7044735
2021-05-10 12:15:16 +02:00
Erich Moraga 475e29260c Add several missing LEXUS_ES_TSS2 f/w (#20865)
`@ray9922#5103` 2019 Lexus ES350 947ad5d4f7221c6d|2021-05-09--19-20-15--0
old-commit-hash: 8a53c9ec9539152994d474d08b19eff0e74a08ab
2021-05-10 12:14:53 +02:00
Nicklas Boman 5ffdb65c6c Removed libmysqldb-dev. dont need to add scons, some QT -dev added, python3-dev is not neededand readline-dev to apt install. Added path to .pyenv/shims and .pyenv/bin for the setupscript to find where pip and pyenv is installed. Also made the setup end like the mac_setup script (#20860)
old-commit-hash: 0f43e7e0896adcedd096f40e94adf19cf9621182
2021-05-09 13:34:55 -07:00
grekiki 5d6c3c6232 Valgrind test: fix output parsing when no leaks present (#20862)
* should work

* spacing and try to get CI to run
old-commit-hash: c6538e91b81c820580e6f403a49b0d4d81523472
2021-05-09 11:54:22 +02:00
Comma Device 07e1c76eeb fix dmonitoring build after include cleanup
old-commit-hash: 6ffc183359f4823158f22fa332fb013c2c16795f
2021-05-08 23:30:35 -07:00
grekiki d05c5df569 Qt ui: show open panel on startup (#20859)
* should work

* spaces
old-commit-hash: 95e8c75ebd4d96b5436431644c040fec1a02fdad
2021-05-08 22:24:22 -07:00
Dean Lee cd50782410 OffroadAlert: add stretch at the bottom (#20856)
old-commit-hash: b0e2374635ba85dcbc9eeeb040dcff924b1ffb24
2021-05-08 22:21:00 -07:00
Dean Lee e333e4f189 Cleanup selfdrive/ includes (#20822)
* cleanup include path

* continue

* format includes

* fix testraw.cc

* remove include path from SConstruct

* regroup

* rebase master

* almost done

* apply review

* rename FileReader.xx to filereader.xx

* rename Unlogger.x->unlogger.x

* rename FrameReader.xx -> framereader.xx

* apply reviews

* ui.h

* continue

* fix framebuffer.cc build error:mv util.h up

* full path to msm_media_info

* fix qcom2 camerad

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7222d0f20dc8edfe0d2f3417d1ce7c84fbd32805
2021-05-08 22:15:17 -07:00
ZwX1616 4fa3c0f208 match wording to reality
old-commit-hash: 9c60d8a7cb95adf81b3abcd839ae7427a7d2ac4f
2021-05-07 17:14:42 -07:00
Adeeb Shihadeh 7b8f164793 match nvg sidebar (#20847)
old-commit-hash: e1a58e62688190ab7a6db0b518a5ba77cbd0902c
2021-05-07 15:12:29 -07:00
Willem Melching 0375063e3f Batch of FW versions (#20850)
old-commit-hash: 26e518a6af9b605c427678c150894ca1d58832b0
2021-05-07 15:02:51 +02:00
Adeeb Shihadeh 916e019786 cleanup Honda car strings - part 2 (#20848)
* cleanup honda car strins

* fix process replay

* update ref

* forgot to build

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 0148c24147e05abe239fb5423a79ad517d29884c
2021-05-07 13:32:34 +02:00
Erich Moraga 1fa58d04bd Add missing fwdCamera CAMRYH_TSS2 f/w (#20846)
`@Zskyph#6176` 2021 Camry Hybrid  c2f1a4fdb1ea4510|2021-05-06--13-46-54
old-commit-hash: 05a12aa5de1137d1f6107e7a22942a808267714f
2021-05-06 14:50:19 -07:00
Willem Melching 4707416cdd Locationd input sanity checks (#20845)
* Add first sanity checks on inputs

* more gps checks

* make sure test values pass sanity checks

* this localizer supports cannonball runs

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: c62bb106407f50b785570f6b01736839e2b42514
2021-05-06 13:39:50 -07:00
Willem Melching 9cfda07c9e Use standstill flag in locationd (#20838)
old-commit-hash: fc3da5eaf9e9448825115e19dd59e1a2657ab249
2021-05-06 13:13:13 -07:00
Willem Melching 3abb7639ed Remove Lexus trim levels (#20840)
* remove lexus trim levels

* Update selfdrive/car/toyota/values.py

* Update selfdrive/car/toyota/values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7cc56edcf48e0d569e2eec29b35cfb1bb8abd58f
2021-05-06 11:21:46 -07:00
Willem Melching a2100c96ce update test fuzzy
old-commit-hash: a0a1ed0cbca05d225cdcd43383a93a6b330b50e6
2021-05-06 19:27:58 +02:00
Willem Melching 78bf4f5867 Replace ifdef with hw abstraction layer (#20843)
* Replace ifdefs with hardware abstraction layer (#20801)

* add type to class hadwareXXX

* replace ifdefs with hardware layer

* continue

* continue

* new function get_driver_view_transform

* full path to hw.h

* fix build error setup.cc

* apply review

* fix typo

* fix deprecated error:replace deprecated fromPath with new

* fix build error

* Fixes after ifdef clenaup (#20842)

* inheritance doesnt work with static

* fix debayer

* small cleanup

* Update selfdrive/camerad/cameras/camera_common.cc

* Update selfdrive/ui/qt/offroad/settings.cc

* Update selfdrive/common/modeldata.h

* flip conditions

* fix comment

Co-authored-by: Dean Lee <deanlee3@gmail.com>
old-commit-hash: ab319d4f54a53e1a0aa1c2c0d94d56a9acef8362
2021-05-06 14:39:05 +02:00
Willem Melching 5a983be249 C++ Process Replay improvements - Part 2 (#20839)
old-commit-hash: 5856d7d549c464481fe25353b9c9017c5c480d95
2021-05-06 14:31:03 +02:00
Willem Melching 39c18d4c5a Revert "Replace ifdefs with hardware abstraction layer (#20801)"
This reverts commit 9f2ad462f39f4c880f283b71bffbc9248a2b577d.

old-commit-hash: 3a95d3ccaae7168073410cd7d392a9564d9d45ba
2021-05-06 12:29:30 +02:00
Willem Melching f8608d2e7b Revert "Fixes after ifdef clenaup (#20842)"
This reverts commit 59c31bac9a340f120ff40ed541ee377c31e7e85e.

old-commit-hash: d34647bbf7f877f56bacaab04a2a0dc8a332fc6a
2021-05-06 12:29:19 +02:00
Willem Melching 3cc799ecd8 Fixes after ifdef clenaup (#20842)
old-commit-hash: fd7c2b4adf3844e8fc15b6b371cedf33438bbc22
2021-05-06 11:58:35 +02:00
Willem Melching 9f2122bf4a Agnos 0.14 (#20826)
old-commit-hash: 12f17dc2f41acdb005fdbe7e0d993324b5d10beb
2021-05-06 11:52:02 +02:00
Dean Lee e0282ced49 Replace ifdefs with hardware abstraction layer (#20801)
* add type to class hadwareXXX

* replace ifdefs with hardware layer

* continue

* continue

* new function get_driver_view_transform

* full path to hw.h

* fix build error setup.cc

* apply review

* fix typo

* fix deprecated error:replace deprecated fromPath with new

* fix build error
old-commit-hash: 757d2923d2bfcda620b252e21a348ac3f87f3a63
2021-05-06 11:41:46 +02:00
James Moratti deb66463bb 2021 Lexus RX350 FW versions (#20813)
Add values for 2021 Lexus ES350
old-commit-hash: 937c2fa9f39c7677bd05abd6fd818a628eea70b2
2021-05-06 11:31:48 +02:00
johnlu6518 79712d1926 Lexus IS 200T FW versions (#20837)
Lexus IS 200T 2017 in Taiwan..
Engine fw for lexus IS

Device: comma two
Dongle ID: ec30903bb15db3ad
old-commit-hash: 7b76a7223af62753e42c55cd614f19a4b3477771
2021-05-06 11:26:13 +02:00
Willem Melching b4263a43fc Locationd 100 Hz (#20816)
* fix std transform

* 100Hz

* new ref

* no more decimation

* clean up confusing maths

* static typing

* Revert "static typing"

This reverts commit 23d87337de648e629fbd35dd8c04a740bbefca47.

* 100Hz costs more

* move normalization into core

* add quat idxs

* add big eps

* this is not safe in the filter

* more sensible

* updates to rednose

* not tested

* normalize in python too

* update rednose

* nan check

* check for infs too

* all should be finite

* update ref

* rednose pr now in master

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: e9db5723ef348954118643501a92cf0715402fea
2021-05-06 11:01:58 +02:00
Adeeb Shihadeh 01f1d04f98 add jeep grand cherokee test route (#20835)
old-commit-hash: 930fe1a5eaa3c0f18622dc5e4b593d18cfc25343
2021-05-05 21:58:19 -07:00
George Hotz 8427b0081b support file in juggle.py
old-commit-hash: 636a89b48e0276e759438b72f914b6ff84f05c00
2021-05-05 12:15:48 -07:00
Willem Melching 4600574d1d hypothesis: only generating valid data works better for test case reduction
old-commit-hash: b2b7cb387aead67bf38c66ca2cd14dd65f118ef3
2021-05-05 18:20:14 +02:00
Willem Melching 1acc570a4f hypothesis: speed up test case reduction
old-commit-hash: 0c29adcc76ce115cc5c490595d15148810b35d30
2021-05-05 18:06:37 +02:00
Willem Melching ab886b9599 paramsd: nan checks are implicit now
old-commit-hash: b768729755d1a749fcf36b20ae7690df8091a1b8
2021-05-05 17:44:28 +02:00
Willem Melching 2901659fe2 paramsd: stricter checks on locationd yaw rate outputs
old-commit-hash: d6a575a8605130a59575ec7668e0d0eb90626595
2021-05-05 17:42:11 +02:00
Willem Melching 36534127aa speed up fuzzing by sending SIGKILL when done
old-commit-hash: 32fa26075fa88598373de86e3c355bf70adc5b78
2021-05-05 17:27:30 +02:00
Willem Melching fa3cd32780 C++ Process replay improvements - Part 1 (#20828)
* C++ Process replay improvements

* revert that change

* create publisher before subscribers

* dont block forever, print warning

* add comment

* create sockets after process init

* try once more to receive the message

* SIMULATION env variable

* print message num when no response
old-commit-hash: d96edb68177ccbcf60a21b81ed1c0815f306efbc
2021-05-05 17:14:29 +02:00
Willem Melching b3838fb91e hypothesis fuzz testing (#20818)
* add hypothesis testing

* cleanup

* some cleanup

* check for infinity too

* one-liner

* add more fields that are used

* no print

* add locationd testing

* sensor timestamp is signed

* recursive finite checking

* keep locationd inputs finite for now

* specify proces name on command line

* increase timeout and add raw speed

* abstract runner in function

* add unittest class
old-commit-hash: 33edb629679ebf66b1cf7fe3dc5b75ff40dfe424
2021-05-05 13:25:29 +02:00
Adeeb Shihadeh 5d82a760db Qt onroad alerts (#20776)
old-commit-hash: f9072199571742f9e349990bb58540401a863f67
2021-05-04 23:23:00 -07:00
Dean Lee 03f823a3fc SshControl: use HttpRequest to get ssh keys (#20784)
* use HttpRequest

* remove eventloop

* rebase master

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 00aa20f55a6df3dbda339cc107efcd23f0c2dc5a
2021-05-04 22:28:41 -07:00
Adeeb Shihadeh 55a9ec8a93 set nice values for non RT processes (#20812)
* set nice values for non RT processes

* builds

* fix qcom build

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ec414e2eb1e27eac04582ffbdc88f8022bfb34cc
2021-05-04 22:00:11 -07:00
Erich Moraga 64ecc3e265 Add ESP f/w for AVALON (#20824)
`@JRyan#4759` 2020 Toyota Avalon Limited  DongleID/route 619c87373e917a0c|2021-05-04--17-08-14
old-commit-hash: bea9cc14d3a809331206850283d71334165e71d2
2021-05-04 21:57:17 -07:00
xps-genesis ba5898bed4 Chrysler BSM info signal (#20694)
* Chrysler BSM info signal

* change to ==1

* add checks to enable bsm

* add fingerprint can id for enableBsm

* gate behind enableBsm

* fix indenatation

* update refs

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1e473d764a26e923bdba86879f317ab2d6c6d96c
2021-05-04 20:37:39 -07:00
Adeeb Shihadeh 2cae954d55 add back .python-version
old-commit-hash: 847dae80feee9721cc5e5d84b05b03d8569be05a
2021-05-04 14:16:53 -07:00
Brett Sanderson a02f16d094 2017 Honda CRV firmware (#20821)
old-commit-hash: 6a679161bae2ee09ec0d13b8f8db4340afbb9b54
2021-05-04 11:44:51 -07:00
Adeeb Shihadeh 88434dc9e4 add CLEAR_ON_IGNITION param type (#20810)
old-commit-hash: b4447993c10b36628cb72b58dba8104c9060bb7f
2021-05-04 11:32:40 -07:00
Dean Lee 175bdf8773 Sidebar: update text and color in one place (#20777)
* do not set text&color in ctor

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c4054428207c60fe2e96103554692ac7f7dcf968
2021-05-04 11:30:50 -07:00
Dean Lee b12a444bdd Params: move keys from cython to cc (#20814)
* move keys from cython to cc

* consistency

* passes tests

* more consistency

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 27d3f820bf4d34bbc799cfc7ce5f9e006f0fe774
2021-05-04 10:49:26 -07:00