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

2 次查看(过去 30 天)
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.

回答(1 个)

Karsh Tharyani
Karsh Tharyani 2023-5-1
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

类别

Help CenterFile Exchange 中查找有关 Robotics 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by