Skip to content
Discussion options

You must be logged in to vote

EDIT: Thanks for @preist-nvidia for pointing out a mistake in this answer, I edited to remove the error.

You are correct as far as a freejoint goes, the first three components qfrc ends up being applied as forces in the global space. The remaining three components for freejoints is interpreted in the body frame (i.e. a qfrc that makes a robot frontflip will usually still do that if the robot faces a different global direction.)

However, for all other degrees of freedom, qfrc will be applied along the current direction of the joint axes, whereas xfrc_applied will always stay in the global frame.

E.g. if you have a motorbike model where the wheel axes initially are parallel to the global x …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@preist-nvidia
Comment options

@Balint-H
Comment options

@preist-nvidia
Comment options

Answer selected by Hardwarize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants