Skip to content

Commit

Permalink
corolla_TSS2: tune (commaai#760)
Browse files Browse the repository at this point in the history
* Update interface.py

updated corollatss2 tuning

* Update toyota_nodsu_pt_generated.dbc

* Update toyota_nodsu_hybrid_pt_generated.dbc

* Update op_params.py

* Create toyota_nodsu_pt_generated_corolla_tss2.dbc

* Create toyota_nodsu_pt_generated_corollah_tss2.dbc

* revert to stock.

* revert to stock

* point corolla and corollah to its own separate dbc.

* add corolla and corollah dbc to release.

* Update interface.py

Co-authored-by: Kumar <36933347+rav4kumar@users.noreply.github.com>
  • Loading branch information
oppilot and rav4kumar authored Jan 11, 2021
1 parent 9dbb277 commit 68dcca8
Show file tree
Hide file tree
Showing 6 changed files with 870 additions and 14 deletions.
16 changes: 8 additions & 8 deletions common/op_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,14 @@ def __init__(self):
#'use_virtual_middle_line': Param(False, bool, 'For roads over 4m wide, hug right. For roads under 2m wide, hug left.'),
'uniqueID': Param(None, [type(None), str], 'User\'s unique ID'),
'enable_indi_live': Param(False, bool, live=True),
'indi_inner_gain_bp': Param([0, 255, 255], [list, float, int], live=True, depends_on='enable_indi_live'),
'indi_inner_gain_v': Param([6.0, 6.0, 6.0], [list, float, int], live=True, depends_on='enable_indi_live'),
'indi_outer_gain_bp': Param([0, 255, 255], [list, float, int], live=True, depends_on='enable_indi_live'),
'indi_outer_gain_v': Param([15, 15, 15], [list, float, int], live=True, depends_on='enable_indi_live'),
'indi_time_constant_bp': Param([0, 255, 255], [list, float, int], live=True, depends_on='enable_indi_live'),
'indi_time_constant_v': Param([5.5, 5.5, 5.5], [list, float, int], live=True, depends_on='enable_indi_live'),
'indi_actuator_effectiveness_bp': Param([0, 255, 255], [list, float, int], live=True, depends_on='enable_indi_live'),
'indi_actuator_effectiveness_v': Param([6, 6, 6], [list, float, int], live=True, depends_on='enable_indi_live'),
'indi_inner_gain_bp': Param([18, 22, 26], [list, float, int], live=True, depends_on='enable_indi_live'),
'indi_inner_gain_v': Param([5, 10, 15], [list, float, int], live=True, depends_on='enable_indi_live'),
'indi_outer_gain_bp': Param([18, 22, 26], [list, float, int], live=True, depends_on='enable_indi_live'),
'indi_outer_gain_v': Param([4, 9, 14.99], [list, float, int], live=True, depends_on='enable_indi_live'),
'indi_time_constant_bp': Param([18, 22, 26], [list, float, int], live=True, depends_on='enable_indi_live'),
'indi_time_constant_v': Param([2, 4, 5.5], [list, float, int], live=True, depends_on='enable_indi_live'),
'indi_actuator_effectiveness_bp': Param([18, 22, 26], [list, float, int], live=True, depends_on='enable_indi_live'),
'indi_actuator_effectiveness_v': Param([5, 10, 15], [list, float, int], live=True, depends_on='enable_indi_live'),
'steer_limit_timer': Param(0.4, VT.number, live=True, depends_on='enable_indi_live')
}

Expand Down
Loading

0 comments on commit 68dcca8

Please sign in to comment.