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

Replace hard-coded inCollision #39

Open
hello-binit opened this issue May 9, 2024 · 0 comments
Open

Replace hard-coded inCollision #39

hello-binit opened this issue May 9, 2024 · 0 comments

Comments

@hello-binit
Copy link
Collaborator

Replace hard-coded inCollision check with num_contacts from the status dictionary. Whereas the inCollision method in the Robot class has a bunch of hard-coded effort values to try to estimate if the robot is in collision with an object, the num_contacts integer is a counter that increments each time the robot detects that the joint has made a collision / contact with another object. Furthermore, the thresholds that num_contacts is calculated from is calibrated uniquely for each robot.

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