Commit Graph

10970 Commits

Author SHA1 Message Date
Harald Schäfer
8960f76597 K1FD: generate kalman gain at init (#29610)
* K1FD: generate kalman gain at init

* Update interfaces.py

* Update interfaces.py

* Update interfaces.py

* Update ref_commit
old-commit-hash: f1b8a8646438008b35c0445812b818745ad01fc2
2023-08-25 13:44:03 -07:00
Harald Schäfer
669ed11483 bump laika (#29628)
old-commit-hash: 47a839ab1f57c7ccaf0118b58ae4f6ed2949d15f
2023-08-25 13:14:16 -07:00
Adeeb Shihadeh
da423fd36d include all model runners in release
old-commit-hash: 6b5a0b349851ec5cb6600e7b690cf9a4aac677f7
2023-08-25 12:02:22 -07:00
Dean Lee
d5631664d3 v4l_encoder: convert macro checked_ioctl to funtion (#29609)
* break to multiple lines

* convert to function

* format errno

* use safe_ioctl

* cleanup
old-commit-hash: 1e62999e75b2ba85b7c443af0d8b3132e8e909d2
2023-08-25 11:05:22 -07:00
Dean Lee
dbf03eb2c2 scons: fix always generating car_fingerprint_to_dbc.json (#29625)
old-commit-hash: 86386fd87f3d4bda7303957d543c772f4dda5e1a
2023-08-25 10:39:55 -07:00
Dean Lee
00f900e8c4 common/tests: combine multiple test binaries into one (#29623)
old-commit-hash: 2709cd6538363e439b3de39a9f4df05619dfbaa0
2023-08-25 10:35:39 -07:00
Dean Lee
5385263422 common/gpio: use util::safe_ioctl (#29624)
use util::safe_ioctl
old-commit-hash: 7270c6487237ee56e8a41c593ff7b3d8aa35a92c
2023-08-25 08:20:43 -07:00
Justin Newberry
e128aedc63 CI: move cache dir to workspace directory (#29622)
* comma dir

* mkdir

* fix issues

* test

* fix that

* fix

* do the other ones too

* missed that

* fix

* fix pr comments by moving into two different directories

* fix location

* fix that

* only change current

* fix
old-commit-hash: c0b9458a45f208c9773f859169a7de56d19b1bec
2023-08-25 01:41:04 -07:00
Shane Smiskol
fca565cad1 car/__init__: missing ending newline
old-commit-hash: ed6e72ae1fbc5605cac693d58b3143dd33c0d6fc
2023-08-25 00:43:29 -07:00
Shane Smiskol
ae9a124845 fingerprinting: log FW query time (#27880)
* Update car_helpers.py

* put in carParams

* bumpcereal

* rename

* bump cereal

* add cached

* bump cereal

* just add to fingerprinted event
old-commit-hash: ae2a6537b7eb13a03820bc449e3448e97f0bd38b
2023-08-24 21:11:01 -07:00
Adeeb Shihadeh
e2be1f4dae bump panda (#29619)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 465a72a87d9cfc058a256268ec0117d90aef35ed
2023-08-24 19:22:48 -07:00
Adeeb Shihadeh
06aea7d935 CI: remove redundant apt installs (#29617)
* CI: remove redundant apt installs

* split build and test

* faster build
old-commit-hash: 36cc41f619a50e21b90171bab1eedf1f15dd61a9
2023-08-24 17:32:15 -07:00
Adeeb Shihadeh
8f9dcca26a CI: workaround syntax error in azure lib (#29618)
old-commit-hash: e8638280518938e7029c576be421e7fc35ddc695
2023-08-24 17:18:11 -07:00
Justin Newberry
4063a92683 CI: use GITHUB_ENV for env variables (#29616)
export doesn't work across steps
old-commit-hash: 90cb417caa049261797449d7e75eea01093e073d
2023-08-24 17:03:25 -07:00
Mitchell Goff
5033da5e27 Added cython bindings for model runners and commonmodel (#29607)
* Added cython bindings for model runners and commonmodel

* Removed cython language_level=3

* loop to set CXXFLAGS for both envs
old-commit-hash: e2e39d100b32a6706e83c81a1ef3dcdd7ea4001f
2023-08-24 17:00:26 -07:00
Harald Schäfer
bc017ab936 Locationd: enable laikad (#29570)
* experiment

* llk back

* update refs

* update ref

* no internet

* Update ref
old-commit-hash: 8205590624913b927d7abb1d214ea25886d7c1ea
2023-08-24 16:51:45 -07:00
Justin Newberry
c4f322ce2d Linter: remove pylint (#29611)
remove pylint
old-commit-hash: 1ee6ed4b16e2ade0dd887c0687243aee769043e5
2023-08-24 16:30:54 -07:00
Justin Newberry
630b440536 CI: fix docker push (#29614)
* fix those

* fix docker push too

* dont need that twice
old-commit-hash: ede9f2cda5500d9e094e89a32518c88b56c3335b
2023-08-24 16:30:33 -07:00
Justin Newberry
6847f819d1 CI: use scripts for docker build (#29599)
* use scripts

* remove common

* do login in the workflow

* separate step

* cleanup

* one script is cleaner

* keep it consistent

* review suggestions

* move in ci too

* PR cleanup
old-commit-hash: 3d9f238bf9a1f27c5a9a44df1b0f116182829be0
2023-08-24 16:09:08 -07:00
mitchellgoffpc
01e73c76f8 Moved thneed src to top of modeld sconscript
old-commit-hash: 7dae580441ddad32bab13bea9b2fd87edbe5d887
2023-08-24 15:12:01 -07:00
Shane Smiskol
dcf9d9e3a7 ui/map: clip vehicle speed to min of 10 m/s (#29601)
* all the changes I want to make

* Revert "all the changes I want to make"

This reverts commit c18132b73eb9bba4d7871631d7cd4155eb7efcd0.

* add initialized

* clip to 10 m/s

* fix bug

* rm

* here?
old-commit-hash: b8fb26055825f4ee35f647b6d84c2e6e6878a93f
2023-08-24 15:09:30 -07:00
Bruce Wayne
d334798141 KF1D: add steady state kalman code
old-commit-hash: e7418cfa397ec2185e4b12baaa481017b7b23322
2023-08-24 15:04:47 -07:00
Adeeb Shihadeh
61cf541322 Minimal build (#29600)
* add build flag for minimum build

* add minimal build

* update

* fix pj

* bump opendbc

* update subaru
old-commit-hash: 4917e22615adbfcc9b3c3ec89b00d240e0b48883
2023-08-24 14:58:30 -07:00
Shane Smiskol
9a1f82a853 ui/map: initialize speed filter with current speed (#29605)
fix map starting from 0 zoom
old-commit-hash: b9d77afd7e91d46916b471bdc067f83edb2d64de
2023-08-24 14:53:47 -07:00
mitchellgoffpc
c4bb5bbf04 Some cleanup in modeld sconscript
old-commit-hash: fc8c97e7a9595e489f3f466cfc6c0097b9b8217c
2023-08-24 14:41:04 -07:00
mitchellgoffpc
0126d840f3 Disable error message in thneed ioctl interceptor to fix pyenv issues
old-commit-hash: a184d40b7aebbebd91000a199d90299457378381
2023-08-24 14:41:04 -07:00
Shane Smiskol
8cbc68a3be C++ FirstOrderFilter: add initialized flag (#29602)
add initialized flag with default to not change behavior
old-commit-hash: 54e98fa888c9e28eb93513bada8371a63a54bb55
2023-08-24 14:33:11 -07:00
Dean Lee
86692bf177 v4l_encoder: fix error handling for poll (#29166)
* fix error handling for poll

* revert

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d54fa5c7f198af93474a73643b9363fc2a2043ba
2023-08-24 12:56:06 -07:00
Dean Lee
1a2f9c464b locationd: passing eigen objects by reference (#28719)
pass eigen objects by reference
old-commit-hash: 3930ec9facb51491309ba37f66a7b3c59a8dd035
2023-08-24 12:55:47 -07:00
Dean Lee
a1fe0701e9 ui: remove Q_PROPERTY from AnnotatedCameraWidget (#28745)
old-commit-hash: b234cb022356baceba3fb4a990c7c483216bd860
2023-08-24 11:09:26 -07:00
Shane Smiskol
ce1c61d59a car interfaces: long running fuzzy test (#29592)
* draft

* draft 2

* increase deadline and run

* imports

* run -> use
old-commit-hash: 821cfff56d00b61fc3b4fba12bf0830cdb21ed27
2023-08-24 10:45:50 -07:00
Dean Lee
de809632bf cpplint: add filter whitespace/comma (#29595)
old-commit-hash: 7bfd3dac811ae95bfd09495e88377dfbaacda393
2023-08-24 10:42:06 -07:00
Dean Lee
c4ae679878 ui/map: delete map after unsubscribing from prime (#29136)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

old-commit-hash: 792ad7d81677ebb95888541bac14fb6089c1e5fc
2023-08-24 16:51:53 +01:00
Dean Lee
e14a6bdda2 common/i2c: remove duplicate #include (#29594)
old-commit-hash: 20e81703995e74877248ac28fd653f059bc44e34
2023-08-24 16:21:03 +01:00
Dean Lee
228d30d5a9 cpplint: add filter whitespace/tab (#29588)
old-commit-hash: 9c7bf50703e4da45163e175766b4bdfabcb9916c
2023-08-24 08:06:58 -07:00
Cameron Clough
2b38b62afe add missing openpilot prefix to imports
old-commit-hash: 74b9a6af9e10e97f1686732ab7b6ba0ace597c48
2023-08-24 15:46:56 +01:00
Dean Lee
0984736972 cpplint: add filter build/include_subdir (#29585)
old-commit-hash: 21da5a216fc8f5269d2deedc538c2f543a1c270a
2023-08-24 15:42:17 +01:00
Adeeb Shihadeh
5bc6566e7c manager: refactor process starting logic (#29574)
* refactor into sane api

* always set

* cleanup

* cleanup

* and there too

* fix order

* fail

* and ensure we test

* pass test

pass test

* order

* only diff not related

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d013f2174adf8ffbf2ba86e2656cf438930850a6
2023-08-24 06:00:55 -07:00
Shane Smiskol
9564eba598 car interface test: pick from possible ECUs (#29593)
pick from possible ecus
old-commit-hash: d58cb9994f678ad8625b5af8fee53ca2edffd334
2023-08-24 05:27:58 -07:00
Cameron Clough
c7820cf1cc ui: hasPrime/primeChanged helper (#29590)
old-commit-hash: 05e91c074d0fbabfd3475d4f34b975819159519b
2023-08-24 12:47:22 +01:00
Cameron Clough
9f8fb6ab30 bump cereal
old-commit-hash: 102047013f60e1a3c2e919ae237c1bfbda07ea06
2023-08-24 12:42:08 +01:00
Dean Lee
c6db4c515c ui: use enum PrimeType for prime_type (#29491)
old-commit-hash: 99279b8eef43586aa09d001668355fa41e01b98f
2023-08-24 12:26:45 +01:00
Shane Smiskol
820ca41f1a car interfaces test: don't sleep (#29589)
don't sleep in test_car_interfaces
old-commit-hash: e38ce6087fe56068de40dbbc57944ddf68b8642c
2023-08-24 04:24:22 -07:00
Shane Smiskol
8326f9f90c manager: test process exclusion (#29586)
* add test

* add comment

* Update selfdrive/manager/test/test_manager.py

* more accurate
old-commit-hash: 84b897cf44104d964834979d6fc34822baa999bf
2023-08-24 00:34:36 -07:00
Dean Lee
0702e273cb replay: fix visionbuf alignment on device (#26913)
* align visionbuf

* update test case

* cleanup

* fix cpplint warning
old-commit-hash: 3c94d953ab9fcaf8ee2371af3f269ae46d3563c6
2023-08-24 00:03:16 -07:00
Justin Newberry
de7257c22c CI: Normalize file permissions (#29584)
* normalize file permissions

* comment

* add comment

* remove that

* shell

* should be on the top
old-commit-hash: da7504e1e72ac09063901361377a64ec074efe8f
2023-08-23 23:50:51 -07:00
Dean Lee
f7efad93e4 ui/map_instructions: restore padding (#29548)
* restore padding

* fixes

* fix left and right margins

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 4ea78330605cc3e46005e3d0f8915ef8a60c952a
2023-08-23 23:32:01 -07:00
Dean Lee
56b582a059 cpplint: add filter whitespace/forcolon (#29582)
whitespace/forcolon
old-commit-hash: ac939029835542a02b866e8a0d174f09773e4e6e
2023-08-23 22:46:02 -07:00
Shane Smiskol
acec4fc22f Subaru: Forester Hybrid 2020 dashcam (#24770)
* Add support for Forester Hybrid 2020

Co-authored-by: martinl <martin@mlp.ee>

* it's a param now

* make it work

* fix

* merge and cleanup

* remove duplicate

* should be forester

* bump submodules

* should be abs

* add missing params

* still need a test route

* still need a test route

* consitent

* here too

* todo

* more

* Update selfdrive/car/tests/routes.py

* clean up

---------

Co-authored-by: martinl <martin@mlp.ee>
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
old-commit-hash: 3719be8b76f81068da3aadd5bd0f76e8a4d00396
2023-08-23 21:30:12 -07:00
Irene
1a787910a8 Toyota: add TODO comment for TSS-P BSM (#28396)
* Toyota: enable BSM on C-Hr

* Update selfdrive/car/toyota/carstate.py

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

* remove duplicate block

* Remove useless addition

* make this a comment for now

* remove extra bit

* clean up

* clean up

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: cb342461f03e6ff0e6eccbe5de55796b44e659f1
2023-08-23 20:52:01 -07:00