mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-09-04 23:33:41 +08:00
Update drive_helpers.py
This commit is contained in:
@@ -61,4 +61,4 @@ def get_accel_from_plan(speeds, accels, t_idxs, action_t=DT_MDL, vEgoStopping=0.
|
||||
a_target = 0.0
|
||||
should_stop = (v_target < vEgoStopping and
|
||||
v_target_1sec < vEgoStopping)
|
||||
return a_target, should_stop
|
||||
return a_target, should_stop, v_target
|
||||
|
||||
Reference in New Issue
Block a user