Commit Graph

16653 Commits

Author SHA1 Message Date
Adeeb Shihadeh 8a04966ac0 bump panda
old-commit-hash: eb0cd9ca84
2022-01-05 16:51:15 -08:00
Adeeb Shihadeh 9cbde03c7c Subaru: remove all Pre-Global CAN fingerprints (#23422)
old-commit-hash: a12649564c
2022-01-05 14:18:38 -08:00
martinl 6b4865ac8a Subaru: remove Ascent FPv1 (#23407)
* Remove Ascent FPv1

* bump cereal
old-commit-hash: 7faad75a44
2022-01-05 14:16:32 -08:00
Chris McCammon cb3654a4b0 Hyundai: Add Niro EV to 384 STEER_MAX (#23420)
* Niro EV confirmed working with 384

* SCC + LKAS is standard
old-commit-hash: e499ebc711
2022-01-05 14:14:22 -08:00
Nelson Chen 4f11bb3375 Add Prius 2022 to CARS.md (#23417)
Anecdote that this is working:

https://discord.com/channels/469524606043160576/524327905937850394/928164186326982686
old-commit-hash: 13d011c176
2022-01-05 12:16:02 -08:00
Cameron Clough 6d714fb21a replay: add missing import for std::optional (#23416)
old-commit-hash: 64caee88eb
2022-01-05 09:19:51 -08:00
Joost Wooning ce94c27569 athena: uploads, show which items fail on error (#23412)
* athena: uploads, show which items fail on error

* fix upload-id

* no more 404

* Update selfdrive/athena/athenad.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 3ffebf4df5
2022-01-05 18:18:11 +01:00
Willem Melching 8c1fe7647a catch gl_buffer->map() returning nullptr (#23411)
old-commit-hash: 8d80c0107f
2022-01-05 14:23:57 +01:00
Dean Lee 521e3d843b longcontrol: check if speeds is empty (#23410)
* check if speeds is empty

* move into existing check

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: a2e762e0b9
2022-01-05 14:23:08 +01:00
Greg Hogan f19c9f2e72 setup: remove duplicate pipenv install (#23406)
old-commit-hash: bafdb20eb1
2022-01-05 13:25:41 +01:00
Greg Hogan bd622f8583 setup: update pyenv before installing python (#23405)
old-commit-hash: 23346ae63c
2022-01-05 00:25:34 -08:00
Adeeb Shihadeh 097110ba41 Revert "CameraView: sync pbo with glFence instead of calling glFinish (#23293)"
This reverts commit 7fcde6809582c5b8ddfe5a60723d70f9eae1d5de.

old-commit-hash: 25f51470fc
2022-01-04 20:16:52 -08:00
Adeeb Shihadeh 7c960e6a94 Revert "cameraview.cc: call glFlush after creating fence"
This reverts commit eac4c3cab90890e39b4a6009c59d023fb21997b8.

old-commit-hash: 34926dfab5
2022-01-04 20:16:42 -08:00
Adeeb Shihadeh 24314bdc3f fix up tools readme
old-commit-hash: f30a702414
2022-01-04 19:59:49 -08:00
Dean Lee 179a685894 paramsd: follow capnp best practices (#23399)
old-commit-hash: df7126b982
2022-01-04 15:57:38 -08:00
Shane Smiskol d05c173fe6 Longcontrol: remove starting state (#23328)
* remove starting state

* new ref

* ready for merge

* try this

* cereal now on master

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: cf9792dc53
2022-01-04 15:40:39 -08:00
Dean Lee 0a03f65b2b controlsd: remove duplicate event relayMalfunction (#23392)
old-commit-hash: 0357cf2af0
2022-01-04 14:07:36 -08:00
HaraldSchafer d706b3d8d4 Move over all tss2 long tunes (#23108)
* add all rest

* just commit to all TSS2

* forgot this line
old-commit-hash: 7257f71739
2022-01-04 13:51:05 -08:00
HaraldSchafer c90287391a Controlsd: fix bug in curv rate limit (#23250)
* Controlsd: fix bug in curv rate limit

* update ref
old-commit-hash: d3f064f5ca
2022-01-04 13:21:56 -08:00
martinl a81b0d8564 Subaru: initial FPv2 dump (#23389)
* Add FPv2 for Ascent, Forester, Impreza, Legacy, Outback

* remove comments
old-commit-hash: 15be8a8c1f
2022-01-04 13:07:11 -08:00
Willem Melching a1e69c9630 docs: conf.py dont shadow project variable
old-commit-hash: 9720dbe9b9
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: 9f70bea964
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: 47bb62b875
2022-01-04 17:01:33 +01:00
Willem Melching ea8777890f bump CPU usage slightly after adding glFlush
old-commit-hash: aad7ebdc2a
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: a6aa094461
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: d2948f250b
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: 9cb0ebe37d
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: 71132edf17
2022-01-04 15:55:46 +01:00
Willem Melching 0c24902e05 cameraview.cc: call glFlush after creating fence
old-commit-hash: 8655f6df6b
2022-01-04 15:55:28 +01:00
Willem Melching 879033f1ff disable pytest concurrency for test_models
old-commit-hash: 526448563c
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: 5a77157ea4
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: 5dbdad3276
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: cd9813ab6a
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: 9f88ba188a
2022-01-04 12:17:33 +01:00
Robbe Derks db09713cb7 MUI should be a status bar (#23287)
old-commit-hash: a1e201ef5a
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: f2c17bbcde
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: 937a0df57b
2022-01-04 12:06:23 +01:00
Shane Smiskol 4058a8f64f Add comment about vEgoStarting to interfaces (#23327)
old-commit-hash: 0148b233cd
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: 9295066dac
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: 960e0cf6a7
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: f561d84c62
2022-01-04 11:39:18 +01:00
Willem Melching ee850f7307 bump panda
old-commit-hash: a11bb81578
2022-01-04 11:35:36 +01:00
Dean Lee 0a762c27ce interfaces/apply: follow capnp best practices (#23371)
old-commit-hash: 05b905d140
2022-01-04 11:34:49 +01:00
Dean Lee a55046c949 longcontrol/update: optimize capnp (#23382)
old-commit-hash: 5dc631fa1b
2022-01-04 11:32:54 +01:00
Willem Melching 01c05dc66c add subaru fp2.0 to release notes
old-commit-hash: 15f88db726
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: 6b205347e5
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: 1ca5e1c82b
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: 3e5a273022
2022-01-03 20:15:10 -08:00
Dean Lee fef9d05507 replay tests: retry on network failure (#23383)
old-commit-hash: 8dd8b1905b
2022-01-03 20:10:57 -08:00
Dean Lee 2701743349 ui: emit offroadTransition in UIState::updateStatus (#23265)
old-commit-hash: 21ee6d25c7
2022-01-03 17:35:05 -08:00