How can I find the intersection between a line and a robot?

3 vues (au cours des 30 derniers jours)
lapo carrieri
lapo carrieri le 26 Avr 2023
Given the urdf robot model, which function can I use to find the intersection point with a specific link of that robot. I tried with checkCollision but it is for the collision with objects.

Réponses (1)

Karsh Tharyani
Karsh Tharyani le 1 Mai 2023
Hi,
You could try using the https://www.mathworks.com/help/robotics/ref/rigidbodytree.checkcollision.html "rigidBodyTree/checkCollision" function to find collisions on a rigid body. Given the URDF, you can use "importrobot" https://www.mathworks.com/help/robotics/ref/importrobot.html to create a rigid body tree, and then call the "checkCollision" function on it.
Best,
Karsh

Catégories

En savoir plus sur Robotics dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by