Skip to content

Commit c6ab09e

Browse files
committed
Remove ATR Response Boost
Feature: The ATR Response Boost config option was dropped > It is deemed unnecessary with the new Setpoint Smoothing allowing faster speeds in general.
1 parent 1860683 commit c6ab09e

3 files changed

Lines changed: 2 additions & 31 deletions

File tree

src/conf/datatypes.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,6 @@ typedef struct {
312312
float atr_off_speed;
313313
float atr_on_speed_downhill;
314314
float atr_off_speed_downhill;
315-
float atr_response_boost;
316315
float atr_filter;
317316
float atr_amps_accel_ratio;
318317
float atr_amps_decel_ratio;

src/conf/settings.xml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2378,32 +2378,6 @@ p, li { white-space: pre-wrap; }
23782378
<suffix> °/s</suffix>
23792379
<vTx>7</vTx>
23802380
</atr_off_speed_downhill>
2381-
<atr_response_boost>
2382-
<longName>Tiltback Response Boost</longName>
2383-
<type>1</type>
2384-
<transmittable>1</transmittable>
2385-
<description>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
2386-
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
2387-
p, li { white-space: pre-wrap; }
2388-
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Roboto'; ; font-weight:400; font-style:normal;&quot;&gt;
2389-
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;React more quickly to ATR responses when at high speeds. When you're riding fast and ATR increases, then you also want it to respond faster. Boost is applied twice: at 2500 and 6000 ERPM.&lt;/p&gt;
2390-
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
2391-
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600; font-style:italic;&quot;&gt;*Note: ERPM = RPM * (Motor Poles / 2)&lt;br /&gt;For an 11&amp;quot; Tire on a Hypercore Motor (30 Poles):&lt;/span&gt;&lt;/p&gt;
2392-
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600; font-style:italic;&quot;&gt;2500 ERPM ≈ 5.5 mph ≈ 9 km/h&lt;/span&gt;&lt;/p&gt;
2393-
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600; font-style:italic;&quot;&gt;6000 ERPM ≈ 13 mph ≈ 21 km/h&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</description>
2394-
<cDefine>CFG_DFLT_ATR_RESPONSE_BOOST</cDefine>
2395-
<editorDecimalsDouble>1</editorDecimalsDouble>
2396-
<editorScale>1</editorScale>
2397-
<editAsPercentage>0</editAsPercentage>
2398-
<maxDouble>2</maxDouble>
2399-
<minDouble>1</minDouble>
2400-
<showDisplay>0</showDisplay>
2401-
<stepDouble>0.1</stepDouble>
2402-
<valDouble>1.5</valDouble>
2403-
<vTxDoubleScale>1000</vTxDoubleScale>
2404-
<suffix>x</suffix>
2405-
<vTx>7</vTx>
2406-
</atr_response_boost>
24072381
<atr.transition_boost>
24082382
<longName>Tiltback Transition Boost</longName>
24092383
<type>1</type>
@@ -4426,7 +4400,6 @@ p, li { white-space: pre-wrap; }
44264400
<ser>atr_off_speed</ser>
44274401
<ser>atr_on_speed_downhill</ser>
44284402
<ser>atr_off_speed_downhill</ser>
4429-
<ser>atr_response_boost</ser>
44304403
<ser>atr.transition_boost</ser>
44314404
<ser>atr_filter</ser>
44324405
<ser>atr_amps_accel_ratio</ser>
@@ -4590,7 +4563,6 @@ p, li { white-space: pre-wrap; }
45904563
<param>atr_off_speed</param>
45914564
<param>atr_on_speed_downhill</param>
45924565
<param>atr_off_speed_downhill</param>
4593-
<param>atr_response_boost</param>
45944566
<param>atr.transition_boost</param>
45954567
<param>::sep::Advanced</param>
45964568
<param>atr_amps_accel_ratio</param>

src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1590,7 +1590,8 @@ static void cmd_runtime_tune(Data *d, unsigned char *cfg, int len) {
15901590
d->float_conf.atr_off_speed = (h2 >> 2) + 2;
15911591

15921592
split(cfg[8], &h1, &h2);
1593-
d->float_conf.atr_response_boost = ((float) h1) / 10 + 1;
1593+
// atr_response_boost was removed
1594+
// d->float_conf.atr_response_boost = ((float) h1) / 10 + 1;
15941595
d->float_conf.atr.transition_boost = ((float) h2) / 5 + 1;
15951596

15961597
split(cfg[9], &h1, &h2);
@@ -1668,7 +1669,6 @@ static void cmd_tune_defaults(Data *d) {
16681669
d->float_conf.atr_angle_limit = CFG_DFLT_ATR_ANGLE_LIMIT;
16691670
d->float_conf.atr_on_speed = CFG_DFLT_ATR_ON_SPEED;
16701671
d->float_conf.atr_off_speed = CFG_DFLT_ATR_OFF_SPEED;
1671-
d->float_conf.atr_response_boost = CFG_DFLT_ATR_RESPONSE_BOOST;
16721672
d->float_conf.atr.transition_boost = CFG_DFLT_ATR_TRANSITION_BOOST;
16731673
d->float_conf.atr_filter = CFG_DFLT_ATR_FILTER;
16741674
d->float_conf.atr_amps_accel_ratio = CFG_DFLT_ATR_AMPS_ACCEL_RATIO;

0 commit comments

Comments
 (0)