Commit Graph

6184 Commits

Author SHA1 Message Date
martinl a81b0d8564 Subaru: initial FPv2 dump (#23389)
* Add FPv2 for Ascent, Forester, Impreza, Legacy, Outback

* remove comments
old-commit-hash: 15be8a8c1f9a15f08b09bd137e661974c77c3616
2022-01-04 13:07:11 -08:00
Willem Melching a1e69c9630 docs: conf.py dont shadow project variable
old-commit-hash: 9720dbe9b94a409d1540ec624b1deb29a5f37c8b
2022-01-04 17:40:00 +01:00
Andrew 830b8692c0 docs: setup docs for C code (#23262)
* add breathe and doxygen

* add sphinx-breathe c docs generation
* add c docs to site

* built in docker

* build base image first

* namespace cleanup

* Revert "build base image first"

This reverts commit 4c44c02ffb93b3f0bc3968f2ee1fdc64faa25608.

* its in the dockerfile

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 9f70bea964e2037c550678581eb1363e4c99b763
2022-01-04 17:26:07 +01:00
Joost Wooning dd05972019 athena: methods for adding and cancelling multiple upload requests (#23366)
* multiple upload cancel

* multiple uploads athena method

* cleanup

* cleanup

* more cleanup

* isnt used

* fix test

* actually fix test
old-commit-hash: 47bb62b875fe2099a7a99482767bbd99b478f9e5
2022-01-04 17:01:33 +01:00
Willem Melching ea8777890f bump CPU usage slightly after adding glFlush
old-commit-hash: aad7ebdc2a0c8c6eb8b4511280191eb422354000
2022-01-04 16:26:59 +01:00
cydia2020 733a139646 Toyota: only send gas interceptor message when openpilot controls longitudinal (#23357)
* Toyota: gate enableGasInterceptor behind openpilotLongitudinalControl

* fix carcontroller typo

* Revert "Toyota: gate enableGasInterceptor behind openpilotLongitudinalControl"

This reverts commit a974e8f8cfb4040d0fe12e285154c6fff4cb9825.

* put condition in carcontroller

* gate building can messages

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: a6aa09446176e11364f0244e87757e27e992ffbd
2022-01-04 16:02:53 +01:00
Dean Lee 10ce89d1ae replay: Add next engagement / disengagement jump capabilities (#23248)
* seek engament/disengament in qlogs

* cleanup

* cleanup

* little more

* add output

* remove qinfo

* fix typo

* do nothing if tm less than current mono time

* const

* short variable name

* lgtm
old-commit-hash: d2948f250b0c62e22f23e4067f460ce7108da2df
2022-01-04 16:02:04 +01:00
Shane Smiskol b500034b8d LongitudinalMpc: Remove class accel_limit_arr (#23295)
* remove class accel_limit_arr

remove class accel_limit_arr

* make it static

* only set static parameters once

* just use existing function

style

* Update selfdrive/controls/lib/longitudinal_mpc_lib/long_mpc.py

* Update selfdrive/controls/lib/longitudinal_mpc_lib/long_mpc.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 9cb0ebe37d234b292e5f2a482924a6f23ab77ba9
2022-01-04 16:00:29 +01:00
Greg Hogan bb3402b54d plotjuggler: support segment names (#23263)
* plotjuggler: support segment names

* update docs

* generic parser

* convert segment number to int when parsing

* add SegmentName

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 71132edf17a78b629e3fa244caa21bebdc488929
2022-01-04 15:55:46 +01:00
Willem Melching 0c24902e05 cameraview.cc: call glFlush after creating fence
old-commit-hash: 8655f6df6bd9eff27bb6600aa0e19bba8af0198c
2022-01-04 15:55:28 +01:00
Willem Melching 879033f1ff disable pytest concurrency for test_models
old-commit-hash: 526448563c287910cefb2f7f3d40731dfbdf103c
2022-01-04 14:29:58 +01:00
Cameron Clough f9e8fb3145 Joystick: learn axis min/max (#23377)
* Joystick: learn axis min/max

* clean up updating max/min

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 5a77157ea435260b3e7ecacb83f13d3753ede859
2022-01-04 14:17:30 +01:00
Dean Lee 1c61ba82b6 CameraView: sync pbo with glFence instead of calling glFinish (#23293)
* Sync pbo with fence

* use std::unique_ptr
old-commit-hash: 5dbdad3276cef90b2466bea8e857ff4918b84717
2022-01-04 14:14:38 +01:00
Dean Lee 336d37e95c UI: run set_brightness in QtConcurrent (#23326)
* use QFuture

* update at 10 hz

* don't change frequency
old-commit-hash: cd9813ab6a160d7da2e86ce2bb6daa69e7e2adad
2022-01-04 14:03:27 +01:00
Shane Smiskol efd1ff1452 Longitudinal planner: make v_desired a FirstOrderFilter (#23341)
* make v_desired a FirstOrderFilter

* forgot one

* one more ref

* Add a new object for the filter

* fix

* fix tests

* update ref

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 9f88ba188a19cd90e8fee48353668dda7b47b2ba
2022-01-04 12:17:33 +01:00
Robbe Derks db09713cb7 MUI should be a status bar (#23287)
old-commit-hash: a1e201ef5a8f0dec22e75b94c31e5fed1e4d9743
2022-01-04 12:15:18 +01:00
Dean Lee f9fb28c1b3 logcatd: fix sd_journal_seek_tail doesn't go to end (#23319)
* fix sd_journal_seek_tail doesn't go to end

* add comment
old-commit-hash: f2c17bbcde55677b06506f0c21c11d273ee413fc
2022-01-04 12:14:29 +01:00
Dean Lee 84481c134b replay/logreader: handle abort in load (#23321)
* handle abort

* handle abort in decompressBZ2
old-commit-hash: 937a0df57bd0469af49b7bb4f44ca5ea3c4ae881
2022-01-04 12:06:23 +01:00
Shane Smiskol 4058a8f64f Add comment about vEgoStarting to interfaces (#23327)
old-commit-hash: 0148b233cd44a72ca1aabbb962a36a6b8e671f19
2022-01-04 12:05:58 +01:00
Dean Lee b756c89d38 ui/get_path_length_idx: line_x[i] shoud be less than or equal to path_height (#23336)
* start loop index from 1

* use  islessequal

* use build in <=
old-commit-hash: 9295066dac926c9f804bcb07b535bfec9a06cf11
2022-01-04 12:04:52 +01:00
Dean Lee ea519c31e4 controlsd/publish_logs: follow capnp best practices (#23372)
* follow follow capnp best practices

* cleanup
old-commit-hash: 960e0cf6a70638e5235f569da9391638eb94b513
2022-01-04 12:04:03 +01:00
Dean Lee 36b506c880 ui/update_model: do not recalculate the max_idx If there is no lead (#23356)
old-commit-hash: f561d84c627273537d1e30f66d48fa39ec014950
2022-01-04 11:39:18 +01:00
Willem Melching ee850f7307 bump panda
old-commit-hash: a11bb8157800e4662166260a2884069e382276e4
2022-01-04 11:35:36 +01:00
Dean Lee 0a762c27ce interfaces/apply: follow capnp best practices (#23371)
old-commit-hash: 05b905d140cc920f25cf654c81371ede997892d1
2022-01-04 11:34:49 +01:00
Dean Lee a55046c949 longcontrol/update: optimize capnp (#23382)
old-commit-hash: 5dc631fa1bf471264fceab67edfe4c3962ac9831
2022-01-04 11:32:54 +01:00
Willem Melching 01c05dc66c add subaru fp2.0 to release notes
old-commit-hash: 15f88db7269d1bde584bf4ec1fe57a816663c8c5
2022-01-04 11:07:42 +01:00
martinl 0030f11a5e Subaru FPv2 support (#1878)
* Add Subaru FPv2 support

* Add Subaru Ascent and Impreza FPv2 values

* Remove 10 second delay, use UDS for Subaru FPv2

* before VW

* before hyundai

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 6b205347e57eb30a278e1eb9ead6aaba96e30b92
2022-01-04 11:06:29 +01:00
Anthony Foerster 8d2f0de871 Fix steering oscillations in 2019 RDX (#22677)
Steering wheel would oscillate quickly when going straight, oscillation
is gone after this modification.
old-commit-hash: 1ca5e1c82bd98a488dbffba32c653327a3d00b51
2022-01-03 23:07:49 -08:00
Greg Hogan f6a9445de8 tools: configure PYTHONPATH in pipenv (#23361)
* automatically set PYTHONPATH in pipenv

* remove other place this was set
old-commit-hash: 3e5a2730227603e06e2b0df657dd7a3e874a6bd1
2022-01-03 20:15:10 -08:00
Dean Lee fef9d05507 replay tests: retry on network failure (#23383)
old-commit-hash: 8dd8b1905bec171995f1eab331e69969bae444df
2022-01-03 20:10:57 -08:00
Dean Lee 2701743349 ui: emit offroadTransition in UIState::updateStatus (#23265)
old-commit-hash: 21ee6d25c7f84be810a6ed31cc2cf5aa94a89c11
2022-01-03 17:35:05 -08:00
Dean Lee a2e38be31a radard/update: optimize capnp (#23380)
old-commit-hash: 7b612d47b66e09dfecdaebc60671231697592cf5
2022-01-03 17:26:32 -08:00
Adeeb Shihadeh 19b6dd15bd Revert "soundd: back to onroad only (#23236)"
This reverts commit 6709810ab7604e6fe996708278a816d13a6deb80.

old-commit-hash: c70fc7dbe5dd87f949eec7a3482ff73ce3ef3bbe
2022-01-03 16:37:35 -08:00
Adeeb Shihadeh 5e490d86c3 CI: run car unit tests in parallel (#23379)
* CI: run car unit tests in parallel

* move that
old-commit-hash: cd42be7777aa7901f1d12ccf0b3d2562dc209a44
2022-01-03 16:30:14 -08:00
Adeeb Shihadeh e9169797ea GM: Switch to AcceleratorPedal2 (#23376)
* GM: Switch to AcceleratorPedal2

* bump panda

Co-authored-by: Jason Shuler <jshuler@gmail.com>
old-commit-hash: 231f74cd23b63a4c519431a588209ec20ba05b96
2022-01-03 16:09:53 -08:00
Adeeb Shihadeh 63d9bed046 pre-commit: fix exclude patterns (#23375)
old-commit-hash: a1a9a0f342bc40540d31d1cfbc10c6263a748ef3
2022-01-03 15:24:34 -08:00
Dean Lee 3723b3a877 lane_planner.py/parse_model: follow capnp best practices (#23368)
old-commit-hash: f2520b6e80125a108108b7acef1a10ab55b51284
2022-01-03 15:08:24 -08:00
Dean Lee 64ba111cbb ui: update lead's z position if modelV2 has been updated after startup. (#23355)
* model frame >= started_frame

* remove optional
old-commit-hash: 2a99bc6ddefaa050bf4f82640e3097ef230102e8
2022-01-03 14:37:36 -08:00
Adeeb Shihadeh f2457bb23c CI: cache LFS objects (#23345)
old-commit-hash: 760104068b63d32f42564fdbb0193a3724461d11
2022-01-03 14:34:31 -08:00
Adeeb Shihadeh 98c8147ec3 CAN receive error is a comm issue (#23362)
old-commit-hash: 1e41f4723b539c9c76c1ae0c16f7a0a42cfe5deb
2022-01-03 14:13:45 -08:00
Matt Barclay 08e2b9d697 Toyota: 2020 Highlander Hybrid Engine fingerprint (#23373)
old-commit-hash: 162460ebd8003c1f6d697b739dce8851c9527bbd
2022-01-03 14:13:00 -08:00
Adeeb Shihadeh 7e0e258a3e Toyota: merge Lexus RX params (#23374)
* Toyota: merge Lexus RX params

* pick tuning

* add those back
old-commit-hash: 24c741ea3da8efef533c3b7664064bce743d14fd
2022-01-03 14:11:34 -08:00
Mr. V 81e2b1ee48 add supported FW version for Palisade 2022 (#23337)
old-commit-hash: 7c51b4da677cf25e7a5d5ba6b838363f8ffefb4a
2022-01-03 19:52:07 +01:00
Jason Wen 35c7664529 HKG: Add and Fix FW for 2022 Kia Niro EV (#23253)
* Remove non-exist esp FW from Niro_EV

* HKG: Add FW for 2022 Kia Niro EV

* Add 2022 Kia Niro EV to STEER_MAX = 384

* Update CARS.md

* HKG: Add FW for 2022 Kia Niro EV

* Remove duplicate FW version

* Remove duplicate FW versions from 0.8.3 FW dump (#20702)

* Fix FW versions spacing

* Fix FW versions spacing

* Add additional FW version

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: e1805574a86a9680ab8eadb39a74426eccae0d57
2022-01-03 18:59:23 +01:00
Nelson Chen e681f40c62 Add firmware from 2021 prius in australia (#23271)
Discord user khalid.auslink#0024 / shah#3880

FW from: 49708c324cfe37cb%7C2021-12-20--04-14-26
old-commit-hash: ab2111adb0521c3ebe636bb55075914d29316aaf
2022-01-03 18:41:36 +01:00
Adeeb Shihadeh ba30137b2a MultiLogIterator: fix after adding sort_by_time
old-commit-hash: bbb47dc860f37ec6e34287d6696cb45e5637df74
2022-01-02 20:08:57 -08:00
Jason Wen e279bca5af HKG: blacklist cars with lower steering max (#23255)
* HKG: Add Lower Steering Torque Cars to STEER_MAX = 255 Blacklist

* add comment

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 30e8383f303f6d09c65d12821ca32a6310f6d5c3
2022-01-02 15:53:52 -08:00
Adeeb Shihadeh c036e64c86 MultiLogIterator: remove wraparound mode (#23360)
old-commit-hash: 92f194decc2bce39d6dd0dbabf39b2a9b1aa53e5
2022-01-02 15:16:44 -08:00
Adeeb Shihadeh f7df13244f first contribution ideas
old-commit-hash: 9d3a821f372140093c079f6e71e68e947abcf049
2022-01-02 15:14:22 -08:00
Adeeb Shihadeh 02f1866b61 CI: use ubuntu_setup.sh (#23349)
* CI: use ubuntu_setup.sh

* works?

* need to fix paths

* set paths

* no batman for now

* pyenv version

* rehash after install packages

* unify python install

* revert that

* fix pyenv path

* no pipenv

* flip that

* fix rehash

* skip that

* revert panda
old-commit-hash: 066e3e3626f56d8f86c120defe4181eaed0182f4
2022-01-02 14:47:16 -08:00