Commit Graph

3522 Commits (7222d0f20dc8edfe0d2f3417d1ce7c84fbd32805)

Author SHA1 Message Date
Dean Lee 7222d0f20d
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>
2021-05-08 22:15:17 -07:00
ZwX1616 9c60d8a7cb
match wording to reality 2021-05-07 17:14:42 -07:00
Adeeb Shihadeh e1a58e6268
match nvg sidebar (#20847) 2021-05-07 15:12:29 -07:00
Willem Melching 26e518a6af
Batch of FW versions (#20850) 2021-05-07 15:02:51 +02:00
Adeeb Shihadeh 0148c24147
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>
2021-05-07 13:32:34 +02:00
Erich Moraga 05a12aa5de
Add missing fwdCamera CAMRYH_TSS2 f/w (#20846)
`@Zskyph#6176` 2021 Camry Hybrid  c2f1a4fdb1ea4510|2021-05-06--13-46-54
2021-05-06 14:50:19 -07:00
Willem Melching c62bb10640
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>
2021-05-06 13:39:50 -07:00
Willem Melching fc3da5eaf9
Use standstill flag in locationd (#20838) 2021-05-06 13:13:13 -07:00
Willem Melching 7cc56edcf4
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>
2021-05-06 11:21:46 -07:00
Willem Melching a0a1ed0cbc update test fuzzy 2021-05-06 19:27:58 +02:00
Willem Melching ab319d4f54
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>
2021-05-06 14:39:05 +02:00
Willem Melching 5856d7d549
C++ Process Replay improvements - Part 2 (#20839) 2021-05-06 14:31:03 +02:00
Willem Melching 3a95d3ccaa Revert "Replace ifdefs with hardware abstraction layer (#20801)"
This reverts commit 757d2923d2.
2021-05-06 12:29:30 +02:00
Willem Melching d34647bbf7 Revert "Fixes after ifdef clenaup (#20842)"
This reverts commit fd7c2b4adf.
2021-05-06 12:29:19 +02:00
Willem Melching fd7c2b4adf
Fixes after ifdef clenaup (#20842) 2021-05-06 11:58:35 +02:00
Willem Melching 12f17dc2f4
Agnos 0.14 (#20826) 2021-05-06 11:52:02 +02:00
Dean Lee 757d2923d2
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
2021-05-06 11:41:46 +02:00
James Moratti 937c2fa9f3
2021 Lexus RX350 FW versions (#20813)
Add values for 2021 Lexus ES350
2021-05-06 11:31:48 +02:00
johnlu6518 7b76a7223a
Lexus IS 200T FW versions (#20837)
Lexus IS 200T 2017 in Taiwan..
Engine fw for lexus IS

Device: comma two
Dongle ID: ec30903bb15db3ad
2021-05-06 11:26:13 +02:00
Willem Melching e9db5723ef
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>
2021-05-06 11:01:58 +02:00
Adeeb Shihadeh 930fe1a5ea
add jeep grand cherokee test route (#20835) 2021-05-05 21:58:19 -07:00
George Hotz 636a89b48e support file in juggle.py 2021-05-05 12:15:48 -07:00
Willem Melching b2b7cb387a hypothesis: only generating valid data works better for test case reduction 2021-05-05 18:20:14 +02:00
Willem Melching 0c29adcc76 hypothesis: speed up test case reduction 2021-05-05 18:06:37 +02:00
Willem Melching b768729755 paramsd: nan checks are implicit now 2021-05-05 17:44:28 +02:00
Willem Melching d6a575a860 paramsd: stricter checks on locationd yaw rate outputs 2021-05-05 17:42:11 +02:00
Willem Melching 32fa26075f speed up fuzzing by sending SIGKILL when done 2021-05-05 17:27:30 +02:00
Willem Melching d96edb6817
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
2021-05-05 17:14:29 +02:00
Willem Melching 33edb62967
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
2021-05-05 13:25:29 +02:00
Adeeb Shihadeh f907219957
Qt onroad alerts (#20776) 2021-05-04 23:23:00 -07:00
Dean Lee 00aa20f55a
SshControl: use HttpRequest to get ssh keys (#20784)
* use HttpRequest

* remove eventloop

* rebase master

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-05-04 22:28:41 -07:00
Adeeb Shihadeh ec414e2eb1
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>
2021-05-04 22:00:11 -07:00
Erich Moraga bea9cc14d3
Add ESP f/w for AVALON (#20824)
`@JRyan#4759` 2020 Toyota Avalon Limited  DongleID/route 619c87373e917a0c|2021-05-04--17-08-14
2021-05-04 21:57:17 -07:00
xps-genesis 1e473d764a
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>
2021-05-04 20:37:39 -07:00
Adeeb Shihadeh 847dae80fe add back .python-version 2021-05-04 14:16:53 -07:00
Brett Sanderson 6a679161ba
2017 Honda CRV firmware (#20821) 2021-05-04 11:44:51 -07:00
Adeeb Shihadeh b4447993c1
add CLEAR_ON_IGNITION param type (#20810) 2021-05-04 11:32:40 -07:00
Dean Lee c405442820
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>
2021-05-04 11:30:50 -07:00
Dean Lee 27d3f820bf
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>
2021-05-04 10:49:26 -07:00
Adeeb Shihadeh ed3b6bd90c
UI: fast startup (#20781)
* faster startup

* faster

* cleanup

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

* Update selfdrive/locationd/paramsd.py
2021-05-04 09:50:45 -07:00
Willem Melching 7a8f61f4bf
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
2021-05-04 09:24:24 -07:00
Adeeb Shihadeh 0b26b08a7c CI: clear qcom replay build cache 2021-05-03 22:02:13 -07:00
Adeeb Shihadeh 6075683474 raise jenkins timeout 2021-05-03 21:53:28 -07:00
Adeeb Shihadeh b9f9e2dfda
fix double DM sounds (#20811)
* fix double DM sounds

* debug script

* bool

* cleanup

* inf

Co-authored-by: Comma Device <device@comma.ai>
2021-05-03 21:38:22 -07:00
Adeeb Shihadeh 80eb9abc67 fix release files 2021-05-03 20:56:02 -07:00
Adeeb Shihadeh 8a280fbb8e bump cereal 2021-05-03 20:47:11 -07:00
Dean Lee bdf4a94cd0
ui/replay: file extensions to .cc and .h (#20805) 2021-05-03 20:22:32 -07:00
Adeeb Shihadeh 5f3fe01002 don't init sentry on non-comma remote 2021-05-03 20:14:31 -07:00
Adeeb Shihadeh 6954eb6259
clear controls ready flag on falling edge of ignition (#20807) 2021-05-03 19:09:42 -07:00