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

Only check for IK when needed #46

Open
jstnhuang opened this issue Aug 11, 2016 · 0 comments
Open

Only check for IK when needed #46

jstnhuang opened this issue Aug 11, 2016 · 0 comments

Comments

@jstnhuang
Copy link

The system will check for IK whenever it creates a gripper mesh, coloring it appropriately. This means it checks for IK solutions at unnecessary times:

  • When saving a pose (because poses are demonstrated kinesthetically there must be an IK solution)
  • When loading a previously recorded action

It's only necessary to solve IK:

  • When a pose is edited in rviz
  • Prior to executing an action (because the torso height might change)
  • When executing and a pose is relative to a landmark

The unnecessary checks do slow down the execution quite a bit, it takes O(# actions) seconds to load an action.

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

No branches or pull requests

1 participant