Shane Smiskol
474ba19c81
Add Disengage on Accelerator Toggle ( #23977 )
...
* Squashed commit of the following:
commit 953bcf0ecf8d03f0fec9ce0d5442cc660ae2347d
Merge: b4198608d efd04715e
Author: Shane Smiskol <shane@smiskol.com>
Date: Fri Apr 1 19:58:06 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit b4198608dac9595bfeb9443f95cd6c5d385cd62d
Merge: 24f90b2c8 0e983562d
Author: Shane Smiskol <shane@smiskol.com>
Date: Fri Apr 1 14:32:54 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 24f90b2c8d6ae509c0776b6e33b743467aa08dee
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 31 14:07:52 2022 -0700
revert changes and get ready for override
commit aa514df6b5e8431f0faa07f6b25eb5cb6c9f2749
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 30 20:52:24 2022 -0700
temporary
commit c874e10c2555968c683f629c4582ab22e51d431f
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 30 00:30:13 2022 -0700
move gasPressed to controlsd
commit fe670439dff5bc6dfc5963d79ca2febe0c5920c7
Merge: 49d3b6d11 c78701e47
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 30 00:15:48 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 49d3b6d1162893fa94b2294152f0718eeb4698ed
Merge: 475b27e74 3e819bc5a
Author: Shane Smiskol <shane@smiskol.com>
Date: Mon Mar 28 13:06:08 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 475b27e74fd6479f1d148e9ded1eca6ee476865c
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 24 20:24:59 2022 -0700
update SAFETY.md
commit 0798eadb82749e12ecbaa86f4e57b21bd3dbc7e8
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 24 17:52:06 2022 -0700
⛽ ➡️ 🔋
bump
commit d2b64b89cf8d7265bc90848b4e3a2276c9a4cb78
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 24 16:19:34 2022 -0700
these changes will be in border PR
these changes will be border PR
commit bed31e63de2244c161729773978fef8a9246ddb5
Merge: 491417640 603e07793
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 24 16:17:31 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 49141764098e3a701ff123ead52de4656b31db4d
Merge: 9291e9f00 46ed8bb8e
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 23 19:00:26 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 9291e9f0045780669b2ffa7f08fb10373c03b070
Merge: 2aed64157 2c947f193
Author: Shane Smiskol <shane@smiskol.com>
Date: Fri Mar 18 19:03:13 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 2aed64157d6e9dc993d103a2c6abf7e643410562
Author: Shane Smiskol <shane@smiskol.com>
Date: Fri Mar 18 19:03:03 2022 -0700
Revert "send pre-enable state when gas is pressed"
This reverts commit 8d82e697dc2efade307413e767d14b56b4d2d079.
commit a219defe5342efa731a957b2ff4fd86292c1f239
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Mar 17 12:50:46 2022 -0700
bump cereal
commit 8d82e697dc2efade307413e767d14b56b4d2d079
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 16 22:40:13 2022 -0700
send pre-enable state when gas is pressed
formatting and it's out
forgot one
allow gas press
show toggle
revert changes
revert changes
commit 5eb4d1ab1b77ac65bdd901f692ebfb848d5187ca
Merge: bad1bdc74 d0ef25959
Author: Shane Smiskol <shane@smiskol.com>
Date: Wed Mar 16 22:29:43 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit bad1bdc7428c5d8a4a765b259da504f0ade84424
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Mar 15 23:03:56 2022 -0700
clean up a bit
commit 7516ed9b786536a07f00a92b9c1742ca252a01d1
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Mar 15 22:55:09 2022 -0700
these are null checks right now
commit 408f5f1d633521b29b08d966c9b387fa79dff0d6
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Mar 15 22:51:14 2022 -0700
should work
commit be1978e29c03d8843cf073cc9ddf84020fd2b378
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Mar 15 22:36:16 2022 -0700
stash
commit f0bd4c47e9d27061c6cd3b88765a7c10995f42db
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Mar 15 22:26:24 2022 -0700
this was flipped
commit d5b6e30389a727e8559331acd706422e1b246f60
Merge: 820b19894
c814c1383
Author: Shane Smiskol <shane@smiskol.com>
Date: Tue Mar 15 22:25:49 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 820b198949
Merge: 91763f9ff
6d2483ff9
Author: Shane Smiskol <shane@smiskol.com>
Date: Mon Mar 14 23:39:34 2022 -0700
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 91763f9ff4
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Feb 24 20:15:26 2022 -0800
add icon from jozef 🔥
commit 1885c9e2ba
Merge: 1f591736a
eae207a84
Author: Shane Smiskol <shane@smiskol.com>
Date: Thu Feb 24 20:08:07 2022 -0800
Merge remote-tracking branch 'upstream/master' into disengage-on-gas
commit 1f591736a2
Merge: 465811f0b
ebf5b27a7
Author: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com>
Date: Sat Feb 12 10:24:29 2022 -0500
Merge branch 'master' into disengage-on-gas
commit 465811f0b4
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Feb 11 11:20:32 2022 -0500
Add param to process replay
commit 0344363a53
Merge: 700efcb3f
1175355b7
Author: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com>
Date: Fri Feb 11 11:07:31 2022 -0500
Merge branch 'master' into disengage-on-gas
commit 700efcb3f4
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Feb 11 11:04:39 2022 -0500
Add param to unsafeMode
commit 220ce272fe
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Feb 11 10:54:16 2022 -0500
Add param to unsafeMode
commit d273bb78ac
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Feb 11 10:52:22 2022 -0500
Resolve conflicts
commit 1a85afd60c
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Feb 11 10:51:50 2022 -0500
Resolve conflicts
commit e3be32afc2
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Feb 11 10:51:08 2022 -0500
Resolve conflicts
commit f27203af3a
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Wed Jan 19 00:30:09 2022 -0500
Add param to process replay
commit 04c0ad1a54
Author: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com>
Date: Wed Jan 19 00:28:49 2022 -0500
Update interfaces.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
commit 99cf13caeb
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Sat Jan 15 00:03:38 2022 -0500
Fix missing params lib
commit 2230254ca7
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Jan 14 23:38:46 2022 -0500
Disengage on gas toggle
commit 87475e02cb
Author: Jason Wen <haibin.wen3@gmail.com>
Date: Fri Jan 14 23:24:00 2022 -0500
Disengage on gas toggle
* bump
* use ALTERNATIVE_EXPERIENCE
* or it
* de-bump
* update refs
* update refs!
* you can just ctrl+click ALTERNATIVE_EXPERIENCE!
* already have a params
* update text
old-commit-hash: f1f40c117a
3 years ago
Shane Smiskol
d6fb92825b
LongitudinaPlanner: add comment about lateral accel calculation ( #24096 )
...
* space
* if
old-commit-hash: 5a8b4bbcaa
3 years ago
Adeeb Shihadeh
ec47e0fef0
break up selfdrive.config ( #23959 )
...
* break up selfdrive.config
* add to release files
* fix import order
old-commit-hash: 5c3f3e44bc
3 years ago
Jonathan Frey
0d5d9a43d3
Longitudinal MPC set qp tolerance to 1e-3 ( #23899 )
...
* initialize solverExecutionTime longitudinal_planner
* test_onroad: improve timing evaluation
* longitudinal MPC: set qp_tol to 1e-3
* update ref
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
old-commit-hash: ab371f888a
3 years ago
Willem Melching
dc16307917
longitudinal planner: disable change cost when stopped. not engaged or gas pressed ( #23639 )
...
* disable change cost completely on standstill and gas press
* cleanup
* set accel to zero
* clean up logic around standstill
* update ref
old-commit-hash: 428d412c1f
3 years ago
Willem Melching
dce057d29f
Log MPC solver time ( #23566 )
...
* add solve time to plan output
* add to process replay ignore list
* print in CI
old-commit-hash: f76328b426
3 years ago
Dean Lee
55233b753b
use ndarray.tolist to convert numpy array to float ( #23485 )
...
old-commit-hash: 35ec6ac1cb
3 years ago
Shane Smiskol
efd1ff1452
Longitudinal planner: make v_desired a FirstOrderFilter ( #23341 )
...
* make v_desired a FirstOrderFilter
* forgot one
* one more ref
* Add a new object for the filter
* fix
* fix tests
* update ref
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 9f88ba188a
3 years ago
HaraldSchafer
b19b5fdb98
long planner: no reset when starting ( #23149 )
...
* long planner: no reset when starting
* let go to 2m/s
* update ref
old-commit-hash: 77a99e7d6d
3 years ago
HaraldSchafer
e3f9919b5c
Set accel trajectory to a_ego when not engaged ( #23100 )
...
* Set accel trajectory to a_ego when not engaged
* update ref
old-commit-hash: 68015f75ed
3 years ago
Shane Smiskol
1b79236fa0
Clean up planner files ( #23031 )
...
* clean up planner files
clean up planner files
* fix plant instance
old-commit-hash: 93fd662adf
3 years ago
HaraldSchafer
4814c30667
ACADOS fix non-convergence when long_plan changes ( #22495 )
...
* debug commit
* cleanup
* some indexing bugs
* need more its
* BALANCE is way better it seems
* fix test
* this converges in 2000segs
* new ref
* less cpu
old-commit-hash: 04cf12cb00
4 years ago
HaraldSchafer
f495134be4
Retune long mpc ( #22445 )
...
* first try
* looks decent
* finalize retune
* back to 3 its
* may need 4 still
* misc cleanup
* new ref
* SPEEEED
* new ref
old-commit-hash: 9ab09f5ae9
4 years ago
HaraldSchafer
d91e0604e8
Change radar-based FCW to model-based FCW ( #22379 )
...
* just use MPC for fcw checking
* thats already bad
* model FCW is always good
* better fcw
* should be good for now
* comment
* linting
* cleaner
* unused
old-commit-hash: a8b4249ebc
4 years ago
HaraldSchafer
2b470f4e38
acados long merged ( #22224 )
...
* rebased
* cleaner, seems to drive better?
* more stable
* wrong import
* new way of thinking
* reports look nice
* start move back
* works at leas
* good timestamps
* step by step
* somewhat work
* tests pass
* ALL CARS STOPPED
* should work
* fake a cruise obstacle
* cleaner costs
* pretty good except cruise braking
* works pretty well now!
* cleanup
* add source
* add source
* that is needed for unit tests
* nan recovery
* little cleaner
* stop wasting arrays
* unreasonable without unfair init
* this isnt needed without the exponential
* that works too
* unused
* uses less
* new ref
* long enough
* e2e long api
* DONT PUT IN A VIEW INTO ACADOS
* new ref for outside weights
* remove debug prints
old-commit-hash: fe983a7b8c
4 years ago
HaraldSchafer
e190dfaf13
Dont run plannerd for long tests ( #22260 )
...
old-commit-hash: f0be9a57ac
4 years ago
HaraldSchafer
2d4b64ed04
Acados long fast ( #22233 )
...
* acados long
* new ref
* SPPEEEEEDDD
* less iterations
* this shouldn't be so high
* reset only essentials
* minimal reset for long mpc
* more cpu usage plannerd
* Use lead mpc even when going to crash
* reset to current state
* Use open loop speed for lead mpc
* 1 iteration is too little for cruise mpc
* add whitespace
* update refs
old-commit-hash: 66c275b711
4 years ago
sshane
41b7cbdadf
longitudinal comments ( #21898 )
...
* cmt
* Update longcontrol.py
old-commit-hash: 737a79e556
4 years ago
HaraldSchafer
4455ae1b86
add jerk to longitudinal plan ( #21598 )
...
* add jerk output, so its like lateral
* typo
* add to packet
* update cereal and ref
old-commit-hash: ef0b120a9a
4 years ago
HaraldSchafer
bbd7181df2
Taper off high speed accel ( #21599 )
...
* max 0.2 diff from before to preserve bad tuned cars
* update ref
old-commit-hash: 5d07819084
4 years ago
HaraldSchafer
cdb2c42ca2
Lower speed for lowest planned acceleration ( #21578 )
...
* 55mph sounds about right
* update refs
old-commit-hash: fd41e9f01b
4 years ago
HaraldSchafer
91d5b10426
less accel ( #21565 )
...
* less accel
* new refs
* Update longitudinal_planner.py
* update refs
old-commit-hash: a42d8f3a14
4 years ago
HaraldSchafer
56b457207f
less np ( #21536 )
...
old-commit-hash: 148c202bc4
4 years ago
HaraldSchafer
96d4bfbff3
Refactor long ( #21433 )
...
* refactor
* needs casting
* tests pass
* fix that test
* refactor in controls
* lets not go crazy
* change of names
* use constants
* better naming
* renamed
* soft constraints
* compile slack variables
* rm git conflict
* add slack variables
* unused
* new edition
* fcw
* fix tests
* dividing causes problems
* was way too slow
* take a step back
* byeeee
* for another time
* bad idxs
* little more cpu for cruise mpc
* update refs
* these limits seem fine
* rename
* test model timings fails sometimes
* add default
* save some cpu
* Revert "little more cpu for cruise mpc"
This reverts commit f0a8163ec90e8dc1eabb3c4a4268ad330d23374d.
* Revert "test model timings fails sometimes"
This reverts commit d259d845710ed2cbeb28b383e2600476527d4838.
* update refs
* less cpu
* Revert "Revert "test model timings fails sometimes""
This reverts commit e0263050d9929bfc7ee70c9788234541a4a8461c.
* Revert "less cpu"
This reverts commit 679007472bc2013e7fafb7b17de7a43d6f82359a.
* cleanup
* not too much until we clean up mpc
* more cost on jerk
* change ref
* add todo
* new ref
* indentation
old-commit-hash: be5ddd25cd
4 years ago
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
4 years ago
Adeeb Shihadeh
05eb44115e
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
old-commit-hash: 312b681a46
4 years ago
Adeeb Shihadeh
966945880b
Cereal cleanup ( #20003 )
...
* start cleanup
* fan speed
* cleanup dm
* fix cereal
* hwType -> pandaType
* update refs
* update refs
* bump cereal
* freeSpacePercent
* cereal master
old-commit-hash: 000bd226aa
4 years ago
Mitchell Goff
d28831dbab
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
old-commit-hash: 608f00f814
4 years ago
HaraldSchafer
c6d9b9565a
Mpc rework2 ( #19660 )
...
* start again
* need that too
* this actually works
* not needed
* do properly
* still works
* still works
* still good
* all G without ll
* still works
* all still good
* cleanup building
* cleanup sconscript
* new lane planner
* how on earth is this silent too....
* update
* add rotation radius
* update
* pathplanner first pass
* misc fixes
* fix
* need deep_interp
* local again
* fix
* fix test
* very old
* new replay
* interp properly
* correct length
* another horrible silent bug
* like master
* fix that
* do doubles
* different delay compensation
* make robust to empty msg
* make pass with hack for now
* add some extra
* update ref for increased leg
* test cpu usage on this pr
* tiny bit faster
* purge numpy
* update ref
* not needed
* ready for merge
* try again after recompile
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 158210cde8
4 years ago
Igor
95bb79c51c
Parametrize MIN_CAN_SPEED in car interfaces ( #2684 )
...
* Parametrize MIN_CAN_SPEED in car interfaces
* fixed instance in planner.py
* fix typo
* var name change
* changed var name to minSpeedCan for consistency with other uses of CAN in the capnproto files
* added default value to get_std_params, removed unneeded instances from car interface files
* Revert PEP8 autoformat corrections
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 093456cc40
4 years ago
qadmus
c613f8dfcc
cleanup long planner, mpc: unused globals and arguments ( #2211 )
...
Co-authored-by: user <email@web.com>
old-commit-hash: 72e0ac2de1
5 years ago
Shane Smiskol
3454f1e033
Fix hard deceleration after user accelerates above set cruise speed ( #1880 )
...
* Fix hard deceleration after user accelerates above set cruise speed
* 2nd required change
old-commit-hash: ebadb39e42
5 years ago
Willem Melching
d0f60029cb
Remove slow down for turns ( #1647 )
...
* Remove slow down for turns
* update ref
old-commit-hash: 15dc6044d4
5 years ago
Adeeb Shihadeh
68a3061c9d
enable E261 in flake8: two spaces before inline comment
...
old-commit-hash: 27754a277c
5 years ago
Adeeb
7965569766
Flake8 E22X ( #1607 )
...
* e221
* e225
* bump opendbc
old-commit-hash: 6051061ff8
5 years ago
Willem Melching
39e5985776
Clip v_cruise to V_CRUISE_MAX
...
old-commit-hash: ef33007813
5 years ago
Shane Smiskol
682c866a55
initialize all messages in 1 line ( #1206 )
...
old-commit-hash: 6ff881f789
5 years ago
George Hotz
079eee7294
selfdrive/controls
...
old-commit-hash: b0260dadba
5 years ago
George Hotz
81dd5a50cf
root commit
...
old-commit-hash: 6c33a5c1f3
5 years ago
Vehicle Researcher
fa4b6f33d1
openpilot v0.7.1 release
...
old-commit-hash: 8da8b6135c
5 years ago
Vehicle Researcher
99b637c7ce
openpilot v0.7 release
...
old-commit-hash: c025b96e8a
5 years ago
Vehicle Researcher
89d1d84c70
openpilot v0.6.5 release
...
old-commit-hash: cf80f7a28b
6 years ago
Vehicle Researcher
dfe603c178
openpilot v0.6.4 release
...
old-commit-hash: 61229779e4
6 years ago
Vehicle Researcher
02cedeadd9
openpilot v0.6.3 release
...
old-commit-hash: d5f9caa82d
6 years ago
Vehicle Researcher
3835061760
openpilot v0.6.2 release
...
old-commit-hash: e90c41c576
6 years ago
Arne Schwarck
081aad79c9
self.poller not used ( #759 )
...
I do not see the need for zmq and the poller being initialized and not used.
old-commit-hash: cf5c4aeacb
6 years ago
Vehicle Researcher
07aa8b1bf3
openpilot v0.6.1 release
...
old-commit-hash: 94053536b4
6 years ago
Vehicle Researcher
9abcfabc5f
openpilot v0.6 release
...
old-commit-hash: 8a9ed94f5f
6 years ago
Vehicle Researcher
e47a2e6e30
openpilot v0.5.13 release
...
old-commit-hash: dd34ccfe28
6 years ago
Vehicle Researcher
0932b367bd
openpilot v0.5.12 release
...
old-commit-hash: 3f9059fea8
6 years ago