When I use GIS map to make a truck move between two places, the truck doesn't move in the model. Is there any way I can make it move in both?
Thanks
When I use GIS map to make a truck move between two places, the truck doesn't move in the model. Is there any way I can make it move in both?
Thanks
Hi @fernavas, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.
If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.
A task executer can only be connected to a single navigator at a time. So the only way I see to make the truck move in the 3d model is use kinematics.
To sync the travel time to that on the map you will have to determine the travel duration and use that to set the travel speed of the kinematic.
A good approach might be to listen to the "On Start Task" event, since that will allow you to read the task executer's current map position before the travel starts and that value is overwritten.
GIS_mirror_travel_with_kinematic.fsm
Note: In version 23.0, the "getCost()" method of the newly added "Navigator" class can be used to get the travel duration on the map, instead of using "function_s()".
token.TE.as(TaskExecuter).navigator.getCost(token.curPoint, token.destPoint, 2)
16 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved