Vivek Aithal
e49748d571
Chevrolet Bolt: Non-linear torque tune ( #27344 )
...
* add non linear tune
* update refs
* rerun tests
2 years ago
Adeeb Shihadeh
5af5f02ba8
better min enable speed alert ( #27317 )
2 years ago
Shane Smiskol
4f2134468f
events: reword ESP off alert ( #27304 )
...
* Rename event
* rename to Control
* rename to disabled
2 years ago
Adeeb Shihadeh
5ab2d35f7b
controlsd: higher default set speed in experimental mode ( #27279 )
...
* controlsd: higher default set speed in experimental mode
* update tests
* update tests
2 years ago
Adeeb Shihadeh
7978901101
controlsd: revert CAN timeout threshold ( #27275 )
...
* controlsd: revert CAN timeout threshold
* dt_ctrl doesn't make sense there
2 years ago
Shane Smiskol
8f5057ff2d
GM: enforce steering command message timing ( #27250 )
...
* draft
* bump opendbc
* still draft
* that's not right
* superset of the changes, 33hz
* cleanup
* this should work
* remove line
* pass it in again
* actually no need to check updated now
* now_nanos
* consistent name
* fix replay
* one line isn't that bad
switch
switch
* fix CarController tests
* Update ref_commit
2 years ago
Adeeb Shihadeh
b3b35b23fa
controlsd: don't show steer saturated if recently overriding ( #27191 )
...
* controlsd: don't show steer saturated if recently overriding
* 2s
* update refs
2 years ago
Shane Smiskol
ad5b3ea410
controls: add curvature to actuators ( #27108 )
...
* Add curvature to actuators
* Use it in CC
* revert ford stuff
* Update ref_commit
2 years ago
Adeeb Shihadeh
c408b7e306
UI: show experimental long available to release users ( #26910 )
...
* UI: show experimental long available to release users
* more description
* cleanup
* hide toggle
* fix process replay
* clear param
* actually fix
2 years ago
Shane Smiskol
2fd48e26a3
Deprecate canMonoTimes ( #26992 )
...
* not used anywhere
* bump cereal
* also here
2 years ago
apache2046
f25239f7c5
Radard: pdf not cdf ( #26978 )
...
Update radard.py
according the the equation, it is the probability density function (pdf) , not the cumulative distribution function (cdf)
2 years ago
Shane Smiskol
b00bc4f57e
Car interface: require fingerprint and FW versions to get params ( #26932 )
...
* require fingerprint and FW versions
* add get_non_essential_params()
* comment
* all required
* classmethod, need to allow subclasses to override _get_params
* fix that
* fix
* fix
* wrong fix 🤦
2 years ago
Adeeb Shihadeh
f14deae475
Revert "Car interface: require fingerprint and FW versions to get params ( #26766 )"
...
This reverts commit b68dabb689
.
2 years ago
Shane Smiskol
b68dabb689
Car interface: require fingerprint and FW versions to get params ( #26766 )
...
* require fingerprint and FW versions
* add get_non_essential_params()
* comment
* all required
* classmethod, need to allow subclasses to override _get_params
* fix that
* fix
2 years ago
Jason Young
cb88b3ed65
controlsd: set latActive with max minimum steer speed ( #26805 )
...
* refactor minimum lateral speed handling
* rename for clarity
* simplify without joystick at standstill
* intermediate standstill variable, check notCar
* check joystick for now
* cmt
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 years ago
Shane Smiskol
f0d0d99981
process replay: test body with joystick mode ( #26916 )
...
* no need to check sm
* fix
* Update ref_commit
* revert
2 years ago
Shane Smiskol
b45dda2d0a
Longitudinal tests: test forceDecel ( #26765 )
...
* test with forceDecel
* test all combos
* fix
* fix
* fix
* ...
* remove print
* clean up
* just set cruise to 0
* update ref commit
Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
2 years ago
Shane Smiskol
4e9bddee5c
longcontrol: enter stopping state immediately ( #26879 )
...
* enter stopping state immediately
* Update selfdrive/controls/lib/longcontrol.py
2 years ago
Adeeb Shihadeh
cd8e03d53e
move all third party stuff into third_party/ ( #26853 )
...
* mv fastcluster
* move msm_kgsl.h
* camerad include
* update path
* mv pyextra
* fix tici build
* add acados_template to release build
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
65414bcd8d
controlsd: remove laikad from ignored process list
2 years ago
Shane Smiskol
9e9600a4f4
Events: actionable accFaulted alert text ( #26783 )
...
same alert text as steer and brake unavailable
2 years ago
Adeeb Shihadeh
151e0d8c39
controlsd: add blinkers to carControl ( #26773 )
...
* controlsd: add blinkers to carControl
* not actuators
* update refs
2 years ago
Shane Smiskol
2545dd195e
alert: smaller standstill alert ( #26751 )
...
smaller standstill alert
2 years ago
Shane Smiskol
84340f07ab
LatControlAngle: fix setting saturation check speed ( #26752 )
...
set in init function
2 years ago
Shane Smiskol
d5ffb90a04
LatControlAngle: lower saturation check speed ( #26749 )
...
lower speed for angle
2 years ago
Shane Smiskol
c1b3d696bc
controlsd: set steer_limited for angle cars ( #26748 )
...
* Set steer limited for angle cars
* closer to torque threshold
2 years ago
Shane Smiskol
d97336d532
LatControl: remove duplicate logic for saturation ( #26725 )
...
this is already checked
2 years ago
Shane Smiskol
9ea72b6550
Longitudinal tests: clean up ( #26708 )
...
* refactor test_cruise_speed.py
* clean up long tests
* and here
2 years ago
Shane Smiskol
e6fcc2d6aa
planner: read experimental mode from controlsState ( #26553 )
...
read from controlsState
2 years ago
Shane Smiskol
5409895ab2
Deprecate noTarget event ( #26638 )
...
deprecate notarget
2 years ago
Shane Smiskol
41610fe8ae
controls: remove noTarget event ( #26632 )
...
remove noTarget alert
2 years ago
Shane Smiskol
dbe512d167
controlsd: preEnable on brake at a standstill ( #26273 )
...
* pre-enable on brake at standstill
* test by getting rid of noTarget
* Update events.py
* rename
* stash what we got so far
* cmt
* not sure if best way to fix, but enabled with current states defs is fine
* no noEntry in preEnabled
* bumpcereal
* uncomment
* Update ref_commit
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
Shane Smiskol
8ad8d4e1c2
controls: preEnabled doesn't consider noEntry ( #26627 )
...
preEnabled doesn't consider noEntry
2 years ago
Vivek Aithal
3a4f19f0ee
[controlsd] Refactor apply_deadzone in Lateral Torque Control ( #26626 )
...
rename apply_slack to apply_center_deadzone, remove unused prius offline values
2 years ago
Vivek Aithal
0706b03e8c
[controlsd] Toyota Prius 2017 ( #26455 )
...
* increase lag on prius
* better offline values computation
* split prius ecu more, set deadzone to 0
* add deadzone back
* replace deadzone with slack
* reduce deadzone to 0.2
* update refs
2 years ago
Shane Smiskol
3253b85900
Toyota: alert when in standstill ( #26585 )
...
* add resume required alert
* possibly need this (pressing resume with brake held does nothing)
* better text (has both meanings)
* try this
* Revert "try this"
This reverts commit 5b2991929b
.
* no alert with interceptor
* check long
2 years ago
Shane Smiskol
a19b5b91d2
longcontrol: ignore cruise standstill if interceptor ( #26597 )
...
* ignore standstill
* cmt
* standstill
* rm cmt
* flip
2 years ago
Adeeb Shihadeh
7361d1a11b
process replay: support old routes with no peripheralState
2 years ago
Adeeb Shihadeh
65fa87a969
cleanup panda types everywhere ( #26574 )
...
* cleanup panda types everywhere
* one more
2 years ago
Shane Smiskol
23a7a987f6
controlsd: add test around cruise speed gas pressed behavior ( #26486 )
...
* test
* test
* debug
* test
* test
* test
* clean up
* clean up
* add test
* stash
* clean up
* clean up
* clean up
* assert equal
2 years ago
Adeeb Shihadeh
94aa39bdd4
enable experimental longitudinal control on devel ( #26544 )
2 years ago
YassineYousfi
ded66e6307
long_mpc: fix e2e source condition ( #26546 )
...
* fix long_mpc source param
* rm print
* add back space for formatting
2 years ago
Adeeb Shihadeh
9c96b21367
publish experimental mode state ( #26512 )
...
* publish experimental mode state
* remove that
2 years ago
Shane Smiskol
f15d169289
controlsd cruise speed: fix missing initial value
2 years ago
Shane Smiskol
e46063086f
controlsd: no speed increment if enabled on button rising edge ( #26490 )
...
* don't increment speed if we enabled on rising edge
* more realistic test
2 years ago
Shane Smiskol
3524cc7f0b
cruise speed tests: match controlsd initialization of cruise speed ( #26491 )
...
* helper functions and fix resetting/enabling
* comment (resume not yet tested)
* make it clear how this resets
* this is fine to enable once
* same here
2 years ago
Shane Smiskol
870b798185
controlsd: clean up v_cruise updating ( #26479 )
...
* clean up
* clean up
* clean up
2 years ago
Shane Smiskol
a638afb98e
controlsd: add tests around cruise speed ( #26478 )
...
* start to add some tests
* test !pcmCruise
* test !pcmCruise
* better test
* fix pylint
* new test for making sure we adjust on falling edge of buttons
2 years ago
Shane Smiskol
d3f971b365
controlsd v_cruise: fix unknown buttons ( #26474 )
...
Fix button being None
2 years ago
Shane Smiskol
76ac3d4c99
controlsd: resume does not increment speed while cruise standstill ( #25470 )
...
* fix runaway set speed for GM
* fix runaway set speed for GM
* Handle resuming to exit standstill generically
* clean that up
* ugh i want to fix all the formatting
* class that manages v_cruise
* better name
* move around
* add depressed_state
* fine to update on pressed change, better name
* cmt
* we need to check CS. button_change_state only works if we exit standstill on rising edge not falling edge
* no defaultdict
2 years ago