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

How to deal with the exception raised from some of Grabbed APIs #1437

Open
snozawa opened this issue Sep 21, 2024 · 0 comments
Open

How to deal with the exception raised from some of Grabbed APIs #1437

snozawa opened this issue Sep 21, 2024 · 0 comments

Comments

@snozawa
Copy link
Collaborator

snozawa commented Sep 21, 2024

  • Some of the APIs like _RestoreKinBody, ResetGrabbed, KinBodyStateSaver, ...etc are implemented : 1) release all grabbed bodies. 2) restore necessary grabbed bodies one by one.
  • However, if there is an exception between 1 and 2, all necessary grabbed bodies are gone. Even if the caller side uses try-catch, it's not recoverable.
  • For example, some of the robot grabs cameras from the static setting in the scene file. If such robot grab the target workpiece, and this bug happens, all of the cameras are gone, and looks dangerous.
  • We'd better not to remove all of the grabbed bodies and need to improve the fallback logic. To do so, we need to determine what's the expected behavior for such case.
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