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

add joints offsets #2

Open
sbarthelemy opened this issue Jun 23, 2009 · 0 comments
Open

add joints offsets #2

sbarthelemy opened this issue Jun 23, 2009 · 0 comments

Comments

@sbarthelemy
Copy link
Owner

Joints are used to

  • parametrise the world
  • restrict the relative motion between two bodies

For example, for RzJoint only allows rotations around z-axis. To specify the z-axis position relatively to the bodies, SubFrames are needed in most cases.

We could remove this need be replacing RzJoint with H0RzJoint or RzH0Joint, where H0 is a constant transform.

Doing so would have advantages:

  • fewer SubFrame objects in many cases,
  • many other formalisms/simulators work that way (DH parameters/HuMAnS/KDL...), it is good if arboris can accommodate their frame choices,
  • this would not break the way arboris currently works (it could be implemented by adding H0 to the current joints with a eye(3) default value)

and some disadvantages...

  • yet another way to do the same thing
  • it we add this to the current method, it will be slower (one more matrix product). We can avoid this additional product if we know that the Joint _frame attributes are Body and not SubFrame, but it would be less flexible then.
  • it will break the "link" display in visu_osg
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