Commit Graph

5615 Commits

Author SHA1 Message Date
cydia2020 a6aa094461 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>
2022-01-04 16:02:53 +01:00
Dean Lee d2948f250b 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
2022-01-04 16:02:04 +01:00
Shane Smiskol 9cb0ebe37d 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>
2022-01-04 16:00:29 +01:00
Greg Hogan 71132edf17 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>
2022-01-04 15:55:46 +01:00
Willem Melching 8655f6df6b cameraview.cc: call glFlush after creating fence 2022-01-04 15:55:28 +01:00
Willem Melching 526448563c disable pytest concurrency for test_models 2022-01-04 14:29:58 +01:00
Cameron Clough 5a77157ea4 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>
2022-01-04 14:17:30 +01:00
Dean Lee 5dbdad3276 CameraView: sync pbo with glFence instead of calling glFinish (#23293)
* Sync pbo with fence

* use std::unique_ptr
2022-01-04 14:14:38 +01:00
Dean Lee cd9813ab6a UI: run set_brightness in QtConcurrent (#23326)
* use QFuture

* update at 10 hz

* don't change frequency
2022-01-04 14:03:27 +01:00
Shane Smiskol 9f88ba188a 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>
2022-01-04 12:17:33 +01:00
Robbe Derks a1e201ef5a MUI should be a status bar (#23287) 2022-01-04 12:15:18 +01:00
Dean Lee f2c17bbcde logcatd: fix sd_journal_seek_tail doesn't go to end (#23319)
* fix sd_journal_seek_tail doesn't go to end

* add comment
2022-01-04 12:14:29 +01:00
Dean Lee 937a0df57b replay/logreader: handle abort in load (#23321)
* handle abort

* handle abort in decompressBZ2
2022-01-04 12:06:23 +01:00
Shane Smiskol 0148b233cd Add comment about vEgoStarting to interfaces (#23327) 2022-01-04 12:05:58 +01:00
Dean Lee 9295066dac 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 <=
2022-01-04 12:04:52 +01:00
Dean Lee 960e0cf6a7 controlsd/publish_logs: follow capnp best practices (#23372)
* follow follow capnp best practices

* cleanup
2022-01-04 12:04:03 +01:00
Dean Lee f561d84c62 ui/update_model: do not recalculate the max_idx If there is no lead (#23356) 2022-01-04 11:39:18 +01:00
Willem Melching a11bb81578 bump panda 2022-01-04 11:35:36 +01:00
Dean Lee 05b905d140 interfaces/apply: follow capnp best practices (#23371) 2022-01-04 11:34:49 +01:00
Dean Lee 5dc631fa1b longcontrol/update: optimize capnp (#23382) 2022-01-04 11:32:54 +01:00
Willem Melching 15f88db726 add subaru fp2.0 to release notes 2022-01-04 11:07:42 +01:00
martinl 6b205347e5 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>
2022-01-04 11:06:29 +01:00
Anthony Foerster 1ca5e1c82b Fix steering oscillations in 2019 RDX (#22677)
Steering wheel would oscillate quickly when going straight, oscillation
is gone after this modification.
2022-01-03 23:07:49 -08:00
Greg Hogan 3e5a273022 tools: configure PYTHONPATH in pipenv (#23361)
* automatically set PYTHONPATH in pipenv

* remove other place this was set
2022-01-03 20:15:10 -08:00
Dean Lee 8dd8b1905b replay tests: retry on network failure (#23383) 2022-01-03 20:10:57 -08:00
Dean Lee 21ee6d25c7 ui: emit offroadTransition in UIState::updateStatus (#23265) 2022-01-03 17:35:05 -08:00
Dean Lee 7b612d47b6 radard/update: optimize capnp (#23380) 2022-01-03 17:26:32 -08:00
Adeeb Shihadeh c70fc7dbe5 Revert "soundd: back to onroad only (#23236)"
This reverts commit 3bdb445c84.
2022-01-03 16:37:35 -08:00
Adeeb Shihadeh cd42be7777 CI: run car unit tests in parallel (#23379)
* CI: run car unit tests in parallel

* move that
2022-01-03 16:30:14 -08:00
Adeeb Shihadeh 231f74cd23 GM: Switch to AcceleratorPedal2 (#23376)
* GM: Switch to AcceleratorPedal2

* bump panda

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

* remove optional
2022-01-03 14:37:36 -08:00
Adeeb Shihadeh 760104068b CI: cache LFS objects (#23345) 2022-01-03 14:34:31 -08:00
Adeeb Shihadeh 1e41f4723b CAN receive error is a comm issue (#23362) 2022-01-03 14:13:45 -08:00
Matt Barclay 162460ebd8 Toyota: 2020 Highlander Hybrid Engine fingerprint (#23373) 2022-01-03 14:13:00 -08:00
Adeeb Shihadeh 24c741ea3d Toyota: merge Lexus RX params (#23374)
* Toyota: merge Lexus RX params

* pick tuning

* add those back
2022-01-03 14:11:34 -08:00
Mr. V 7c51b4da67 add supported FW version for Palisade 2022 (#23337) 2022-01-03 19:52:07 +01:00
Jason Wen e1805574a8 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>
2022-01-03 18:59:23 +01:00
Nelson Chen ab2111adb0 Add firmware from 2021 prius in australia (#23271)
Discord user khalid.auslink#0024 / shah#3880

FW from: 49708c324cfe37cb%7C2021-12-20--04-14-26
2022-01-03 18:41:36 +01:00
Adeeb Shihadeh bbb47dc860 MultiLogIterator: fix after adding sort_by_time 2022-01-02 20:08:57 -08:00
Jason Wen 30e8383f30 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>
2022-01-02 15:53:52 -08:00
Adeeb Shihadeh 92f194decc MultiLogIterator: remove wraparound mode (#23360) 2022-01-02 15:16:44 -08:00
Adeeb Shihadeh 9d3a821f37 first contribution ideas 2022-01-02 15:14:22 -08:00
Adeeb Shihadeh 066e3e3626 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
2022-01-02 14:47:16 -08:00
Greg Hogan 9992ea1ae8 LogReader: add arg to sort by time (#23346)
* logreader optional sort by time

* robust logreader sort by time option
2022-01-02 11:56:53 -08:00
Dean Lee 2ca0925da7 lateral_planner.py/publish: follow capnp best practices (#23359) 2022-01-02 11:55:24 -08:00
Dean Lee 1e309a51f5 replay: add flag to disable video (#23353) 2022-01-02 11:54:49 -08:00
Greg Hogan 92b553be3e plotjuggler: fix layout param (#23348) 2022-01-01 17:17:24 -08:00
Shane Smiskol fed7cfeef0 PC: dynamically set PYTHONPATH from real openpilot path (#23322)
* dynamic PYTHONPATH setting based on actual openpilot location

* right above

* fix path

* absolute path all the time

* Revert "absolute path all the time"

This reverts commit c0bc2e08e76bd6c0abd36fa082ee00b4746e62dc.

* Update tools/openpilot_env.sh

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

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2021-12-31 19:34:08 -08:00