Bruce Wayne
6e23c69dce
Update sconscripts
2 years ago
Bruce Wayne
2fec2280ef
fix linter
2 years ago
Bruce Wayne
78aa3aefee
expand to 10s
2 years ago
Bruce Wayne
aed3c57e1a
simplergit add selfdrive/controls/plannerd.py selfdrive/controls/
2 years ago
Bruce Wayne
659e5aa01a
add new interp
2 years ago
Bruce Wayne
95815419d8
interp plan
2 years ago
Bruce Wayne
451abc8d3b
use long plan in lat plan
2 years ago
Bruce Wayne
64744758f0
Updates
2 years ago
Bruce Wayne
76a3aa2556
Leave controls the same for now
2 years ago
Bruce Wayne
2217c77bd0
redfine N
2 years ago
Bruce Wayne
0650fab34b
Full length MPC
2 years ago
Bruce Wayne
117ad7d5ad
10s lat
2 years ago
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
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
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
Shane Smiskol
9e9600a4f4
Events: actionable accFaulted alert text ( #26783 )
...
same alert text as steer and brake unavailable
3 years ago
Shane Smiskol
2545dd195e
alert: smaller standstill alert ( #26751 )
...
smaller standstill alert
3 years ago
Shane Smiskol
84340f07ab
LatControlAngle: fix setting saturation check speed ( #26752 )
...
set in init function
3 years ago
Shane Smiskol
d5ffb90a04
LatControlAngle: lower saturation check speed ( #26749 )
...
lower speed for angle
3 years ago
Shane Smiskol
c1b3d696bc
controlsd: set steer_limited for angle cars ( #26748 )
...
* Set steer limited for angle cars
* closer to torque threshold
3 years ago
Shane Smiskol
e6fcc2d6aa
planner: read experimental mode from controlsState ( #26553 )
...
read from controlsState
3 years ago
Shane Smiskol
5409895ab2
Deprecate noTarget event ( #26638 )
...
deprecate notarget
3 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>
3 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
3 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
3 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
3 years ago
Shane Smiskol
a19b5b91d2
longcontrol: ignore cruise standstill if interceptor ( #26597 )
...
* ignore standstill
* cmt
* standstill
* rm cmt
* flip
3 years ago
Adeeb Shihadeh
65fa87a969
cleanup panda types everywhere ( #26574 )
...
* cleanup panda types everywhere
* one more
3 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
3 years ago
YassineYousfi
ded66e6307
long_mpc: fix e2e source condition ( #26546 )
...
* fix long_mpc source param
* rm print
* add back space for formatting
3 years ago
Shane Smiskol
f15d169289
controlsd cruise speed: fix missing initial value
3 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
3 years ago
Shane Smiskol
870b798185
controlsd: clean up v_cruise updating ( #26479 )
...
* clean up
* clean up
* clean up
3 years ago
Shane Smiskol
d3f971b365
controlsd v_cruise: fix unknown buttons ( #26474 )
...
Fix button being None
3 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
3 years ago
Shane Smiskol
811c096e64
controlsd: add cruise speed helper class ( #26472 )
...
* 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
* revert gm stuff
* revert standstill stuff
* remove
* revert that
* we can put this in here now!
* below update
* actually only used here
* one line
3 years ago
Shane Smiskol
89b88fc7a2
Hyundai: fix button enable controls mismatch ( #26471 )
...
* bump panda
* buttonCancel needs to be a noEntry
* bompo
* Update ref_commit
3 years ago
Shane Smiskol
9f80a97eee
longitudinal tests: add disabled maneuver ( #26470 )
...
* undeclared variable
* run first second disabled
* only test
* test disabled as a new maneuver
* bottom
3 years ago
Shane Smiskol
98206fb92e
planner: fix undeclared variable ( #26468 )
...
* undeclared variable
* run first second disabled
* revert test
* rev
3 years ago
Harald Schäfer
f23296bc87
Add force decel to e2e long ( #26448 )
...
* add force decel to e2e
* Update longitudinal_planner.py
3 years ago
YassineYousfi
7374080668
min lane change speed 20mph ( #26434 )
3 years ago
Adeeb Shihadeh
9a3f468051
experimental mode ( #26416 )
...
* experimental mode
* rename param
* red lights
3 years ago