<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Let AGV drive forward as much as possible in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/let-agv-drive-forward-as-much-as-possible/m-p/13557770#M60985</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;If the AGV travelling backwards encounters a Forward-only oriented path, it will then face forward and continue forward from that point. Then you can reduce the Turn Around Threshold so it doesn't turn around completely on straight paths.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="agv-turn-correctly-2.gif"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1515727i3147959B883A9220/image-size/large?v=v2&amp;amp;px=999" role="button" title="agv-turn-correctly-2.gif" alt="agv-turn-correctly-2.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 03 Mar 2023 17:43:56 GMT</pubDate>
    <dc:creator>kavika_faleumu</dc:creator>
    <dc:date>2023-03-03T17:43:56Z</dc:date>
    <item>
      <title>Let AGV drive forward as much as possible</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/let-agv-drive-forward-as-much-as-possible/m-p/13557763#M60978</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 23.0.4 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It is possible to let the AGV drive forward as much as possible? The AGV can only rotate on the spot, but when it rotates it could choose between +90 degrees or -90 degrees. Depending on this choice the AGV will travel backward or forward after the rotation. Since traveling backwards is much slower it would in this model be best if the AGV rotates such that it will travel forward after the rotation.&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;We have been playing with the Turn Around Threshold in the AGV Network. Setting this value below 90 will let the AGV change travel direction all the time. Setting this value above 91 will never let the AGV change direction. You can play a little bit with these numbers in the attached model.&lt;/P&gt;&lt;P&gt;Would there be some kind of setting to let the AGV drive forward as much as possible?&lt;BR /&gt; &lt;BR /&gt; &lt;/P&gt;&lt;P&gt;One thing we thought about was to change the rotation in the custom delegate node. But one of the conditions there is:&lt;BR /&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;The cumulative distances of the z parameters of all addkinematic() calls should be exactly rotation (param(2)).&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;So the end result of the rotation will never change.  In the second model (RotateTestSolve_1) we tried to play around with this a little bit (ignoring the rule mentioned above). Getting the rotation correct is possible, but it won’t result in the correct driving speeds. So this is probably not a good solution!&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;Any help on this would be highly appreciated.&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/64949-rotatetest.fsm" target="_blank"&gt;RotateTest.fsm&lt;/A&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="rotate.gif"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1515728i2E85F884206DA0B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="rotate.gif" alt="rotate.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/64950-rotatetestsolve-1.fsm" target="_blank"&gt;RotateTestSolve_1.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 Mar 2023 14:26:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/let-agv-drive-forward-as-much-as-possible/m-p/13557763#M60978</guid>
      <dc:creator>patrick_zweekhorst</dc:creator>
      <dc:date>2023-03-01T14:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Let AGV drive forward as much as possible</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/let-agv-drive-forward-as-much-as-possible/m-p/13557764#M60979</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hey &lt;A rel="user" href="https://answers.flexsim.com/users/751/patrick.z.html" nodeid="751"&gt;@Patrick Zweekhorst&lt;/A&gt;, it looks like your &lt;A rel="noopener noreferrer" href="https://docs.flexsim.com/en/23.0/Reference/Tools/AGVNetworkTool/AGVNetwork/AGVNetwork.html#turnAroundThreshold:~:text=Turn%20Around%20Threshold" target="_blank"&gt;Turn Around Threshold&lt;/A&gt; for the AGV system could be increased to force the AGV to always go forward. The documentation states that an AGV &lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;"will check the difference in travel direction for the respective paths, and if it must change direction by more than this amount in transferring to the new path, then it will stop and reverse its direction before continuing onto the path."&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;If you change it to be 180 degrees, then it will always drive in one direction. If you change the starting orientation of the AGV, then it will drive forward and rotate accordingly. Here's what it looks like after making those modifications.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="agv-turn-correctly.gif"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1515724iF15DB6A54B34603A/image-size/large?v=v2&amp;amp;px=999" role="button" title="agv-turn-correctly.gif" alt="agv-turn-correctly.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/65112-rotatetest-kf.fsm" target="_blank"&gt;rotatetest_kf.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Mar 2023 17:09:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/let-agv-drive-forward-as-much-as-possible/m-p/13557764#M60979</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2023-03-03T17:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Let AGV drive forward as much as possible</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/let-agv-drive-forward-as-much-as-possible/m-p/13557765#M60980</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/35833/kavikaf.html" nodeid="35833"&gt;@Kavika F&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;Thank you for looking into this. However, when I change the threshold to 180 degrees I still get the same rotations, see the attached model. Changing the value to 180 works only if the vehicle starts driving forward, but that is not always the case, as in my example model. Or am I missing something?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/65113-rotatetest.fsm" target="_blank"&gt;RotateTest.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Mar 2023 17:16:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/let-agv-drive-forward-as-much-as-possible/m-p/13557765#M60980</guid>
      <dc:creator>patrick_zweekhorst</dc:creator>
      <dc:date>2023-03-03T17:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Let AGV drive forward as much as possible</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/let-agv-drive-forward-as-much-as-possible/m-p/13557766#M60981</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;If you try a Turn Around Threshold of 181, it will turn around for that last case in the model.&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Mar 2023 17:24:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/let-agv-drive-forward-as-much-as-possible/m-p/13557766#M60981</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2023-03-03T17:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Let AGV drive forward as much as possible</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/let-agv-drive-forward-as-much-as-possible/m-p/13557767#M60982</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;I see yes. In this model we would like the AGV to only rotate at curve. And when there are multiple options (+90 or -90) to take the one such that it can drive forward after the curve. But the AGV is not allowed to rotate 180 degrees at a straight path. Does this situation make sense to you?&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Mar 2023 17:28:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/let-agv-drive-forward-as-much-as-possible/m-p/13557767#M60982</guid>
      <dc:creator>patrick_zweekhorst</dc:creator>
      <dc:date>2023-03-03T17:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Let AGV drive forward as much as possible</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/let-agv-drive-forward-as-much-as-possible/m-p/13557768#M60983</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;So to clarify, you want the AGV to &lt;EM&gt;start&lt;/EM&gt; backwards, and then when it encounters a turn it &lt;EM&gt;continues&lt;/EM&gt; going backwards?&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Mar 2023 17:34:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/let-agv-drive-forward-as-much-as-possible/m-p/13557768#M60983</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2023-03-03T17:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Let AGV drive forward as much as possible</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/let-agv-drive-forward-as-much-as-possible/m-p/13557769#M60984</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;No, sorry for my bad explanation. &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;If the AGV start driving backwards it needs to drive backwards till the first crossing. At this crossing it should rotate such that it drives forward after the crossing.&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If the AGV drives forward from the start, it needs to keep driving forward also after the crossing.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Mar 2023 17:36:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/let-agv-drive-forward-as-much-as-possible/m-p/13557769#M60984</guid>
      <dc:creator>patrick_zweekhorst</dc:creator>
      <dc:date>2023-03-03T17:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Let AGV drive forward as much as possible</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/let-agv-drive-forward-as-much-as-possible/m-p/13557770#M60985</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;If the AGV travelling backwards encounters a Forward-only oriented path, it will then face forward and continue forward from that point. Then you can reduce the Turn Around Threshold so it doesn't turn around completely on straight paths.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="agv-turn-correctly-2.gif"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1515727i3147959B883A9220/image-size/large?v=v2&amp;amp;px=999" role="button" title="agv-turn-correctly-2.gif" alt="agv-turn-correctly-2.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Mar 2023 17:43:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/let-agv-drive-forward-as-much-as-possible/m-p/13557770#M60985</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2023-03-03T17:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Let AGV drive forward as much as possible</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/let-agv-drive-forward-as-much-as-possible/m-p/13557771#M60986</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/35833/kavikaf.html" nodeid="35833"&gt;@Kavika F&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;That indeed solves the problem for all the situations we had in this model. For the actual model there is a small difference. If there is a 2 way path I can't set the travel direction on it. Because it depends on where the AGV comes from. Or do you have an idea to use in here as well? See that attached model.&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/65104-rotatetest.fsm" target="_blank"&gt;RotateTest.fsm&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Mar 2023 17:51:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/let-agv-drive-forward-as-much-as-possible/m-p/13557771#M60986</guid>
      <dc:creator>patrick_zweekhorst</dc:creator>
      <dc:date>2023-03-03T17:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Let AGV drive forward as much as possible</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/let-agv-drive-forward-as-much-as-possible/m-p/13557772#M60987</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/35833/kavikaf.html" nodeid="35833"&gt;@Kavika F&lt;/A&gt; ,&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I continued this discussion with Anthony and we some ideas to make this easier. Probably the best way to give this control to the user is to make two turn around around thresholds, one for when the AGV is driving forward and one for when the AGV is driving backwards.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 30 Mar 2023 07:08:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/let-agv-drive-forward-as-much-as-possible/m-p/13557772#M60987</guid>
      <dc:creator>patrick_zweekhorst</dc:creator>
      <dc:date>2023-03-30T07:08:39Z</dc:date>
    </item>
  </channel>
</rss>

