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

Update of collision checking example #382

Merged
merged 1 commit into from
Aug 15, 2024
Merged

Conversation

jkaniuka
Copy link
Contributor

Hi @petercorke 👋, this PR fixes issue #376.

The sample code snippet for collision detection listed on your github.io site generates the following errors:

  • AttributeError: module 'roboticstoolbox' has no attribute 'Box'
  • TypeError: Cuboid.__init__() takes 2 positional arguments but 3 were given
  • TypeError: Robot.collided() missing 1 required positional argument: 'shape'
  • FutureWarning: method collided is deprecated, use iscollided instead

I decided to fix this code snippet as part of this pull request 😎

Regards,
Jan

@petercorke petercorke merged commit 2a8111b into petercorke:master Aug 15, 2024
@petercorke
Copy link
Owner

Thanks for this fix.

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.

2 participants