Skip to content

CoordSys3D vs. ReferenceFrame #24674

Closed Answered by moorepants
deadbeefv asked this question in Q&A
Discussion options

You must be logged in to vote

sympy.vector and sympy.physics.vector are not interoperable in any useful way.

sympy.physics.vector ReferenceFrames are only for tracking relative orientations, there is no concept of a translating reference frame. Point objects are what manage translation. The dynamical formulation in the module isn't built on the ideas you find in graphics (i.e. transformation matrix that can manage rotation of a frame and translation of a point in one mathematical element).

If you want to use the mechanics package, it is best to follow the formalism it uses: ReferenceFrame for rotation and Point for translation.

My book explains some of these things: https://moorepants.github.io/learn-multibody-dynamics/

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@moorepants
Comment options

Answer selected by deadbeefv
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment