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

Kill JointTyped #291

Merged
merged 14 commits into from
Oct 27, 2021
Merged

Kill JointTyped #291

merged 14 commits into from
Oct 27, 2021

Conversation

gchenfc
Copy link
Member

@gchenfc gchenfc commented Oct 16, 2021

This abandons future plans for Ball/Spherical/U-joints. Reasons:

  • Gazebo doesn’t really handle ball joints fully anyway, since the different backends handle them differently and some don’t support them at all, so Gazebo just doesn’t fully support them, e.g. you cannot actuate ball joints.
  • Previously I thought these would be useful to simulate cable robot, but I realized there’s a much better way.
  • These types of joints (e.g. wrist, hip) are implemented with multiple “revolute” joints anyway, and due to joint limits don’t typically run into strange “singularity issues” (e.g. all joint angles = pi) anyway.
  • Lots of other people just implement them as multiple intersecting joints, e.g. Lee09mmt which Frank shared (I didn’t review this paper in detail)
  • The ball joints etc make lots of peoples’ lives (e.g. yetong) a lot harder.
  • Therefore, I proposed we kill the complicated joint stuff and just revert back to only screw-type joints (joint angle has type double)

Frank’s response (after much deliberation):

Can re-target to master if #290 is rejected. I forget why I based this branch on the other one - probably just forgot to checkout back to master before starting this work.

Copy link
Member

@dellaert dellaert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more iteration. Let’s discuss #290 on Monday

gtdynamics.i Outdated Show resolved Hide resolved
gtdynamics/factors/JointMeasurementFactor.h Outdated Show resolved Hide resolved
gtdynamics/factors/PoseFactor.h Outdated Show resolved Hide resolved
python/tests/test_factors.py Show resolved Hide resolved
@gchenfc gchenfc requested review from dellaert and removed request for dellaert October 26, 2021 07:35
@gchenfc
Copy link
Member Author

gchenfc commented Oct 27, 2021

@dellaert I remember you said to wait on this until another PR landed (#278 ?) but not sure what the status on that is

@dellaert
Copy link
Member

I think we can merge, @danbarla will have to merge in master then...

Copy link
Member

@dellaert dellaert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still not targeting master and that seems to create problems with extra files...

gtdynamics/optimizer/EqualityConstraint-inl.h Outdated Show resolved Hide resolved
gtdynamics/optimizer/EqualityConstraint.h Outdated Show resolved Hide resolved
python/gtdynamics/__init__.py Outdated Show resolved Hide resolved
tests/constrainedExample.h Outdated Show resolved Hide resolved
tests/testEqualityConstraint.cpp Outdated Show resolved Hide resolved
@gchenfc gchenfc force-pushed the refactor/kill_JointTyped branch from b648a46 to 7f66e4a Compare October 27, 2021 18:50
@gchenfc gchenfc closed this Oct 27, 2021
@gchenfc gchenfc force-pushed the refactor/kill_JointTyped branch from 7f66e4a to 3d0930a Compare October 27, 2021 18:55
@gchenfc gchenfc reopened this Oct 27, 2021
@gchenfc gchenfc changed the base branch from refactor/factor_constructor_arguments to master October 27, 2021 19:02
@gchenfc
Copy link
Member Author

gchenfc commented Oct 27, 2021

@dellaert Sorry I totally forgot to re-target to master, and then I royally messed up and accidentally force-pushed. But after messing up once, I learned so next time I'll know how to do it right.

But everything should be addressed now!

@gchenfc gchenfc requested a review from dellaert October 27, 2021 19:08
@gchenfc gchenfc merged commit 7cd0d09 into master Oct 27, 2021
@gchenfc gchenfc deleted the refactor/kill_JointTyped branch October 27, 2021 21:33
@gchenfc gchenfc linked an issue Nov 6, 2021 that may be closed by this pull request
This was referenced Nov 6, 2021
@gchenfc gchenfc mentioned this pull request Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove JointCoordinateType
2 participants