Adeeb Shihadeh
e7cb6f6512
bump cereal
...
old-commit-hash: f2a9b13498
2021-06-04 16:06:57 -07:00
Willem Melching
51eb52fec4
Determine lane chane direction in preLaneChange state ( #21119 )
...
* Determine lane chane direction in preLaneChange state
* cleanup
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: de34d1a527
2021-06-04 10:03:13 +02:00
HaraldSchafer
f0f36a0a06
Many localizer resets alert ( #21116 )
...
* add excessive reset
* add alert
* add event
old-commit-hash: 1c926d23da
2021-06-03 09:26:53 -07:00
Adeeb Shihadeh
d9026b7660
fix camera error indices
...
old-commit-hash: 6fa573a2d6
2021-06-01 16:56:33 -07:00
Jafar Al-Gharaibeh
f108d93bc0
Mazda FP 2.0 support ( #20879 )
...
* Mazda FP 2.0 support
ECU FW for CX-5 2017 and Mazda3 2017
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com >
* Use standard UDS request/reponse, fix missing arg.
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com >
* Add CX-5 FW test
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com >
* update/add FW FP
Current suported models:
CX-5 2017/2021
CX-9 2019/2020
Mazda3 2017/2018
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com >
* Add Cx-9 2019 FW FP
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com >
* Remove comments, remove TESTER_PRESENT_REQUEST from Mazda
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com >
* add transmission ecu to startup test
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com >
old-commit-hash: 824f93303d
2021-05-28 15:50:58 +02:00
Adeeb Shihadeh
bf9f1f3871
fix low memory on tici
...
old-commit-hash: e1d7a1af10
2021-05-26 19:47:10 -07:00
Adeeb Shihadeh
bb70ddcbfe
Move CAN fingerprinting behind community features ( #20993 )
...
* Move CAN fingerprinting behind community features
* fix typo
* fix startup test
* fix
old-commit-hash: 726fb9d501
2021-05-24 19:21:58 -07:00
HaraldSchafer
5c5dfe5415
Safe interpolation in lane_planner ( #20995 )
...
* safe idxs
* make thread more safe
old-commit-hash: d6fcf6fa84
2021-05-21 16:34:17 -07:00
Adeeb Shihadeh
41f8f5c7ce
per camera alerts ( #20992 )
...
* per camera alert
* bump cereal
* cleanup
* space
old-commit-hash: 12ed986333
2021-05-21 14:53:30 -07:00
Adeeb Shihadeh
d7a2931a1f
stricter memory usage check ( #20985 )
...
old-commit-hash: c04b47938d
2021-05-21 11:25:11 +02:00
Adeeb Shihadeh
a4550fec27
show alert for rest of drive
...
old-commit-hash: fa1df5f783
2021-05-20 20:03:39 -07:00
Mitchell Goff
78927e4ebb
New model outputs ( #20933 )
...
* New model: 51a237cd-9c43-4281-9072-802325e6744d/950
* Added new meta outputs and proper interp for plan_t_arr
* Added meta-based trigger for FCW
* No nans in planner, separate alert for model FCW
* Cleaned up plan_t interp logic
* Added empty cameraError alert to fix unit tests
* Use the normal FCW event
* Updated filter logic
* Updated model replay ref
* Moved disengage predictions into their own cereal struct
* Updated model replay ref for new cereal structs
* Apparently this breaks stuff?
* Bumped cereal commit and model replay ref
old-commit-hash: 29cc3500a5
2021-05-19 22:30:23 -07:00
Adeeb Shihadeh
340a080c3b
alert for errors in camera stack ( #20932 )
...
* camera error alert
* check crcs
* cleanup
* bump cereal
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 2defc730db
2021-05-19 21:28:16 -07:00
Adeeb Shihadeh
16c7107d65
fingerprint cloudlog event ( #20950 )
...
* fingerprint cloudlog event
* kale cloudlog
* not fuzzy
old-commit-hash: f08e01c97f
2021-05-18 10:52:53 -07:00
Adeeb Shihadeh
29a2bef998
offroad alert for missing nvme ( #20931 )
...
* offroad alert for missing nvme
* remove that
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 313741062e
2021-05-17 13:35:24 -07:00
Adeeb Shihadeh
3fbeb1299e
boardd: set can and pandaState valid flags ( #20899 )
...
* boardd: set can and pandaState valid flags
* add event
* bump cereal
* consistency
old-commit-hash: e694f0b4d6
2021-05-14 21:26:02 -07:00
Adeeb Shihadeh
8002b848b6
offroad alert for unregistered devices ( #20870 )
...
* offroad alert for unregistered devices
* update tests
* add param
* fix stretch
old-commit-hash: b93ccc465d
2021-05-11 03:18:45 -07:00
Dean Lee
e333e4f189
Cleanup selfdrive/ includes ( #20822 )
...
* cleanup include path
* continue
* format includes
* fix testraw.cc
* remove include path from SConstruct
* regroup
* rebase master
* almost done
* apply review
* rename FileReader.xx to filereader.xx
* rename Unlogger.x->unlogger.x
* rename FrameReader.xx -> framereader.xx
* apply reviews
* ui.h
* continue
* fix framebuffer.cc build error:mv util.h up
* full path to msm_media_info
* fix qcom2 camerad
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 7222d0f20d
2021-05-08 22:15:17 -07:00
Willem Melching
523c00acdc
Improve community feature alert text ( #20803 )
...
old-commit-hash: b38e57eb2b
2021-05-03 11:59:01 +02:00
Adeeb Shihadeh
ec7913cbe5
delay controls start ( #20761 )
...
* delay controls start
* shouldn't need this stuff anymore
* only delay board
* bail after 2s
* fix loopback test
* fix process replay
* update refs
* bump cereal
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: f9a961f6fb
2021-04-30 13:55:17 -07:00
Willem Melching
002057e1f1
Fix ability to change lane change direction while in progress ( #20765 )
...
old-commit-hash: a57f10c202
2021-04-29 13:03:16 -07:00
qadmus
99d3a5e553
ignore_avg_freq of longitudinalPlan, which is triggered by radarState ( #20743 )
...
old-commit-hash: 0d10f9c4ad
2021-04-29 11:06:44 -07:00
Willem Melching
5ec437bb6e
Ignore radarState average frequency
...
old-commit-hash: 64d2ec38f2
2021-04-21 10:59:26 +02:00
Adeeb Shihadeh
cc29fdfed2
less harsh steering unavailable alert when overriding ( #20718 )
...
* less harsh steering unavailable alert when overriding
* just steer
* 1s
* orange
* update refs
old-commit-hash: 836668f105
2021-04-20 21:01:28 -07:00
Adeeb Shihadeh
6d28491dbf
Toyota: use FW query for DSU detection ( #20615 )
...
* Toyota: use FW query for DSU detection
* make sure we have at least some fw responses
* bool
* add test to test_startup
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: a19d94ae2d
2021-04-20 14:32:34 +02:00
Willem Melching
ee0e80a6d4
Fuzzy match on ECU FW versions ( #20687 )
...
* Fuzzy match on 3+ ECUs
* reuse dict
* exclude some shared ecus to be sure
* show alert for fuzzy match
* use title case
* require community toggle
* refactor
* do both exact and fuzzy in test script
* update test script
* add fuzz test and lower matches to >= 2
* strip alert length
* sort mismatches
* add fw tests to test_startup
* bump cereal
old-commit-hash: e4f73fbda5
2021-04-20 12:00:36 +02:00
Adeeb Shihadeh
07ba5a7fe9
show gps alert when lte's enabled
...
old-commit-hash: 3fa86657cb
2021-04-15 22:12:16 -07:00
Adeeb Shihadeh
31d818b39a
tici: offline big cluster while offroad ( #20668 )
...
* tici: offline big cluster while offroad
* shuffling
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 9edda6fbc1
2021-04-12 23:06:24 -07:00
Willem Melching
811746959e
tici: move real-time processes to high-performance cores ( #20634 )
...
old-commit-hash: 8ede1b30aa
2021-04-09 13:41:43 +02:00
Willem Melching
80b4e6ce09
plannerd: use get_bool to read param
...
old-commit-hash: 44c395165b
2021-04-09 10:32:31 +02:00
HaraldSchafer
3833a80305
MPC retune for laneless fix ( #20616 )
...
* was making wrong policy more aggresive
* allow to be set from simulator
* update refs
* put params together
old-commit-hash: 0e10b74a61
2021-04-08 12:56:47 -07:00
Willem Melching
99a8e9222e
Add list for average frequency ignore ( #20624 )
...
* add list for averge frequency ignore
* typo
old-commit-hash: c1075037ba
2021-04-08 18:04:16 +02:00
Adeeb Shihadeh
99b2c0d024
Alerts update ( #20567 )
...
* steer temp unavailable should be a soft disable
* no mute
* these should be no entries
* sound
* better name
* deprecated
* make vehicleModelInvalid a soft disable
* update refs
* bump cereal
* bump cereal
* update refs
old-commit-hash: 2fa1b2572d
2021-04-07 12:18:58 -07:00
Willem Melching
00b19b6351
ecam toggle ( #20597 )
...
* use ecam in ui
* needs reboot
* use in modeld
* typo
* effective FL is longer in center
* normalize zoom by focal dist
* read param before init
* make 2x as wide
* review comments
* more explicit
* fix camera offset
Co-authored-by: ZwX1616 <zwx1616@gmail.com >
old-commit-hash: 1fc7bcca43
2021-04-07 19:12:35 +02:00
Willem Melching
8f4a445171
add putBool/getBool wrappers to cython params class ( #20611 )
...
* add putBool/getBool wrappers to cython class
* use new API
* some more puts
* fix mockparams arguments
* add get_bool to MockParams
* typo
old-commit-hash: ae094042ad
2021-04-07 15:36:37 +02:00
Willem Melching
d4795ed361
remove ubloxRaw from controlsd SubMaster
...
old-commit-hash: 0dca8cb7dd
2021-04-07 14:41:38 +02:00
HaraldSchafer
1d36adf351
no heading cost ( #20594 )
...
* no heading cost
* live mpc weight config
* need to add stds
* make work on empty data
* no divide by 0
* update refs
* update model replay
* update proc replat
* new model replay ref
old-commit-hash: d72d433ec7
2021-04-06 23:49:29 -07:00
Willem Melching
15c06d1c06
Check average frequency in SubMaster ( #20558 )
...
old-commit-hash: 79b5bee9dd
2021-04-06 10:09:47 +02:00
Adeeb Shihadeh
7850141e1a
lower min lane change speed to 30mph ( #20586 )
...
* lower min lane change speed to 30mph
* update refs
old-commit-hash: 2319d726fb
2021-04-05 15:38:53 -07:00
Adeeb Shihadeh
092db4eadc
show persistent dashcam mode alert ( #20483 )
...
* always show dashcam mode alert
* show persistent dashcam mode alert
* lowest
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 367aec54d1
2021-03-25 21:37:38 -07:00
HaraldSchafer
eae1fa481c
New KL model + laneless toggle ( #20454 )
...
* New model: 0bf38240-6b55-42b0-bcfb-da08ff5cd0b9/650
* laneless baby
* hardcode model difference for now
* kale toggle
* kale emoji
* sensible description
* make clear it is not just for ui
* emojis dont work yet
* 9671a8fe-539f-4a04-a163-54571df21139/650
* new model
* only read param on rising edge of ignition
* update toggle text
* fix that
* update refs
Co-authored-by: mitchell <mitchellgoffpc@gmail.com >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 7ee79c9923
2021-03-24 01:10:31 -07:00
Adeeb Shihadeh
5cfc42911b
Remove lane change toggle and default LDW to off ( #20442 )
...
* remove lane change toggle and default LDW to off
* update refs
old-commit-hash: 43ce7165c4
2021-03-22 20:55:57 -07:00
Erich Moraga
10d1905a24
remove unused line ( #20426 )
...
old-commit-hash: 0fc5c86805
2021-03-21 17:13:16 -07:00
Willem Melching
e3d92dc714
verify safetyParam read back from PandaState ( #20384 )
...
* verify safetyParam read back from PandaState
* update ref
* bump panda
old-commit-hash: 3c23226edc
2021-03-17 14:20:05 +01:00
HaraldSchafer
c07a1ad57b
Sane curvature rate limit in plannerd ( #20366 )
...
* safety limit
* should be in RADs
* add raw
* update refs
old-commit-hash: 27035131cc
2021-03-16 15:00:03 -07:00
Willem Melching
f1dc58a5f6
make vehicleModelInvalid a NoEntry
...
old-commit-hash: 2ca5bf9992
2021-03-15 12:15:27 +01:00
Willem Melching
a5547c6d5b
Fix vehicleModelInvalid alert ( #20352 )
...
* Fix vehicleModelInvalid alert
* remove from if else tree
old-commit-hash: 9685be4090
2021-03-15 11:33:45 +01:00
Willem Melching
4bd1929d2b
LateralPlanner should only compute curvature ( #20289 )
...
* get curvature from planner
* no need to check active
* remove that
* remove self
* liveParams not needed
* cast
* fix test bug
* fixes
* fix ui.py
* fix radians
* update refs
* update refs
* bump cereal
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: c23ec9f753
2021-03-11 21:08:51 -08:00
HaraldSchafer
7b243b8747
Better high speed alert message ( #20322 )
...
old-commit-hash: 0223578461
2021-03-11 17:01:29 -08:00
Willem Melching
6d89cec36a
turn off gpsMalfunction alert until uBlox config is fixed
...
old-commit-hash: af02811d42
2021-03-10 11:13:46 +01:00