When I use the kinematics to make a customized Basic TE , I want to get its current speed of one axis at any time . What is the command I can use to get the speed ?
Hi Shiny Xu,
Use the getkinematics() command.
getkinematics(kinematicnodereference,KINEMATIC_VX); // for speed along x-axis getkinematics(kinematicnodereference,KINEMATIC_VY); // for speed along y-axis getkinematics(kinematicnodereference,KINEMATIC_VZ); // for speed along z-axis
Regards,
Arun KR
Thank you very much. Can I get the current speed of a ASRSvehicle and its every axis?
Yes. You have to look at two kinematic nodes in the ASRS vehicle tree and they are forkkinematics and kinematics. So your code will look like this.
treenode kinematics = Model.find("ASRSvehicle1>variables/kinematics");//along the slider treenode ForkKinematics = Model.find("ASRSvehicle1>variables/forkkinematics");//extender, up and down movement double Vx = getkinematics(kinematics,KINEMATIC_VX); double Vy = getkinematics(ForkKinematics,KINEMATIC_VY); double Vz = getkinematics(ForkKinematics,KINEMATIC_VZ); print(Vx,Vy,Vz);
8 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