Commit Graph

4076 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh 2fb8b563eb UI: fast startup (#20781)
* faster startup

* faster

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ed3b6bd90cb882b543bfaa680c4f09f356439b65
2021-05-04 10:05:23 -07:00
Willem Melching b9fa4e5696 Add more sanity checks to paramsd (#20820)
* add more sanity checks to paramsd

* Update selfdrive/locationd/paramsd.py
old-commit-hash: 9fb79024ef34206e127a30a408b7bac970387c08
2021-05-04 09:50:45 -07:00
Willem Melching 2c8e65a90d Remove unnecessary trim levels from car name (#20815)
* remove unnecessary trim levels from car name

* remove hardcoded strings

* fix process replay

* more fixes

* fix migration

* update ref
old-commit-hash: 7a8f61f4bf83d18d2fca5fd42eb2d24849d3e58f
2021-05-04 09:24:24 -07:00
Adeeb Shihadeh f009cf1373 CI: clear qcom replay build cache
old-commit-hash: 0b26b08a7c40cb58c9574f4df7db0e854341e3ed
2021-05-03 22:02:13 -07:00
Adeeb Shihadeh 9a3cb26a57 raise jenkins timeout
old-commit-hash: 6075683474be5b8851b2f24fda6b463d83dd09d3
2021-05-03 21:53:28 -07:00
Adeeb Shihadeh 201e0777aa fix double DM sounds (#20811)
* fix double DM sounds

* debug script

* bool

* cleanup

* inf

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b9f9e2dfdac2a5a95be376b7622337dcfdf2b020
2021-05-03 21:38:22 -07:00
Adeeb Shihadeh 4e38a101ec fix release files
old-commit-hash: 80eb9abc67542f37ab76b5e6c31dcad553a53a54
2021-05-03 20:56:02 -07:00
Adeeb Shihadeh 532d19427c bump cereal
old-commit-hash: 8a280fbb8eb433fbfe0fc43254c9cbdaceedbab6
2021-05-03 20:47:11 -07:00
Dean Lee 9159291a09 ui/replay: file extensions to .cc and .h (#20805)
old-commit-hash: bdf4a94cd03746e498d21d8224e625135632b1c3
2021-05-03 20:22:32 -07:00
Adeeb Shihadeh 8a759792c4 don't init sentry on non-comma remote
old-commit-hash: 5f3fe0100244cc519acdfd0c5f74d5c71dae0a62
2021-05-03 20:14:31 -07:00
Adeeb Shihadeh e09f7360e0 clear controls ready flag on falling edge of ignition (#20807)
old-commit-hash: 6954eb62595474d6f1e974f1cdcad72e79d1fe5d
2021-05-03 19:09:42 -07:00
Willem Melching 8bd3b9a7b8 paramsd: check NaN in inputs and outputs (#20804)
old-commit-hash: 0b4d28b9d697ad7b55495993bd4a7d2800c4e79b
2021-05-03 14:13:31 +02:00
Willem Melching 523c00acdc Improve community feature alert text (#20803)
old-commit-hash: b38e57eb2b1c5b6b438fb238b1752f40b4a9e188
2021-05-03 11:59:01 +02:00
Dean Lee 9a827fea20 c++ cleanup: standardize file extensions to .cc and .h (#20800)
* c++ cleanup: standardize file extensions to .cc and .h

* cleanup files_common
old-commit-hash: 81491dc57f5080c602a0be58dd5f9feba2fa31b9
2021-05-03 11:53:11 +02:00
Dean Lee 7d042b746f Fix build errors in qt/setup (#20795)
* fix build error

* remove line

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 4bb3619a0ec8d4b76698d7b86e0f224495a6f1f1
2021-05-02 16:50:14 -07:00
Comma Device eda1bcaef9 configure SSL globally on NEOS
old-commit-hash: 23faedd25eb6895c86bb890fdbf4f48889ecf4c3
2021-05-02 16:29:02 -07:00
Adeeb Shihadeh e20bb940c5 remove from release notes after revert
old-commit-hash: adf89264b74f3952d6a77deb91ef31c5bc048a6c
2021-05-02 16:08:53 -07:00
HaraldSchafer fd28911282 Revert "Locationd 100hz (#20759)" (#20797)
* Revert "Locationd 100hz (#20759)"

This reverts commit 995b89e6424a7b717fb2c725a64d617fb24a1a85.

* new ref
old-commit-hash: daecf4247be74fbe56ae84b4c6585c4c8cbc49b5
2021-05-02 15:06:34 -07:00
Adeeb Shihadeh 31f13e7747 Building on M1 (#20796)
* cereal builds

* UI builds

* libyuv
old-commit-hash: c65c6102a6622f0f55fc7eaeb6e9d317258ce6ed
2021-05-02 14:21:49 -07:00
Shane Smiskol 1846ddbc14 Update route for 2017 Corolla (#20793)
old-commit-hash: 5f61cd0531d6fc2d9280b1964a3407e25e2c2d27
2021-05-02 00:05:59 -07:00
Adeeb Shihadeh c9d5447edd registration unit tests (#20792)
* start tests

* more test

* done
old-commit-hash: 5b764ab47760f6b8b751cff074b245b988650051
2021-05-01 17:16:58 -07:00