Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tgCompoundRigidSensor does not output the orientation of a compound rigid body #203

Open
apsabelhaus opened this issue Feb 4, 2017 · 0 comments
Assignees

Comments

@apsabelhaus
Copy link
Member

At the moment, orientation sensing is not implemented. That's because this gets complicated: we need to be careful when taking transformations between two orientations.

One way to implement this would be to store the position of one of the compound's components at t=0, and set that position as "upward vertically" at the start: e.g. this position would correspond to a direction along the unit vector (0, 1, 0). In other words, the initial orientation of any compound rigid body is along the vertical Y axis (remembering that in NTRT, "y" is upward, what we in engineering usually call "z".)

Then, we'd take the difference between future orientations of that one specific compound against the t=0 orientation of that compound, and output that difference in orientation.

However, we need to make a decision about what this "difference" should mean. In Euler angles, for example, this might be completely meaningless: just subtracting them will not (I think?) give the transformation we want.

To-Do: research how to take this difference easily. Quaternions?
To-Do: decide what parameters we want to output to the log file. If we do Euler angles, will we get the log output jumping around?

@apsabelhaus apsabelhaus self-assigned this Feb 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant