|
From: Walter, S. <Ste...@im...> - 2018-02-07 17:12:46
|
Hello Dmitriy, if you need to tell a vehicle that there is a branch ahead and it should follow the left or the right direction, put that information into a property at the respective path in your plant model. For instance, for a path branching off to the left, you could add a property with key “myagv:trackSelection” and a value of “left”. Within your communication adapter’s sendCommand() method, you will get the path contained in the MovementCommand. There, you could check for the presence and value of the property and interpret it. (The WayEntry and VelocityController classes are part of the loopback driver. I wouldn’t recommend using them when building a communication adapter for a real vehicle. Also, getProcessModel().getVelocityController() looks suspiciously like you have derived your communication adapter from the loopback driver. I cannot recommend that, either – better only derive from BasicVehicleCommAdapter.) Best regards, Stefan Von: Мурашов, Дмитрий [mailto:dmi...@au...] Gesendet: Montag, 5. Februar 2018 12:53 An: ope...@li... Betreff: [opentcs-discuss] Question about path intersection [https://mailtrack.io/trace/mail/96f79398c85ab9489268f443ee88584d20a96cbf.png?u=87270]Hello Stefan, I making own adapter for AGV (based on Modbus TCP) , and we using AGV controlled on magnetic tape. in point of path intersection, AGV have to decide, with path need to chose (left, or rigth) i mean if we have point (with 1 input, and 2 output path). How in CommunicationAdapter class i can to clarify , that. on witch way i have to move on left side road or on right side. i can have WayEntry.. (getProcessModel().getVelocityController().getCurrentWayEntry()) But there is no this information inside. How better add this info to WayEntry ? Thank you. -- С уважением / Mit freundlichen Grüssen / Best regards, ИП Мурашов Дмитрий Сергеевич ОГРНИП: 317784700017950 Automation Engineering Тел.: +7(904) 645-06-29 E-mail: dmi...@au...<mailto:dmi...@au...> Internet: www.automation-engineering.ru<http://www.automation-engineering.ru> ICQ: 137942905 Skype: ladimko Viber: 79046450629 [https://s3-eu-west-1.amazonaws.com/mailtrack-crx/icon-signature.png]<https://mailtrack.io/>Sent with Mailtrack<https://chrome.google.com/webstore/detail/mailtrack-for-gmail-inbox/ndnaehgpjlnokgebbaldlmgkapkpjkkb?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality> |