Commit Graph

14189 Commits

Author SHA1 Message Date
Jason Wen a2eb4545da a lot less delay 2024-07-25 13:54:38 -04:00
Jason Wen bf31b2ab33 further stop distance 2024-07-24 21:22:58 -04:00
Jason Wen 1b084d7eb9 revert long mpc 2024-07-24 21:22:40 -04:00
Jason Wen e0414b4528 0.1 interval to stopping 2024-07-24 16:57:42 -04:00
Jason Wen 2cc53b6e69 Revert "disable starting state"
This reverts commit 3f25d6f530.
2024-07-24 16:54:27 -04:00
Jason Wen c288a7792c super fast take off!!! 2024-07-23 23:30:01 -04:00
Jason Wen 3f25d6f530 disable starting state 2024-07-23 23:28:49 -04:00
Jason Wen a3e60f92cf only send 0 when fully stopped 2024-07-23 21:53:35 -04:00
Jason Wen 597dadd45b revert 2024-07-23 21:50:50 -04:00
Jason Wen 85f726298c simplify 2024-07-23 21:49:16 -04:00
Jason Wen 80c1aa0f0c only do rate of change in pid mode 2024-07-23 19:04:39 -04:00
Jason Wen fd48800940 try disengaging for 250 ms 2024-07-23 18:31:33 -04:00
Jason Wen 63b86a80a6 handle stopaccel in long control 2024-07-23 18:18:35 -04:00
Jason Wen b95933d652 disable fast stop attempt for now 2024-07-23 17:56:22 -04:00
Jason Wen 067bd2b8fd less if/else 2024-07-23 17:55:49 -04:00
Jason Wen 6ab66834f0 adapt to 0 stopAccel 2024-07-23 17:54:47 -04:00
Jason Wen 63a6178360 faster stops 2024-07-23 17:14:09 -04:00
Jason Wen 2507ec7abf same vEgoStopping, higher startAccel 2024-07-23 17:12:18 -04:00
Jason Wen 63754678d1 0.1 rate of change all around 2024-07-23 17:01:42 -04:00
Jason Wen 68149b71c4 gracefully when stopping 2024-07-23 11:41:35 -04:00
Jason Wen b20ce27908 matches stock with 0 m/s^2 at stopping 2024-07-23 11:40:40 -04:00
Jason Wen c02b3fca53 fast resume: disengage acc enabled for 1 frame, then re-engage 2024-07-23 11:32:42 -04:00
Jason Wen 8ec69008ce lower starAccel 2024-07-23 11:11:12 -04:00
Jason Wen 7560d8db9e do stopping accel in carcontroller 2024-07-23 11:11:00 -04:00
Jason Wen 7f06773c26 higher jerk limits 2024-07-22 23:22:33 -04:00
Jason Wen f641939240 trigger stop earlier 2024-07-22 23:19:58 -04:00
Jason Wen 58004f4fc6 fix pulsing 2024-07-22 21:50:31 -04:00
Jason Wen 0d499b0857 doesn't work well 2024-07-22 21:49:03 -04:00
Jason Wen 8affb2fcad make sure accel_last changes with raw if in pid 2024-07-22 16:56:48 -04:00
Jason Wen e64d209f54 set speed stuck 2024-07-22 16:54:21 -04:00
Jason Wen be300df85c should only go up to 3 lol 2024-07-22 16:53:37 -04:00
Jason Wen e5b19ddc17 only different rate of change if not in pid 2024-07-22 16:46:27 -04:00
Jason Wen 8191c951c7 oops it's doing it twice 2024-07-22 16:33:25 -04:00
Jason Wen 5e3cf24afe update rate of change properly 2024-07-22 16:25:51 -04:00
Jason Wen ab72cf0457 handle this in long control 2024-07-22 16:14:45 -04:00
Jason Wen 0c95fe1408 send 2.0 startAccel to both aReqRaw/aReqValue for 0.1 second (2 frames), then pid 2024-07-22 11:46:01 -04:00
Jason Wen d25d832885 Should run these at 50 Hz 2024-07-22 11:29:42 -04:00
Jason Wen 807873e6a8 fix 2024-07-22 10:12:03 -04:00
Jason Wen 56cf002307 change in 0.1 like stock 2024-07-21 21:43:53 -04:00
Jason Wen c5af23a010 clear values if not engaged 2024-07-21 17:44:55 -04:00
Jason Wen b32b216a6b try this out (pls don't die) 2024-07-21 17:41:16 -04:00
Jason Wen 5f2c104ae5 try this out (pls don't die) 2024-07-21 17:40:06 -04:00
Jason Wen d923f2fa59 only in stopping state at 0.5 (same as stock), and track accel_last 2024-07-21 16:54:19 -04:00
Jason Wen 025ac23c89 Merge branch 'master-priv' into hkg-can-jerk 2024-07-21 01:18:28 -04:00
Jason Wen 8b6e403996 Driving Model Selector v5: Bug fixes 2024-07-20 13:06:34 +00:00
DevTekVE 0f2e56a203 [sunnypilot] Forcing SConstruct to assume always sunnypilot developer true until we actually encrypt things 2024-07-20 12:00:52 +02:00
DevTekVE cbb30cd8c5 Back to using reference on pipeline 2024-07-18 09:08:52 +02:00
Jason Wen faf52492b6 ci: git-crypt: Decrypt prior to building 2024-07-17 03:26:13 +00:00
Jaosn Wen 91dadaafd1 more, and comfort band 2024-07-16 21:11:18 -04:00
Jaosn Wen dac5e529b6 add lower 2024-07-16 20:55:25 -04:00