• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Adams Car
  3. How to make same request as 907 using functions?

Following Cadence Design Systems’ acquisition of the Design & Engineering (D&E) business, the D&E Community Forum on the Nexus Community Center has been migrated in the Cadence Physical System Simulation Community. For more details and if you have any questions, please refer to the FAQ.

Stats

  • State Not Answered
  • Replies 2
  • Subscribers 1
  • Views 5
  • Members are here 0
More Content

How to make same request as 907 using functions?

jozef.bucha
jozef.bucha over 5 years ago
Hello, I want to make request same as 907 (measuring displacement) but with functions:
request_subrutine
My request using functions:
request_function
To obtain same translational displacement for F2 i had to add minus sign:
comparison_1
Problem is with angles. Yaw angle values are perfectly same:
comparison_yaw
Roll angles are not perfectly same:
comparison_roll
Biggest difference is in pitch angle. To have same sign of values i have used minus in F7 function of request:,
comparison_pitch
Why are pitch angles so different? Is there some problem in my function request?
 
Also what I do not understand is why subrutine 907 for longitudinal displacement is giving positive values (i think vehicle is going in minus direction of GCS).
 
Thanks
 
Jozef
  • Sign in to reply
  • Cancel
Parents
  • Jesper Slattengren
    0 Jesper Slattengren over 5 years ago
    Joseph, the functions AX, AY, AZ does each expect that the angle around the other two axles are small. And you simply get the wrong sequence of angles when using them. Think for example that the vehicle have yawed 90°. Then you claim that the roll is the rotation around the global X-axle? At this position, when the vehicle travels along the global Y axis, the roll should be measured around the global Y. So AX, AY and AZ are unsuitable for this purpose.
     
    Luckily there exists the functions YAW, PITCH, ROLL that actually measures the rotations in the right sequence. Use those instead and it probably will work out better for you.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Jesper Slattengren
    0 Jesper Slattengren over 5 years ago
    Joseph, the functions AX, AY, AZ does each expect that the angle around the other two axles are small. And you simply get the wrong sequence of angles when using them. Think for example that the vehicle have yawed 90°. Then you claim that the roll is the rotation around the global X-axle? At this position, when the vehicle travels along the global Y axis, the roll should be measured around the global Y. So AX, AY and AZ are unsuitable for this purpose.
     
    Luckily there exists the functions YAW, PITCH, ROLL that actually measures the rotations in the right sequence. Use those instead and it probably will work out better for you.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2026 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information