Shane Smiskol
56b3c7f790
LanePlanner: offsets cleanup ( #23459 )
...
* update comments
* model y axis was flipped so flip the offsets as well
* fix
old-commit-hash: 233a6e4a625a8ef145904522e4663177bcd3d65d
2022-01-10 13:08:45 -08:00
hoomoose
8fd2e9a7c1
Hyundai: use regular Hyundai safety mode and add radar DBC ( #23461 )
...
old-commit-hash: ed5e58c48a5fa770526402c773d1c6ebda416726
2022-01-10 13:01:58 -08:00
Robbe Derks
54a4dece4d
Ignore statsd for running process check ( #23483 )
...
old-commit-hash: 1a54d7f6aee817cc3217041bc085f9b83faafce0
2022-01-10 19:54:41 +01:00
Willem Melching
efc06c6290
thermald: track engaged state in param and kmsg ( #23478 )
...
* thermald: track engaged state in param
* write in kmsg
* format string
* move to python
old-commit-hash: 3ce4976db79fde95264f114b61d6be025aec9a71
2022-01-10 19:54:07 +01:00
AlexandreSato
020d7d8b57
add missing toyota fw engine ( #23272 )
...
541c7e27e413735c|2021-12-17--14-21-53
Adding fingerprint of a corolla gr here from Brazil
old-commit-hash: 779e602de20c894669f98b99b3d3f0ed8fc3c2a6
2022-01-10 18:47:51 +01:00
Dean Lee
97c4cdc0cc
LongControl: remove redundant check on active ( #23481 )
...
old-commit-hash: 4208fe018e898d9f3cde1b2ac8feb29d9bb11ce6
2022-01-10 18:46:02 +01:00
Dean Lee
98de810849
check in tuple instead of list ( #23477 )
...
* check in tuple instead of list
* Update selfdrive/car/toyota/carcontroller.py
Co-authored-by: Willem Melching <willem.melching@gmail.com >
* Update selfdrive/car/mazda/interface.py
Co-authored-by: Willem Melching <willem.melching@gmail.com >
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: a653461dec18b1313148905172ba54bac9f5fdfd
2022-01-10 16:36:51 +01:00
Robbe Derks
323febbf37
Statsd ( #23413 )
...
* device side of statsd
* need to start it
* enable in manager
* add sleep
* cleanup
* remove aggregates for now and standardize on industry terms
* manager needs main
* need to have a try/except
* atomic_write_on_fs_tmp does not work
* cleaner
* use dump
Co-authored-by: Willem Melching <willem.melching@gmail.com >
* one file at a time
* limit amount of files
* move to influx line protocol and cleanup
* needs to be a list
* fix timezone bug
* actually rate limit
* add to release
* normalized origin
* also log deviceType
* more stats
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: 1b49ce6ec401966b0c56f62ea2b71209e9d4075b
2022-01-10 15:21:48 +01:00
Dean Lee
75d00872e8
events: cleanup function any ( #23479 )
...
old-commit-hash: 8eec818ae625fd2311bd3d5f9976d034674cb13e
2022-01-10 14:32:07 +01:00
Robbe Derks
08212107e8
C2 detection ( #23439 )
...
* two detection
* fix CI
* catch all
* gotta catch em all
old-commit-hash: 842ba8e5e6253d17d82a02d3d9994efbbbf2133e
2022-01-10 13:13:52 +01:00
Dean Lee
61a28b2fb7
controlsd: check all_valid only if not initialized ( #23437 )
...
* check all valid in if statement
* apply review
old-commit-hash: 67af0956923558059d1feea9a9e263d37d09e865
2022-01-10 12:13:58 +01:00
Dean Lee
df63cf059a
controlsd: save lat_plan.dPathPoints to local variable ( #23462 )
...
old-commit-hash: 2d08f8b318641ee4e6d53ca736358c7a2d533b5d
2022-01-10 11:27:31 +01:00
Dean Lee
7276bf8197
controls: check contents in tuple instead of list ( #23463 )
...
old-commit-hash: b2beb5e6ba6eda6354e93649a5b5829c9c4537bc
2022-01-10 11:26:58 +01:00
Dean Lee
38144fa83b
calibrationd: remove extra comma ( #23472 )
...
old-commit-hash: f6c6e34ea34f61b2e8d32523a6414dc58b6419e4
2022-01-09 14:32:33 -08:00
Shane Smiskol
c569652638
Toyota: use common DBC for TSSP Camry Hybrid ( #23453 )
...
* bump dbc
* use nodsu_hybrid dbc
* remove from files_common
* bump opendbc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 0c075a66dbcaef13737aa974f7363be4a0cc94df
2022-01-08 18:41:05 -08:00
Greg Hogan
70519b1fd6
hyundai enable radar points script cleanup ( #23451 )
...
old-commit-hash: a0eed0cdd23598fd8dcc34805cc83ed0fe515348
2022-01-08 07:55:48 -08:00
Willem Melching
c8cb5abfbb
CameraView: sync pbo with glFence instead of calling glFinish ( #23409 )
...
* CameraView: sync pbo with glFence instead of calling glFinish (#23293 )
* Sync pbo with fence
* use std::unique_ptr
* cameraview.cc: call glFlush after creating fence
Co-authored-by: Dean Lee <deanlee3@gmail.com >
old-commit-hash: d77782ea931b9fa3e7e2a31628f6ec1d35a47884
2022-01-07 15:24:20 +01:00
Willem Melching
016b5e1d01
Revert "ui/update_model: do not recalculate the max_idx If there is no lead ( #23356 )"
...
This reverts commit 939898a2cd498dc7f30b0d56782abd3e03108ff7.
old-commit-hash: c4b36ce11ed3a4559d5e59d51bf8b744f0d3bf5d
2022-01-07 14:31:23 +01:00
Dean Lee
296925cd6a
optimize alertmanager ( #23433 )
...
old-commit-hash: 09a835916b0c10175c5658a92cf5ca23a337cb19
2022-01-06 22:15:32 -08:00
Cameron Clough
dbbdcb32d1
fix typo in athena/registration.py ( #23434 )
...
old-commit-hash: 1de0757c5e7dba1ea9696cbed80f871c8965c1c4
2022-01-06 16:11:32 -08:00
Willem Melching
7587387f92
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 >
old-commit-hash: 45280754d662f4ba441a29f35dd52dd7031bf284
2022-01-06 15:30:04 -08:00
Adeeb Shihadeh
1d324e09c4
skip falling device test
...
old-commit-hash: 1a6881edc6318bf30d2ba451d75eeb7d1b53389d
2022-01-06 14:05:13 -08:00
Adeeb Shihadeh
305a8eac79
locationd: disable falling device detector ( #23431 )
...
old-commit-hash: ef225e3e3515c449ba9f69d6e28c02912f1579c3
2022-01-06 12:01:14 -08:00
Dean Lee
1f0b5a6bc0
replay: handle abort in getRemoteFileSize ( #23427 )
...
old-commit-hash: 86d730774de0b18ba2541490df4733d922d6291d
2022-01-06 15:56:14 +01:00
Dean Lee
60a22bbc0c
controlsd/state_transition: remove redundant check in elif ( #23428 )
...
old-commit-hash: e0338fd77b98073673f48213336965349e7194a9
2022-01-06 15:54:19 +01:00
kevinharbin
4c6fcce21f
selfdrive/car/gm/interface.py: fix typo in comment ( #23429 )
...
spelling
old-commit-hash: c7fb8f4e32330174cc156d70c99db94688cd165f
2022-01-06 15:53:48 +01:00
Adeeb Shihadeh
2e0de00728
GM: move abandoned cars into dashcam only ( #23423 )
...
old-commit-hash: 450656e2a70623b5ae0d93b37091d15429222970
2022-01-05 19:48:06 -08:00
Adeeb Shihadeh
9cbde03c7c
Subaru: remove all Pre-Global CAN fingerprints ( #23422 )
...
old-commit-hash: a12649564c9b4c3abb0cee8c97631b2698a82019
2022-01-05 14:18:38 -08:00
martinl
6b4865ac8a
Subaru: remove Ascent FPv1 ( #23407 )
...
* Remove Ascent FPv1
* bump cereal
old-commit-hash: 7faad75a44d05a972d614e78ddb1a1fcc63be735
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: e499ebc711d15f4222b6ad77aa20049475a739f4
2022-01-05 14:14:22 -08:00
Cameron Clough
6d714fb21a
replay: add missing import for std::optional ( #23416 )
...
old-commit-hash: 64caee88ebf3d3fe99a2baf7021a93e4ecd79a66
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: 3ffebf4df5063e926ce530453f202cd7de4a6f99
2022-01-05 18:18:11 +01:00
Willem Melching
8c1fe7647a
catch gl_buffer->map() returning nullptr ( #23411 )
...
old-commit-hash: 8d80c0107f5d1cd2ba2b5a37f297d3ae8e3b02f3
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: a2e762e0b96c7ff271dcfd41c0ca7c12018444f0
2022-01-05 14:23:08 +01:00
Adeeb Shihadeh
097110ba41
Revert "CameraView: sync pbo with glFence instead of calling glFinish ( #23293 )"
...
This reverts commit 7fcde6809582c5b8ddfe5a60723d70f9eae1d5de.
old-commit-hash: 25f51470fc66f741a2448910ad57e17f9a643a8d
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: 34926dfab58b6119cd2bf6cbf4fb83a937b22d18
2022-01-04 20:16:42 -08:00
Dean Lee
179a685894
paramsd: follow capnp best practices ( #23399 )
...
old-commit-hash: df7126b982d6663d7016b6ad28c10af94dc00b19
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: cf9792dc536db343447cfa64edecc72565c4eefd
2022-01-04 15:40:39 -08:00
Dean Lee
0a03f65b2b
controlsd: remove duplicate event relayMalfunction ( #23392 )
...
old-commit-hash: 0357cf2af0bc7449e7aefff5b0f0881f1ae2adb3
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: 7257f717397ba98b5fa2c298f40fe04f692fd8e6
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: d3f064f5ca2563ab139687550eb5d3139b6b8fea
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: 15be8a8c1f9a15f08b09bd137e661974c77c3616
2022-01-04 13:07:11 -08: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
Willem Melching
0c24902e05
cameraview.cc: call glFlush after creating fence
...
old-commit-hash: 8655f6df6bd9eff27bb6600aa0e19bba8af0198c
2022-01-04 15:55:28 +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