Dean Lee
e4e669bb0f
add space after function name and if statement ( #21225 )
4 years ago
Willem Melching
ec17fad41a
Alerts documentation ( #21172 )
...
* Alerts documentation
* fingerprinting
* comment not necessary
* spelling
* openpilot
* Apply suggestions from code review
Co-authored-by: Chris McCammon <chrismccammon123@gmail.com>
* Apply suggestions from code review
Co-authored-by: Chris McCammon <chrismccammon123@gmail.com>
4 years ago
CrispinFlowerday
7458e143e3
Subaru: show LDW on dash for correct lane ( #20934 )
...
* Emit correct alerts for LDW Left & Right on Subarus
This change switches the ldw event to use VisualAlert.ldw and
alters all cars to use the prior behaviour for that alert, except
global subarus - they emit the correct warning to the dash
* Remove whitespace, and add comment about not overwriting stock alerts
Co-authored-by: Crispin Flowerday <crispin@theflowerdays.com>
4 years ago
Adeeb Shihadeh
524aa55b93
fix mpc compilation ( #21178 )
4 years ago
Adeeb Shihadeh
d4ab1f1e27
startup alert for no fw returned ( #21177 )
4 years ago
speedking456
24b6b4a341
Add chime to lane changed blocked alert ( #21159 )
...
* Update carcontroller.py
* Lane change blocked orange + audible alert
* Actually make it make sound
* Update carcontroller.py
* leave priority the same
4 years ago
Adeeb Shihadeh
f2a9b13498
bump cereal
4 years ago
Willem Melching
de34d1a527
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>
4 years ago
HaraldSchafer
1c926d23da
Many localizer resets alert ( #21116 )
...
* add excessive reset
* add alert
* add event
4 years ago
HaraldSchafer
d6fcf6fa84
Safe interpolation in lane_planner ( #20995 )
...
* safe idxs
* make thread more safe
4 years ago
Adeeb Shihadeh
12ed986333
per camera alerts ( #20992 )
...
* per camera alert
* bump cereal
* cleanup
* space
4 years ago
Adeeb Shihadeh
2defc730db
alert for errors in camera stack ( #20932 )
...
* camera error alert
* check crcs
* cleanup
* bump cereal
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
313741062e
offroad alert for missing nvme ( #20931 )
...
* offroad alert for missing nvme
* remove that
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
e694f0b4d6
boardd: set can and pandaState valid flags ( #20899 )
...
* boardd: set can and pandaState valid flags
* add event
* bump cereal
* consistency
4 years ago
Adeeb Shihadeh
b93ccc465d
offroad alert for unregistered devices ( #20870 )
...
* offroad alert for unregistered devices
* update tests
* add param
* fix stretch
4 years ago
Dean Lee
7222d0f20d
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>
4 years ago
Willem Melching
b38e57eb2b
Improve community feature alert text ( #20803 )
4 years ago
Adeeb Shihadeh
f9a961f6fb
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>
4 years ago
Willem Melching
a57f10c202
Fix ability to change lane change direction while in progress ( #20765 )
4 years ago
Adeeb Shihadeh
836668f105
less harsh steering unavailable alert when overriding ( #20718 )
...
* less harsh steering unavailable alert when overriding
* just steer
* 1s
* orange
* update refs
4 years ago
Willem Melching
e4f73fbda5
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
4 years ago
HaraldSchafer
0e10b74a61
MPC retune for laneless fix ( #20616 )
...
* was making wrong policy more aggresive
* allow to be set from simulator
* update refs
* put params together
4 years ago
Adeeb Shihadeh
2fa1b2572d
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
4 years ago
Willem Melching
1fc7bcca43
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>
4 years ago
Willem Melching
ae094042ad
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
4 years ago
HaraldSchafer
d72d433ec7
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
4 years ago
Adeeb Shihadeh
2319d726fb
lower min lane change speed to 30mph ( #20586 )
...
* lower min lane change speed to 30mph
* update refs
4 years ago
Adeeb Shihadeh
367aec54d1
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>
4 years ago
HaraldSchafer
7ee79c9923
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>
4 years ago
Adeeb Shihadeh
43ce7165c4
Remove lane change toggle and default LDW to off ( #20442 )
...
* remove lane change toggle and default LDW to off
* update refs
4 years ago
HaraldSchafer
27035131cc
Sane curvature rate limit in plannerd ( #20366 )
...
* safety limit
* should be in RADs
* add raw
* update refs
4 years ago
Willem Melching
2ca5bf9992
make vehicleModelInvalid a NoEntry
4 years ago
Willem Melching
c23ec9f753
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>
4 years ago
HaraldSchafer
0223578461
Better high speed alert message ( #20322 )
4 years ago
wolterhv
93911a7dbe
Replace hardcoded values for Pi ( #20235 )
...
* Avoid redefining pi, use instead math.pi or M_PI from math.h
* Revert overwriting of the gpsPi variable, which is part the GPS standard.
* Move standard library imports to top, remove standard library import comments.
4 years ago
Marius Larsen
e998d6d93f
Fxing some typos in vehicle_model.py comments ( #20220 )
4 years ago
Willem Melching
280192ed14
only allow INDI wind down on user override ( #20080 )
4 years ago
HaraldSchafer
8df76b3980
Always linearize, better way of compensating for lag ( #20133 )
...
* need to divide diff by 2
* simple linearization seems to work best
* update refs
4 years ago
HaraldSchafer
a0cdacbb2a
Do not allow engagement outside of training distribution ( #20112 )
...
* higher is out of the training distribution
* Update RELEASES.md
* Update RELEASES.md
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Adeeb Shihadeh
312b681a46
cereal cleanup part 2 ( #20092 )
...
* car stuff
* thermal
* Revert "car stuff"
This reverts commit 77fd1c65eb
.
* panda state
* camera stuff
* start deg
* most is building
* builds
* planner + controls run
* fix up paramsd
* cleanup
* process replay passes
* fix webcam build
* camerad
* no more frame
* thermald
* ui
* paramsd
* camera replay
* fix long tests
* fix camerad tests
* maxSteeringAngle
* bump cereal
* more frame
* cereal master
4 years ago
Igor
8f9ee10b8a
Fix division by zero in lateral_planner.py ( #20071 )
...
* Fix division by zero
* Change fix logic
4 years ago
HaraldSchafer
0c900c8ce1
fix low speed lateral ( #20053 )
...
* fix low speed lateral
* update ref
* fix failing CI jobs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
HaraldSchafer
c3707328f5
Different lag comp ( #20024 )
...
* more sensible
* different names for different segs
* new ref
* this is checked somewhere
4 years ago
HaraldSchafer
bad68e4663
camera offsets ( #20022 )
...
* camera offsets
* runs on pc so is 0 in proc replay
4 years ago
Adeeb Shihadeh
000bd226aa
Cereal cleanup ( #20003 )
...
* start cleanup
* fan speed
* cleanup dm
* fix cereal
* hwType -> pandaType
* update refs
* update refs
* bump cereal
* freeSpacePercent
* cereal master
4 years ago
HaraldSchafer
61a4e3e661
Remove curv factor ( #20011 )
...
* cleaning crew
* need that to match
* smooth factor
* that didn't really work
* closer to previous
* new ref
* new names
4 years ago
HaraldSchafer
3f2b42b4e3
Deal with long lag compensation ( #20004 )
...
* add hack for big lags
* wrong bracket
* new pathplanner values
4 years ago
HaraldSchafer
d1b31d3697
not relevant at high speed ( #19946 )
...
* not relevant at high speed
* update ref
4 years ago
Mitchell Goff
608f00f814
Split planner and pathplanner publishing into separate 'publish' methods ( #19860 )
...
* Split planner and pathplanner publishing into separate 'publish' methods
* Updated test_following_distance.py
* Combined publish+send_mpc_solution methods
4 years ago
HaraldSchafer
d628352098
important for indi ( #19926 )
...
* important for indi
* dont change that in this pr
4 years ago