Commit Graph

6471 Commits

Author SHA1 Message Date
Willem Melching
9ef17a877f sanity check on debayer time in CI (#24453)
* check debayer time

* set actual threshold

* also print mean and max
2022-05-06 17:27:54 +02:00
Willem Melching
85975e3dd9 test_debayer.py some PC fixes (#24449)
* test_debayer.py some PC fixes

* fix rgb shape
2022-05-06 16:32:44 +02:00
Gijs Koning
e6f9f12d1c Test gnssUblox message processing (#24404)
* Add simple test for processing ublox messages

* Add simple test for processing ublox messages

* Update selfdrive/locationd/test/test_ublox_processing.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* Update

* Push laika ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-05-06 06:44:38 -07:00
Gijs Koning
634f630e08 Bump laika and cereal (#24451) 2022-05-06 06:44:09 -07:00
Gijs Koning
b64fe6e339 Laikad: the basics for ublox msg processing (#24359)
* Add laikad that receives ublox messages and publishes corrected measurements and position fix

* types

* cleanup

* laikad version 1 with uncorrected measurements

* push

* Fix glonass frequency and delete redundant test

* Update after cereal and cleanup

* Add test, fix laikad and remove process replay for now

* update laika

* add hatanaka to packages. Used to decompress orbit data

* Fix pip
2022-05-06 04:41:14 -07:00
Joost Wooning
df8f024e19 uploader: size limit for automatic uploading of qlogs/qcams (#24403)
* uploader: size limit for automatic uploading of qlogs/qcams

* move check to add logging

* use constant

* mark as uploaded

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-05-06 11:47:58 +02:00
Willem Melching
95fa6b1df8 camerad: get embedded statistics and data by embedding in pixel data (#24353)
* camerad: AR0231 read embedded data and statistics

* reorder

* remove unrelated camera config
2022-05-06 11:47:14 +02:00
Adeeb Shihadeh
b16e612102 remove eon debug scripts 2022-05-05 19:42:18 -07:00
Adeeb Shihadeh
66fbce638f uploader: compress rlogs (#24447) 2022-05-05 19:13:06 -07:00
Left5566
4beb764aed Toyota: add missing Prius TSS2 engine FW (#24438)
Prius 2021  DongleID/route c3834a2fe82b632b|2022-05-05--19-39-41
2022-05-05 11:59:15 -07:00
Brandon Zimmerman
da74085d56 Toyota: add missing FW versions for 2022 Lexus ES 300h (#24431)
* Add 2022 Lexus ES Hybrid f/w - LEXUS_ESH_TSS2

2022 Lexus ES Hybrid

* change carinfo

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-05-05 11:20:53 -07:00
Shane Smiskol
6efb42613b Toyota: Add missing FW versions for RAV4 Hybrid 2022 (#24430) 2022-05-05 10:21:46 -07:00
Joost Wooning
d8c0cf5d55 debayering: typedef half as float to run on pc (#24439)
* debayering: typedef half as float to run on pc

* add casts to literals

* define existing half type

* remove test code
2022-05-05 17:38:39 +02:00
Joost Wooning
9da9b773eb test for comparing debayer results to ref commit (#24420)
* test for comparing debayering results to ref commit

* fix run on device

* print more useful diff

* limit to diff output

* remove env var

* ref

* more useful diff

* use real local work size

* remove pyopencl install

* update ref

* include rgb_to_yuv

* fix diff

* get kernel build out of loop

Co-authored-by: Comma Device <device@comma.ai>
2022-05-05 16:05:37 +02:00
Joost Wooning
1f9907122a make debayering consistent at edges (#24437) 2022-05-05 13:06:13 +02:00
Adeeb Shihadeh
1bc6f2fa7d increase cruiseMismatch threshold (#24428) 2022-05-04 15:58:08 -07:00
Adeeb Shihadeh
674a2061fd CI: allow triggering prebuilt workflow manually 2022-05-04 15:08:08 -07:00
Shane Smiskol
e3fd6a7c50 Add azure-storage-blob to dev packages (#24426)
* add azure-storage-blob

* same
2022-05-04 15:00:47 -07:00
Adeeb Shihadeh
2466233b1c body: opt-out logging (#24423)
* body: opt-out logging

* wait a bit

* little better

* fix that too

Co-authored-by: Comma Device <device@comma.ai>
2022-05-04 14:57:39 -07:00
Adeeb Shihadeh
930d0c01a9 latency logger: better errors and minor cleanup 2022-05-04 14:16:27 -07:00
Lukas Petersson
43d2a3c187 warning instead assert (#24424)
* warning instead assert

* warning description
2022-05-04 14:05:41 -07:00
Willem Melching
e8892481ab ui: fix HUD drawing order (#24419) 2022-05-04 12:12:13 +02:00
Willem Melching
3fc01ec15a cameraview.cc: set alignment to 1 when copying texture (#24418) 2022-05-04 11:44:16 +02:00
Willem Melching
9307fe434c map.cc: fix crash on older route with missing liveLocationKalman values 2022-05-04 11:37:31 +02:00
Adeeb Shihadeh
670126cbf1 body: opt-in logging (#24416) 2022-05-03 23:46:59 -07:00
Adeeb Shihadeh
cdf6338388 manager: start process by callback (#24417) 2022-05-03 23:30:35 -07:00
Jason Young
0771addd14 update joystick README for webjoystick (#24413) 2022-05-03 17:03:17 -07:00
Adeeb Shihadeh
043a309d67 ui: new notcar battery design (#24412)
* ui: new notcar battery design

* if charging

* cleanup

* remove that

* slower

* real colors

* relative from left

* fix that
2022-05-03 16:51:44 -07:00
ntegan1
9a44d4c4e0 LatControlTorque: log desired/actual lateral accel (#24406)
* log torque lateral accel

* bump cereal

* update refs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-05-03 14:18:46 -07:00
Adeeb Shihadeh
986a991a09 body: log charging status (#24409)
* body: log charging status

* update refs
2022-05-03 13:27:19 -07:00
Shane Smiskol
3f0b06b16e Chrysler: clean up CarController (#24337)
* clean up

* max range is 15

* use wheel buttons counter and clean up

* no

* try spamming 10 times with next counter value

* try 50 hz

* this is dead code

* revert behavior changes, just clean up

* revert more

* also that

* no multiline can creation

* sort imports
2022-05-03 13:17:24 -07:00
Adeeb Shihadeh
c994dfdd8a one day you'll be a submodule 2022-05-03 13:00:01 -07:00
Joost Wooning
05f606c812 camerad: allow to log raw camera frames (#24393)
* camerad: log raw camera frames with env var

* dont qlog

* cleaner

* only road camera

* use vision buf len

* use static counter to handle frame skips

* we already have cnt

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-05-03 17:30:22 +02:00
Willem Melching
77a6f3d034 delay bz2 compression from logging to uploading (#24392)
* remove log_name

* log without compression

* fix tests

* remove extension for bootlog

* another test fix

* uploader compresses

* also compress in athena

* only compress qlog

* more generic check in do_upload

* fix bootlog compression

* lower loggerd cpu usage

* dont link against bz2

* set core affinity to little cluster

* handle old files
2022-05-03 14:09:17 +02:00
Adeeb Shihadeh
061b18805e UI: add battery percent to body (#24401)
* UI: add battery percent to body

* little smaller

Co-authored-by: Comma Device <device@comma.ai>
2022-05-02 21:34:06 -07:00
Adeeb Shihadeh
d7c6121ba8 UI: better double click on touch screens (#24400)
* UI: better double click on touch screens

* lower

* just right

Co-authored-by: Comma Device <device@comma.ai>
2022-05-02 19:18:50 -07:00
Shane Smiskol
5b105facae Add ACC faulted status to carState (#24399)
* add accFaulted bool to carState

* same for VW

* remove import

* bump

* move to common

* bump cereal to master
2022-05-02 18:05:00 -07:00
Dylan Herman
603942ffe0 enable numpy mypy typing (#24387)
* enable numpy mypy typing

* remove --warn-return-any

* merge conflict and syntax

* merge conflict

* merge conflict

* add type to img var
2022-05-02 16:48:04 -07:00
HaraldSchafer
8cdeaf9aee Latcontrol torque: update tuning (#24357)
* Little more chill

* Update ref

* Update refs
2022-05-02 14:42:18 -07:00
Shane Smiskol
055f5b2a09 bump panda 2022-05-02 13:37:04 -07:00
Shane Smiskol
4190d2608a Change safetyParam to uint16_t (#24376)
* bump panda & cereal

* bump panda

* rest of references

* regen TOYOTA with safety param 578, TOYOTA2 with 329

* regen rest of routes

* update ref

* bump cereal
2022-05-02 13:34:31 -07:00
Willem Melching
6e0c25d654 camerad: cleanup DM exposure and move into camera_qcom2.cc (#24391)
* camerad: cleanup DM exposure and move into camera_qcom2.cc

* remove include
2022-05-02 12:04:23 +02:00
Willem Melching
b361632cc2 bump cereal 2022-05-02 10:24:33 +02:00
Joost Wooning
7ac92938d2 UI: remove unused lock and fence (#24355) 2022-05-01 18:57:39 -07:00
Adeeb Shihadeh
39cf862435 lines for mypy report 2022-05-01 18:52:32 -07:00
Keyvan Fatehi
0bbfc63c9c body: add fuelGauge to body carState (#24386) 2022-05-01 18:41:50 -07:00
Comma Device
ec7cd74dc3 bump cereal 2022-04-30 09:31:31 -07:00
George Hotz
0baa4c3e2a loggerd: switch to v4l encoder try 2 (#24380)
* start v4l encoder

* v4l encoder starts

* start and stop

* fill in proper controls

* it dequeued a buffer

* getting bytes

* it made a video

* it does make files

* getting close

* ahh, so that's how dequeue works

* qcam works (no remuxing)

* remuxing works

* we just need to make shutdown and rollover graceful

* graceful destruction

* switch to polling

* should work now

* fix pc build

* refactors, stop properly

* touchups, remove a copy

* add v4l encoder to release

* inlcude file

* move writing to it's own thread

* fix minor memory leak

* block instead of dropping frames

* add counter, fix tests maybe

* better debugging and test print

* print file path in assert

* format string in test

* no more oversized qlogs

* match qcam

* touchups, remove omx encoder

* remove omx include files

* checked ioctl, better debugging, open by name

* unused import

* move linux includes to third_party/linux/include

* simple encoderd

* full packet

* encoderd should be complete

* lagging print

* updates

* name dq thread

* subset idx

* video file writing works

* debug

* potential bugfix

* rotation works

* iframe

* keep writing support

* ci should pass

* loggerd, not encoderd

* remote encoder code

* support remote encoder

* cereal to master, add encoderd

* header no longer required

* put that back there

* realtime

* lower decoder latency

* don't use queue for VisionIpcBufExtra, disable realtime again

* assert all written

* hmm simpler

* only push to to_write if we are writing

* assert timestamp is right

* use at and remove assert

* revert to queue

Co-authored-by: Comma Device <device@comma.ai>
2022-04-30 09:22:52 -07:00
Keyvan Fatehi
7b394510cb Fix spelling in dump.py help output (#24381) 2022-04-29 20:13:44 -07:00
Shane Smiskol
24b5164ce6 Subaru: Add fwdCamera FW for 2018 Crosstrek (#24377) 2022-04-29 18:23:47 -07:00