Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.

formula in mechanism dependencies

Hi,
 

Can anyone tell me the correct syntax rules for a formula in the mechanism dependencies dialog?

Comments

  • Hi Dean,

    You can write a mathematical expression with the joint names as variables. Available functions are sin, cos, tan, acos, asin, atan, atan2, sqrt, pow. For example:

    atan2(140.0 * sin(J1),619.53 - 140.0 * cos(J1))

    regards,
    Johannes

    Johannes Weiman
    Software Engineer
    ABB Robotics
  • Thanks!  It seems it likes the spaces between operators.