Hello,
I want to estimate the route distance of two cp points through Navigator getcost. However, I got some error, hope I can get some instruction to solve the issue, thanks!
Hello,
I want to estimate the route distance of two cp points through Navigator getcost. However, I got some error, hope I can get some instruction to solve the issue, thanks!
You need to declare the variable "a".
Navigator nav = Model.find("AGVNetwork"); double a = nav.getCost(Model.find("ControlPoint12"), [Model.find("ControlPoint66"), 0], 0); return a;
To get the distance between two CPs you can also use the command cpdistance().
14 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