Commit Graph

5646 Commits (45280754d662f4ba441a29f35dd52dd7031bf284)

Author SHA1 Message Date
Willem Melching 45280754d6
log ERROR messages in qlogs too (#23425)
* log ERROR messages in qlogs too

* own event

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-01-06 15:30:04 -08:00
Adeeb Shihadeh 1a6881edc6 skip falling device test 2022-01-06 14:05:13 -08:00
Adeeb Shihadeh ef225e3e35
locationd: disable falling device detector (#23431) 2022-01-06 12:01:14 -08:00
Dean Lee 86d730774d
replay: handle abort in getRemoteFileSize (#23427) 2022-01-06 15:56:14 +01:00
Dean Lee e0338fd77b
controlsd/state_transition: remove redundant check in elif (#23428) 2022-01-06 15:54:19 +01:00
kevinharbin c7fb8f4e32
selfdrive/car/gm/interface.py: fix typo in comment (#23429)
spelling
2022-01-06 15:53:48 +01:00
Adeeb Shihadeh 450656e2a7
GM: move abandoned cars into dashcam only (#23423) 2022-01-05 19:48:06 -08:00
Adeeb Shihadeh eb0cd9ca84 bump panda 2022-01-05 16:51:15 -08:00
Adeeb Shihadeh a12649564c
Subaru: remove all Pre-Global CAN fingerprints (#23422) 2022-01-05 14:18:38 -08:00
martinl 7faad75a44
Subaru: remove Ascent FPv1 (#23407)
* Remove Ascent FPv1

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

* SCC + LKAS is standard
2022-01-05 14:14:22 -08:00
Nelson Chen 13d011c176
Add Prius 2022 to CARS.md (#23417)
Anecdote that this is working:

https://discord.com/channels/469524606043160576/524327905937850394/928164186326982686
2022-01-05 12:16:02 -08:00
Cameron Clough 64caee88eb
replay: add missing import for std::optional (#23416) 2022-01-05 09:19:51 -08:00
Joost Wooning 3ffebf4df5
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>
2022-01-05 18:18:11 +01:00
Willem Melching 8d80c0107f
catch gl_buffer->map() returning nullptr (#23411) 2022-01-05 14:23:57 +01:00
Dean Lee a2e762e0b9
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>
2022-01-05 14:23:08 +01:00
Greg Hogan bafdb20eb1
setup: remove duplicate pipenv install (#23406) 2022-01-05 13:25:41 +01:00
Greg Hogan 23346ae63c
setup: update pyenv before installing python (#23405) 2022-01-05 00:25:34 -08:00
Adeeb Shihadeh 25f51470fc Revert "CameraView: sync pbo with glFence instead of calling glFinish (#23293)"
This reverts commit 5dbdad3276.
2022-01-04 20:16:52 -08:00
Adeeb Shihadeh 34926dfab5 Revert "cameraview.cc: call glFlush after creating fence"
This reverts commit 8655f6df6b.
2022-01-04 20:16:42 -08:00
Adeeb Shihadeh f30a702414
fix up tools readme 2022-01-04 19:59:49 -08:00
Dean Lee df7126b982
paramsd: follow capnp best practices (#23399) 2022-01-04 15:57:38 -08:00
Shane Smiskol cf9792dc53
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>
2022-01-04 15:40:39 -08:00
Dean Lee 0357cf2af0
controlsd: remove duplicate event relayMalfunction (#23392) 2022-01-04 14:07:36 -08:00
HaraldSchafer 7257f71739
Move over all tss2 long tunes (#23108)
* add all rest

* just commit to all TSS2

* forgot this line
2022-01-04 13:51:05 -08:00
HaraldSchafer d3f064f5ca
Controlsd: fix bug in curv rate limit (#23250)
* Controlsd: fix bug in curv rate limit

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

* remove comments
2022-01-04 13:07:11 -08:00
Willem Melching 9720dbe9b9 docs: conf.py dont shadow project variable 2022-01-04 17:40:00 +01:00
Andrew 9f70bea964
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 4c44c02ffb.

* its in the dockerfile

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-01-04 17:26:07 +01:00
Joost Wooning 47bb62b875
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
2022-01-04 17:01:33 +01:00
Willem Melching aad7ebdc2a bump CPU usage slightly after adding glFlush 2022-01-04 16:26:59 +01:00
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 a974e8f8cf.

* 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