Dean Lee
7e6be3378c
swaglog: remove unnecessary string copy ( #29164 )
...
old-commit-hash: 8b7004e68dfad516adbdecc9925bd7fc954cc8d4
2023-08-23 20:10:23 -07:00
Dean Lee
9bb3316925
encoder/VideoWriter: remove unnecessary call to avcodec_close ( #29039 )
...
old-commit-hash: 95e9232963ad2deed377a3d840f25e40f921b8ca
2023-08-23 20:08:19 -07:00
Harald Schäfer
c6d12893f6
Laikad: ignore more garbage measurements ( #29569 )
...
* Laikad: ignore more garbage measurememnts
* bump laika
old-commit-hash: f4f8047e979c3366ab4ecd7527cc6daf01f126db
2023-08-23 19:48:55 -07:00
Adeeb Shihadeh
56facfcc5a
Subaru: Crosstrek Hybrid dashcam mode ( #25378 )
...
* Subaru: Crosstrek Hybrid support
* hybrid cars in dashcam only
* revert that
* just dashcam
* tah should be abs
* remove unused import
* use the old dbc for now
* hybrid car exceptions in carstate
* need dashstatus until we get a proper cruiseactivated bit
* missing CP
* merge conflicts
* lets be consistent about extend
* cleanup
* fix and comments
* preglobal fix
* and the rest
* and this
* added hybrid to release
---------
Co-authored-by: Justin Newberry <justin@comma.ai >
old-commit-hash: 973d90be779efc0e4a83eeab213c0cc9b4d711ce
2023-08-23 18:50:55 -07:00
Dean Lee
8c6cb78f38
encoderd: remove unnecessary calls to encoder_close() on exit. ( #28970 )
...
old-commit-hash: ddd849a882ded042c1f5fb71cb4e200fe2cb8327
2023-08-23 17:56:22 -07:00
Gellis12
e311487192
Add initial fingerprint 2.0 for Nissan Leaf 2018-23 ( #29505 )
...
Initial fingerprint 2.0 for Nissan Leaf 2018-23
old-commit-hash: a0f3b830622a2ebee2a718554c542cb208b10acf
2023-08-23 17:46:34 -07:00
Justin Newberry
7a532e02f3
CI: switch to --cache-to type=inline for buildkit cache ( #29575 )
...
this is cleaner
old-commit-hash: 2fdde9b77d5d830277500d6841f32a356544718a
2023-08-23 17:41:33 -07:00
Erich Moraga
01a8a30fe8
Toyota: add engine & fwdRadar ECU versions for 2023 Toyota Camry Hybrid ( #29508 )
...
`@Varvaras` 2023 Toyota Camry Hybrid Dongle ID/route 3a47f2dd831feb30|2023-08-20--19-41-21
old-commit-hash: ba1ad422d74622a6e565a1b5bed97cf379173e21
2023-08-23 17:37:38 -07:00
pencilpusher
cc4f6c5fbe
ui/map: keep the car icon aligned to its bearing ( #29482 )
...
* rotate icon with current bearing
When user is rotating the map, the car icon should stay fixed on the cars bearing, not the map.
* spacing
* comment
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: 472151b6a004d387532415039196c2165f7d32df
2023-08-23 17:33:58 -07:00
Dean Lee
5ac4f52c6f
ui/PrimeUserWidget: cleanup layout ( #29492 )
...
cleanup layout
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: 5fcb7e9038ec9054dcdb8d9b832bea2f597d6aa9
2023-08-23 16:34:18 -07:00
Dean Lee
7b4400f2c6
scons: remove missing MPC headers ( #29485 )
...
* remove invalid files
* Update selfdrive/controls/lib/lateral_mpc_lib/SConscript
Co-authored-by: Shane Smiskol <shane@smiskol.com >
* Apply suggestions from code review
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: 55cca6ed2669829a77ce660625b2fc8d73bf02bf
2023-08-23 15:43:27 -07:00
Justin Newberry
e54655626d
CI: Docs rebuild base image ( #29566 )
...
* docs rebuild base image
* fix order
old-commit-hash: 2e4f8e6608bafc89509f6c104688b7dd8273eeac
2023-08-23 15:33:23 -07:00
Jason Wen
7b99834975
Hyundai longitudinal (CAN): display AEB indicator on non-FCA cars ( #29484 )
...
* Hyundai longitudinal (CAN): display AEB indicator on dashboard on non-FCA cars
* clear up comment
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: 3b01d99d3001034890f17aaf3834c92e7e689661
2023-08-23 15:22:52 -07:00
Dean Lee
5f4b422305
cpplint: add filter whitespace/semicolon ( #29568 )
...
old-commit-hash: f203648de0a9d78121d3a775ae454a43e1211e62
2023-08-23 15:00:30 -07:00
Dean Lee
72e6a332d1
sound.h: add #pragma once ( #29567 )
...
old-commit-hash: 2c20a2b5d7956d5ae5e27508ffa19b6694bbe224
2023-08-23 14:47:34 -07:00
Shane Smiskol
5b7ab66c53
thermald: type annotate main thread ( #29414 )
...
* type
* stash
* Revert "stash"
This reverts commit f5e5e0d08c967d1a5d9c239e6335f8a47890b1a1.
* bug in mypy
old-commit-hash: af8af3209dc0756ccc25e41612b855d54b8d7af4
2023-08-23 14:42:27 -07:00
Dean Lee
db211ce617
cpplint: add filter whitespace/parens ( #29565 )
...
old-commit-hash: 5480d32bb5d98d57100fd709b9ffe7bfcc6e020a
2023-08-23 14:25:05 -07:00
Adeeb Shihadeh
8960a0912b
sensord: fix LSM magnetometer thermal variation ( #29265 )
...
* do set reset for every measurement cycle
* use one sensorvec
* convert from continuous to manual mode
* separate the set/reset and TM_M
* make magnetometer readings manual, set appropriate sleep
* add more sleep and check validity of values
* add magnetometer to a separate thread
* refactor
* bugfix
* each sensor in a new thread, handle generically
* bugfix
* rm global
* update cpu
* update test
* update test
* revert cereal change
* split out temp sensors
* little more
* fix
* fix
* bump cereal
* linter fixes
---------
Co-authored-by: nuwandavek <vivekaithal44@gmail.com >
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 239d6a24bed850a6fbd3e0794da19130cdb773f7
2023-08-23 14:21:10 -07:00
Adeeb Shihadeh
44f1d480f9
sensord: run as many sensors as possible ( #29564 )
...
old-commit-hash: d3fb75a972338e37d5537d900c8d2f55439db961
2023-08-23 14:07:00 -07:00
Adeeb Shihadeh
0ae2523a16
sensord: lower temperature sensor freq to 2Hz ( #29563 )
...
old-commit-hash: 42769345d505cc30978aaf9ed735cb8d644b13aa
2023-08-23 14:00:26 -07:00
Adeeb Shihadeh
6b2ffe9490
bump cereal ( #29561 )
...
old-commit-hash: e726505918bfbaa4ee75714bd6ea391d7fff7fb8
2023-08-23 13:42:37 -07:00
Dean Lee
97e9d55588
cpplint: build/include_what_you_use ( #29556 )
...
* include_what_you_use
* remove comments
* include <memory>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 2d99521e7500902070d0aacce69528bcfd8b9964
2023-08-23 13:25:17 -07:00
Harald Schäfer
ca666855d5
Laikad: reset est pos when in bad state ( #29559 )
...
* reset est pos when cant delay correct
* was just for debug
old-commit-hash: aa585b17578a38b294ee748b172e6ad28f8266ca
2023-08-23 13:23:17 -07:00
Adeeb Shihadeh
5c213d7a38
sensord: setup per-sensor threads ( #29558 )
...
* sensord: setup per-sensor threads
* revert cereal
* more cleanup
* bump cereal
* update test
---------
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 6a66b7555679c5cd3511e03ba6e1cb528706f84e
2023-08-23 12:58:09 -07:00
Willem Melching
6b98b83ad4
cabana: socketcan support ( #27952 )
...
* empty socketcan class
* works on linux with vcan
* add open stream widget
* fix MacOS build
* update readme
* unused
* no socketcan on C3
* fix in cabana sconstruct
* serial -> device
old-commit-hash: 2b0e4d46bbbb0ccbf028c975c3345d05765a7213
2023-08-23 10:50:11 -07:00
Kacper Rączy
3681c1d1b2
devcontainer: handle hosts without X11 ( #29537 )
...
* Setup xauthority link on host in initializeCommand
* Create a dummy xauthority if it does no exist on host machine
* Remove xauthority line from ci test
old-commit-hash: 659795b1db85636a2f97eba7616159047bf0c6e9
2023-08-23 10:26:38 -07:00
Dean Lee
004a097c95
cpplint: add readability/braces filter ( #29554 )
...
old-commit-hash: 363740a497620249066522c87ddb03e1362749d4
2023-08-23 10:13:46 -07:00
Shane Smiskol
7ecfda8b79
Revert "FW query: query one sub-address in parallel" ( #29550 )
...
Revert "FW query: query one sub-address in parallel (#28675 )"
This reverts commit 3d4c32284699dfd4f78bb2f5bb645344c98f1b46.
old-commit-hash: 365bdd342200b5348370de418a652301da2e3949
2023-08-23 01:41:28 -07:00
Shane Smiskol
c5099d5000
FW query: query one sub-address in parallel ( #28675 )
...
* put one subaddr in parallel_addrs
* p
* remove print
* update test refs
* test
* revert test changes
* do same in present ECU query, lower threshold to catch (~0.82 to ~0.72 right within bounds)
* type
* clean up
* update test ref
old-commit-hash: 861ceb2feeb8e9f303b96c0e7a9ef19c5423938d
2023-08-23 01:31:04 -07:00
Harald Schäfer
200a8eb8b5
Laikad upgrades: prep for laikad lld ( #29545 )
...
* Laikad upgrades: prep for laikad lld
* Update ref commit
old-commit-hash: 8a7281d2859f2fa8d49cb3b679c2eaf5ec8f1729
2023-08-23 00:13:10 -07:00
Shane Smiskol
c9ca332b3f
Update FW query total time
...
old-commit-hash: 1ea310b202ecedfad67831cca189970944977145
2023-08-22 23:58:29 -07:00
Shane Smiskol
4699eed8f3
FW Query: test noOBD queries on aux panda ( #29547 )
...
* huh, this test just works!
* fix
* Update selfdrive/car/tests/test_fw_fingerprint.py
old-commit-hash: 7de9842245dfb506ec340290469d7412989e2233
2023-08-22 23:43:52 -07:00
Shane Smiskol
3527b47f6d
Toyota: prepare to disable radar ( #29542 )
...
* try to disable radar
* fix bug and bump panda
* prep
* always attempt longitudinal for testers
* fix rav4
* send ACC_HUD
* bump panda
* revert
* check for failure to disable
* fix arg
* bump to master
* revert to master
* comments only
* correct check
* carcontroller
* something like this
* or this
* use flag
* send PCS HUD
* clean up
* carstate checks
* fix from test models
* consistent
old-commit-hash: 0aa6e2ce41113a8f129ab88762037254f2951f91
2023-08-22 21:17:30 -07:00
Shane Smiskol
5949a8d3c6
Toyota: remove redundant car set union ( #29546 )
...
remove confusing union
old-commit-hash: 16a8c9fbf13bf6a61f5704d5a2885b09ce4a8f80
2023-08-22 21:09:33 -07:00
Adeeb Shihadeh
e9a497dc5b
build.py: retry with less threads ( #29543 )
...
* build.py: retry with less threads
* cleanup
* fix no output
* cleanup
old-commit-hash: bb1b641812353e9723cad0aa6f844466c67d9c6b
2023-08-22 20:58:43 -07:00
Shane Smiskol
ada18f0da7
Revert "Toyota: prepare to disable radar ( #29541 )"
...
This reverts commit 2d56016f4c25f7672ff770958ea65c6bc023e387.
old-commit-hash: cb368163158fe8133b317273f99f011ce1fa2288
2023-08-22 19:50:24 -07:00
Shane Smiskol
1acbc2c55a
Toyota: prepare to disable radar ( #29541 )
...
* try to disable radar
* fix bug and bump panda
* prep
* always attempt longitudinal for testers
* fix rav4
* send ACC_HUD
* bump panda
* revert
* check for failure to disable
* fix arg
* bump to master
* revert to master
* comments only
old-commit-hash: 61653bf343bc189d9231234a5b95777998096fa6
2023-08-22 17:16:38 -07:00
Justin Newberry
1a29920369
CI: enable missing tests ( #29538 )
...
old-commit-hash: 979c96167d5ba2f07a7e0dee7c059c3a2ee4757b
2023-08-22 16:48:02 -07:00
Vivek Aithal
ab4788cb3b
CHEVROLET SILVERADO 1500 2020: Make Silverado lateral tune non-linear ( #29540 )
...
add nonlinear values to silverado
old-commit-hash: 2fe3231b49ea8cd82dd270682a4641ffd016d73a
2023-08-22 16:11:21 -07:00
Adeeb Shihadeh
b952317e9b
soundd: update cpu usage
...
old-commit-hash: e0e139a233daf207833ecc3655ca4fd3a86a9f8e
2023-08-22 15:16:38 -07:00
Adeeb Shihadeh
581c26152c
add pytest-subtests package ( #29536 )
...
old-commit-hash: 2cd311da29241501ef93c15e7de563cb3bfe3070
2023-08-22 14:31:03 -07:00
Kacper Rączy
e250480db6
devcontainer: CI fix ( #29534 )
...
Export xauthority before running devcontainer
old-commit-hash: df9564e1722f589fa17e15bce55a4f179f58ab70
2023-08-22 14:14:14 -07:00
Harald Schäfer
a967592f8f
Revert laikad llk ( #29535 )
...
* Revert "bump laika (#29522 )"
This reverts commit 19ab859e302d52b4f1667f05543ac622ad259e57.
* Revert "Locationd: switch to laikad (#29278 )"
This reverts commit 5dda7be8ac08ef6b51283eda74569517bba905f6.
old-commit-hash: fda3106c28af236e8b3dc78bfdca7a1365904d1e
2023-08-22 14:12:51 -07:00
Dean Lee
4f7e9268e8
soundd: set volume on changes ( #29389 )
...
* set volume on change
* async set volumn
* Revert "async set volumn"
This reverts commit 7bc88c498353fff158b0de3d1923aa2c0f004a37.
old-commit-hash: 55c156dfb25d4cc594524d197a588a929a99f01f
2023-08-22 14:09:03 -07:00
Adeeb Shihadeh
ce7008c70c
bump cereal ( #29532 )
...
old-commit-hash: 65ad8fd8e7fa74c7eb7e75bba3046e4b9a8c68fc
2023-08-22 14:03:27 -07:00
Adeeb Shihadeh
783463db74
sensord: update cpu usage after removing light sensor
...
old-commit-hash: 6a5725bb38007d61602c7c495c275d234cd29fac
2023-08-22 14:03:15 -07:00
Dean Lee
11b5cfa422
ui/settings: Don't apply styles to more elements than needed. ( #29463 )
...
old-commit-hash: 5765c1d978c5890513e55398490447590d3b1d3e
2023-08-22 14:00:01 -07:00
Adeeb Shihadeh
701cd6f6fe
add cpplint ( #26855 )
...
* setup cpplint
* only start that
* check line length
* check these
* rm exceptions
old-commit-hash: 952d720b6e854b3ebbb9fd0fd82cd38f3ae04b90
2023-08-22 13:55:23 -07:00
Shane Smiskol
03f174cd66
Hyundai: remove Ioniq EV 2022 from legacy safety mode ( #29531 )
...
* fw
* remove from legacy
* update docs
old-commit-hash: 2c835b81d9b206c04b23498c32bece1c8dbfaa52
2023-08-22 12:59:56 -07:00
Shane Smiskol
350461b680
Kia: move Optima Gen 4 FL out of legacy safety mode ( #29530 )
...
move Optima Gen 4 Facelift out of legacy
old-commit-hash: f546e9277466d298b1b3c62e70de9cbe002fa5d6
2023-08-22 12:41:52 -07:00