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

fix issue where user soft limits overwritten by collision model #58

Merged
merged 2 commits into from
Jul 15, 2021

Conversation

aedsinger
Copy link
Contributor

The RobotCollision class was setting the joint soft limits to 'None' (eg, physical hardstop) if the collision model didn't limit the range of motion. This had the side effect of overwriting an user limits set via the set_soft_limit API.

This fix initializes the values of the collision system with the current values of each joint. This should resolve the issue. It hasn't yet been tested and requires a unittest.

@aedsinger aedsinger changed the base branch from master to develop July 13, 2021 06:07
Copy link
Contributor

@hello-binit hello-binit left a comment

Choose a reason for hiding this comment

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

Looks good!

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.

None yet

2 participants