Skip to content

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