Collision in rigidbodytree with external collision box

6 ビュー (過去 30 日間)
Anup Sreekumar
Anup Sreekumar 2022 年 3 月 30 日
回答済み: Karsh Tharyani 2022 年 4 月 4 日
Hello,
I am new to matlab and studying robotics in matlab.
I used a rigidbodytree to create a three link robot.
I created 2 external collision box.
Using inverse kinematics i calculated the start and end configurations.
Then i created a trajecotry for the movement.
However how do i check for collision between the arm movements and collision body.
I am using collision cylinder but it creates the cylinder only for the joint.
Is there anyway to build a collision mesh across the lenght of the link or body, and then check collision ?
(In my problem, the link body hits the external collision box while the joints seems to be collision free)
Thank you

採用された回答

Karsh Tharyani
Karsh Tharyani 2022 年 4 月 4 日
Hi Anup,
  • To help you get started with collision geometries on the rigid body tree (adding collisions to a rigid body on the rigid body tree, or checking self-collisions and collisions with the environment), please refer to the following example
openExample('robotics/AddCollisionMeshesAndCheckCollisionsForManipExample')
openExample('robotics/CheckGeometryCollisionStatusExample')
I hope this helps.
Best,
Karsh

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCollision Detection についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by