<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>what is the purpose of &amp;quot;smaller_speed_factor &amp;quot;?</title>
        <description> Hi, what is the purpose of &quot;smaller_speed_factor &quot;? in planner.c. This factor, only resize the previous speeds when the nominal_speed is smaller than previous_nominal_speed, that is, slowing down. Here there is the code:

vmax_junction = _MIN(nominal_speed, previous_nominal_speed);

      // Now limit the jerk in all axes.
      const float smaller_speed_factor = vmax_junction / previous_nominal_speed;  
     
      LOOP_XYZE(axis)
      {
        // Limit an axis. We have to differentiate: coasting, reversal of an axis, full stop.
        float v_exit = previous_speed[axis] * smaller_speed_factor,
              v_entry = current_speed[axis];

Thanks!</description>
        <link>https://reprap.org/forum/read.php?415,876354,876354#msg-876354</link>
        <lastBuildDate>Fri, 14 Aug 2026 03:11:58 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?415,876354,876380#msg-876380</guid>
            <title>Re: what is the purpose of &quot;smaller_speed_factor &quot;?</title>
            <link>https://reprap.org/forum/read.php?415,876354,876380#msg-876380</link>
            <description><![CDATA[ Here, is there possibility to assign a vmax_junction greater than the previous_nominal_speed?<br />
<br />
<pre class="bbcode">
if (previous_safe_speed &gt; vmax_junction_threshold &amp;&amp; safe_speed &gt; vmax_junction_threshold)
        vmax_junction = safe_speed;
</pre>]]></description>
            <dc:creator>Roydudu</dc:creator>
            <category>Firmware - Marlin</category>
            <pubDate>Fri, 21 Aug 2020 08:11:15 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?415,876354,876354#msg-876354</guid>
            <title>what is the purpose of &quot;smaller_speed_factor &quot;?</title>
            <link>https://reprap.org/forum/read.php?415,876354,876354#msg-876354</link>
            <description><![CDATA[ Hi, what is the purpose of "smaller_speed_factor "? in planner.c. This factor, only resize the previous speeds when the nominal_speed is smaller than previous_nominal_speed, that is, slowing down. Here there is the code:<br />
<pre class="bbcode">
vmax_junction = _MIN(nominal_speed, previous_nominal_speed);

      // Now limit the jerk in all axes.
      const float smaller_speed_factor = vmax_junction / previous_nominal_speed;  
     
      LOOP_XYZE(axis)
      {
        // Limit an axis. We have to differentiate: coasting, reversal of an axis, full stop.
        float v_exit = previous_speed[axis] * smaller_speed_factor,
              v_entry = current_speed[axis];</pre>
<br />
Thanks!]]></description>
            <dc:creator>Roydudu</dc:creator>
            <category>Firmware - Marlin</category>
            <pubDate>Thu, 20 Aug 2020 15:43:10 -0400</pubDate>
        </item>
    </channel>
</rss>
