Skip to content

Commit 1a46f07

Browse files
committed
remove disengage_on_gas opParam
1 parent d45ab3a commit 1a46f07

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

common/op_params.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ def __init__(self):
108108
'steer_ratio': Param(None, NONE_OR_NUMBER, '(Can be: None, or a float) If you enter None, openpilot will use the learned sR.\n'
109109
'If you use a float/int, openpilot will use that steer ratio instead', live=True),
110110
'upload_onroad': Param(True, bool, 'By default, openpilot uploads small qlogs while driving. Set to False to wait until we go offroad', static=True),
111-
'disengage_on_gas': Param(False, bool, 'Whether you want openpilot to disengage on gas input or not'),
112111
'update_behavior': Param('alert', str, 'Can be: (\'off\', \'alert\', \'auto\') without quotes\n'
113112
'off will never update, alert shows an alert on-screen\n'
114113
'auto will reboot the device when an update is seen', static=True),
@@ -137,7 +136,7 @@ def __init__(self):
137136
'lane_speed_alerts': Param('silent', str, static=True, hidden=True),
138137
}
139138

140-
self._to_delete = ['use_lqr'] # a list of unused params you want to delete from users' params file
139+
self._to_delete = ['use_lqr', 'disengage_on_gas'] # a list of unused params you want to delete from users' params file
141140
self._to_reset = [] # a list of params you want reset to their default values
142141
self._run_init() # restores, reads, and updates params
143142

0 commit comments

Comments
 (0)