Commit Graph

7107 Commits

Author SHA1 Message Date
Adeeb Shihadeh
f4675fc260 Merge common/ and selfdrive/common (#24556)
* Merge common/ and selfdrive/common

* fix that

* fix version

* fix unit tests
old-commit-hash: cb8885cffb313bea258c012c3026461a22bf8135
2022-05-18 14:11:57 -07:00
George Hotz
eea872ae98 compressed_vipc: use correct system timestamps
old-commit-hash: e4b7791044003663d354c1734d1744dbe69f36e6
2022-05-18 13:18:00 -07:00
George Hotz
fca47bb6a4 add unixTimestampNanos to encoderd (#24583)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c2279ef39dd7a2cda88ec6949b24ff0f71c19983
2022-05-18 12:58:52 -07:00
George Hotz
d811962f7a add to compressed_vipc
old-commit-hash: bb5a05084063ddf5ab2a353c1ca48c3cc8566d74
2022-05-18 12:58:12 -07:00
Adeeb Shihadeh
54290d8c28 bump cereal
old-commit-hash: e469803c27d5587df536d41d1d5214b671e59a1e
2022-05-18 11:45:01 -07:00
HaraldSchafer
3494ec7bbd Revert "Joint model (#24521)" (#24581)
This reverts commit 9fc732468ee4d4fd135d679a919c748633f06d02.
old-commit-hash: e2e5378dd3dbcc35777495a578bd842ba3096fac
2022-05-18 10:56:45 -07:00
Willem Melching
01c2070a59 remove debug print
old-commit-hash: fd63de71f092f55613d3a4e8fcb034339c253a50
2022-05-18 12:29:24 +02:00
Willem Melching
f957c16a7b make normal logreader more robust (#24577)
old-commit-hash: 194e5fdf1c9ba2e01e2ec7faa62432d2a3b1870b
2022-05-18 12:21:01 +02:00
Adeeb Shihadeh
1d9d8d874b controlsd cpu has crept up
old-commit-hash: 3771ccc6550dfe4f0797bb249354f3f52cbf53a3
2022-05-17 19:42:58 -07:00
HaraldSchafer
efa559f9be Revert torque control (#24565)
* torque reversal start

* Fix carmodel tests

* Update ref

* update ref

* Elif is better than if
old-commit-hash: 9f8b03753dbdb131fac7bdc021e841cb30b3bf2c
2022-05-17 19:00:57 -07:00
George Hotz
1b18cef243 thneed: add flag to enable optimizer (#24568)
* improve the thneed compiler

* only init thneed if we are using the GPU

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0fc4b4df9896ff1466c0443df8c945e4e8a0c3c9
2022-05-17 17:39:18 -07:00
Lukas Petersson
6034c5414a params: expose getParamPath in python (#24572)
* params path

* cereal
old-commit-hash: 06b4466388beafc1b043e850d14b341a8e918f5f
2022-05-17 16:48:48 -07:00
Harald Schafer
8d6cda4d53 Revert "Fix tests"
This reverts commit 06d6464c6f54ceee925eb6474c5148def1e8028b.

old-commit-hash: acfa0b74fe5cf0a37b5aa421ee4725cc0ef0640f
2022-05-17 13:48:26 -07:00
Harald Schafer
4c17844b9f Fix tests
old-commit-hash: 61becd444f0ec2f4454884667096e15c5e61bc07
2022-05-17 13:46:14 -07:00
omatzyo
264b40878e Toyota: add 2021 RX350 fingerprint (#24540)
Update values.py

Adding 2021 RX350
old-commit-hash: e08c712a085b7f54f71b7f2e1cf3a7c35ecd4b8a
2022-05-17 10:59:15 -07:00
ntegan1
0a3fde5334 Tools: allow using plotjuggler on local data (#24473)
local juggler
old-commit-hash: 07f7570840320aeb16803e9c93f1d8e648568dba
2022-05-17 19:50:23 +02:00
George Hotz
3ee5b1bf07 make debayer faster (#24557)
* remove local caching

* remove local caching

* reduce camerad power

* break stupid imx390 black level support

* handle edges

* now 13ms, vignetting is 'slightly' less correct

* halfs->floats and inlines, down to 12.9ms

* oops, fix float

* val from 12 is ushort

* don't decide vignetting in the debayer kernel

* 7.77 ms

* adding back black level support was free

* Revert "adding back black level support was free"

This reverts commit a841d17727886807a040dcf856ab22480fa93eff.

* minor

* rip out unused gain and black level, remove print

* save 150mW

* fix replay test

* fix top/bottom rows

* lame left right edge fix

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Joost Wooning <jwooning@gmail.com>
old-commit-hash: 72b52f8b7d74bf3ea6fe8bd4d59af1c44c83afdb
2022-05-17 10:18:36 -07:00
Adeeb Shihadeh
a6bcd14abd show which cameras are malfunctioning (#24558)
old-commit-hash: 0b1f6e3620793a0a06708464387613cec2937591
2022-05-16 22:01:04 -07:00
Adeeb Shihadeh
bec4ca8e7d bump opendbc
old-commit-hash: e4f844cdd8060bd6699cb80d29d3ee46cbb24ba2
2022-05-16 22:00:37 -07:00
Adeeb Shihadeh
cfc16a88c5 improved alert verbosity (#24434)
* improved alert verbosity

* better testing script

* better description

* speed diff

* touch ups

* fix that
old-commit-hash: b1858df00e40f96832f812cb5b42596b8f522ab7
2022-05-16 21:19:38 -07:00
George Hotz
46d11a2583 compressed_vipc: print frame latency
old-commit-hash: fe867df102a393a7a73de07b61d434cec19b3a3c
2022-05-16 20:40:11 -07:00
ntegan1
e714fe08e4 Include master commit and build date in master-ci commit (#24548)
* save commit information in master-ci

* cleanup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 20887755430e52c8c41fb67968d866d8d123734b
2022-05-16 18:53:02 -07:00
HaraldSchafer
78c2e16a03 Joint model (#24521)
* update models

* wip lanelines mhp parsing

* typos

* newer models

* 95995a49-db0c-4261-8776-b90780dc2a8c/600

* Use laneful policy to prevent planner aggression

* c8c3ab69-bd2c-4d1c-a7f8-9e8457e4827b/950

* ede8f75a-df3e-41fb-bc56-63e2f33858e5/950

* 7205c5af-7532-4215-ad9b-678789054db7/995

* bfb34fa3-1d72-4987-854f-43d42ee01015/950

* change cost

* 8ae2477a-b452-4601-b04c-d3af66ea5e98/950

* Update heading cost

* 9b991314-94f5-4f0b-872e-58d95266e4d0/333

* 9b991314-94f5-4f0b-872e-58d95266e4d0/950

* ede8f75a-df3e-41fb-bc56-63e2f33858e5/950

* undo lateral planner changes

* rm whitespace

* update ref

* c0acc19d-f2f1-47ae-8838-5382c6c6c7f5/950

* c0acc19d-f2f1-47ae-8838-5382c6c6c7f5/950

* update model refg

* Update model ref

Co-authored-by: Yassine Yousfi <yyousfi1@binghamton.edu>
old-commit-hash: 7996fd37ef127c76aa62afa27f97ad4898fe1898
2022-05-16 17:26:23 -07:00
Comma Device
619af7f5c3 Revert "remove local caching"
This reverts commit f2df7b5b81e5846ca0a6b007e7d4ef47e67639a5.

old-commit-hash: 5612c4f22cdf302f49bfb7b75e9a543e8b3d87c9
2022-05-16 17:10:38 -07:00
Comma Device
d9a47a6599 remove local caching
old-commit-hash: 51d441ad789a74179dab0f56c5c85d5a670dcfce
2022-05-16 17:09:42 -07:00
George Hotz
d0bcf17691 encoderd: fix bytesused (#24553)
fix bytesused

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 3718f9a6e0fdae601b1f90e1f88328609edea885
2022-05-16 16:58:19 -07:00
George Hotz
126014765f compressed_vipc: set NV_LOW_LATENCY flag
old-commit-hash: 2a978e36ac0159fa78861e9075f2685fca5b63fe
2022-05-16 15:58:31 -07:00
Lukas Petersson
622b4b9d9e params: support OPENPILOT_PREFIX (#24495)
* prefix params

* set env

* prefix in manager

* filesystem except

* dont delete manager folder

* Update selfdrive/common/params.h

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* debug same path

* remove cleanup + same default

* dont use filesystem lib

* param symlink path

* path

* spelling

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: c28735358e48a6360b95e9cc15d47ec16acaa83d
2022-05-16 15:58:13 -07:00
Adeeb Shihadeh
318b9cff4b CI: pull LFS after checkout (#24552)
old-commit-hash: 2c2c61fd77278443cbbf46a93148e1b0aaf5b798
2022-05-16 14:30:20 -07:00
Shane Smiskol
19aebce4f2 Round system overheated temperature (#24544)
* Update events.py

* Apply suggestions from code review

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 961a121fde36fca88834e732fc50b34fbd82e94b
2022-05-16 18:08:02 +02:00
Willem Melching
599d52ded2 camerad: improve error logging (#24550)
old-commit-hash: 8811142787a0690499237e1b449e0d524dc81f35
2022-05-16 16:31:14 +02:00
ntegan1
b9a07b8f05 Round model lagging frame drop percentage (#24549)
alerts: round model frame drop percentage
old-commit-hash: 076f0acd5fcd5bca59d9403232c3e37e86db19d1
2022-05-16 16:26:18 +02:00
Willem Melching
0a2c2a6b28 Add unittest for alert callbacks (#24551)
add alert callback test
old-commit-hash: 31af13101ba2ad3b6282140c70c07e5298ccffce
2022-05-16 16:25:52 +02:00
Robbe Derks
5ea517c299 Tesla stock AEB forwarding (#24503)
* keep long control in sync with the stock system

* panda changes needed

* add stock AEB state

* forgot to add the counter

* fix skipping some counter values if they overlap
old-commit-hash: b9c350bf98afeb79489eb5db134d072d54e201f1
2022-05-16 13:49:40 +02:00
Joost Wooning
4b3954a21f debayering: update test ref commit
old-commit-hash: 2294fcdbe7c87cec6572f813e8f7f31e94841102
2022-05-16 13:37:16 +02:00
Joost Wooning
fb32a313a1 debayering: fix divide for reading 12 bit values (#24546)
old-commit-hash: 8f9ba7540b4549b4a57312129b8ff678d045f70f
2022-05-16 13:19:22 +02:00
Willem Melching
3dcf2ab4f1 camerad: sanity check register data before parsing (#24547)
old-commit-hash: 1dcd5096baecf072ee576d19b2622105ffc167e7
2022-05-16 13:19:06 +02:00
Adeeb Shihadeh
a6c758e8eb bump panda: CAN FD safety (#24545)
* bump panda

* bump to master
old-commit-hash: f16e30a44ff5026f1aee502f44f525db2de31d5b
2022-05-16 00:06:33 -07:00
Keyvan Fatehi
fb1bf84fb5 typo fix (#24542)
old-commit-hash: 79a6512345e80269050ab4fb753564c3d0f0ebe2
2022-05-15 22:47:28 -07:00
Comma Device
4d4d1be060 fixup .gitignore
old-commit-hash: 0252491f5c7b11646a61d618df5d4ad32d0b2f49
2022-05-15 19:22:35 -07:00
Adeeb Shihadeh
85fb2d4167 bump opendbc
old-commit-hash: 59319759dd432c17119ac31708a8f321839b727d
2022-05-15 18:43:57 -07:00
Adeeb Shihadeh
8f0df45031 CI tuneup (#24541)
* little housekeeping

* all the commits

* one more cars
old-commit-hash: b2569d871ffcdb41f0100cdec7ee56eeb5f605fd
2022-05-15 17:57:34 -07:00
Adeeb Shihadeh
5659b6e6ce more comma two cleanup (#24300)
* more comma two cleanup

* fix up power monitoring
old-commit-hash: 6a48a7acef483907990e34e040deee70c689e700
2022-05-15 17:55:22 -07:00
Adeeb Shihadeh
39de4d80b4 move models to selfdrive/modeld/ (#24539)
* move models to selfdrive/modeld/

* two more refs
old-commit-hash: 319f3d1475f2f212b63f32dbace476f63b3caf14
2022-05-15 17:29:09 -07:00
Adeeb Shihadeh
fb1c3b0d5d common: replace custom xattr implementation with os module's (#24448)
* use os module's xattr function

* fix that

* handle in helper
old-commit-hash: 81dacbedcacaf9db43d19700e04e7361c0fbbbcc
2022-05-15 17:13:50 -07:00
Adeeb Shihadeh
9727e7b3c3 remove common/string_helpers.py
old-commit-hash: 38e294f3932e1020832c4369f69a6844dbb3f8b2
2022-05-14 22:27:45 -07:00
Adeeb Shihadeh
d33afc2cac remove custom markdown rendering (#24538)
* remove custom markdown rendering

* remove from release
old-commit-hash: 222c7cd60d96c5972fa9fd163d54c93116ffdd2c
2022-05-14 22:18:13 -07:00
Adeeb Shihadeh
29a516bed8 replay: cleanup unused RGB buffers (#24537)
* replay: cleanup unused RGB buffers

* update replay cam

* little more
old-commit-hash: ab75c53792718d32e51d34336be3fae568051d2b
2022-05-14 19:55:12 -07:00
Shane Smiskol
874ba219dc Fix process replay regen (#24517)
* fix regen issues

* compress like uploader
old-commit-hash: d6c6275163fde581b9c32059561d2f720063e808
2022-05-14 19:53:08 -07:00
Adeeb Shihadeh
6a8fefd5de loggerd: adjust qcamera threshold, seemed to be tuned for comma two
old-commit-hash: 5a58ebf183e1066f5d94163a05d9180a66447409
2022-05-14 01:04:46 -07:00