Page 1 of 1

Advanced Transporter: variant of turning mode

Posted: Thursday 28 April, 2016 - 11:26
by LAC-Bursi
Hi community,

I need to set a new variant of the turning mode od the Advanced Transporter. I depitched below the behaviour that the AT has to follow:

[img]
ED_AT.PNG
ED_AT.PNG (9.17 KiB) Viewed 3190 times
[/img]

When the AT arrives at a certain node and has to turn more or equal to 90 degrees, the AT has to wait for X seconds and then has to immediately turn.

Have you any suggestions?

Thanks
Fabio

Re: Advanced Transporter: variant of turning mode

Posted: Tuesday 03 May, 2016 - 12:03
by HarryBunnik
Hallo Fabio,

This is a bit more complicated. I've adjusted an example model of the Advanced Transporter for this, but I'm not sure if it is complete for all angles. However I think it's enough to give you a start.
AdvancedTransporter PickAndPlace2_LAC.mod
(68.6 KiB) Downloaded 286 times
What you'll have to do is to alter the Events of the Advanced Transporter. In this case the first Event (this is the event where the traveling from one point to another is handled). Here you'll have to calculate the angle between the Advanced Transporter and it's destination. When this is bigger then the 90 degrees, it has to jump, otherwise execute it's normal routine.

I also created a new Event (21) where the waiting time is done and the Advanced Transporter is "jumping" into its new position.

I've added the code in the Transporter1 in the model.

I hope this help you a bit further.

Cheers,

Harry