-
Notifications
You must be signed in to change notification settings - Fork 475
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
Collision detection #376
Comments
Hi @jianchaoci 👋, I've attached the working code below import roboticstoolbox as rtb
from spatialmath import *
from spatialgeometry import *
panda = rtb.models.Panda()
obstacle = Cuboid([1, 1, 1], pose = SE3(1, 0, 0))
iscollision = panda.iscollided(panda.q, obstacle) # boolean
iscollision = panda.links[0].iscollided(obstacle) |
Hi Jkaniuka, |
@jianchaoci, glad I could help 😉 I've only used robotics-toolbox-python to generate manipulator trajectories, so I don't know if it has the functions you're talking about. I can, however, offer you other solutions 😄
|
Hi,
I want to use roboticstoolbox to do collision detection. But I got a problem when creating the obstacles. I follow the instruction you give to crate box using rtb.Box(). But I got an error as below.
The text was updated successfully, but these errors were encountered: