Skip to content

Iris: improve collisions - #164

Merged
srmainwaring merged 1 commit into
ArduPilot:mainfrom
srmainwaring:prs/iris-collisions
Apr 3, 2026
Merged

Iris: improve collisions#164
srmainwaring merged 1 commit into
ArduPilot:mainfrom
srmainwaring:prs/iris-collisions

Conversation

@srmainwaring

Copy link
Copy Markdown
Collaborator

Improve the collisions for the base Iris quadcopter model

The current collision mesh for the Iris quadcopter is a single large box that bounds the entire frame. This is unsuitable for situations where self collision information is required: e.g. robotic arms using MoveIt.

Details

  • Replace large box with collision STL that approximates the base.
  • Add cylinders for the leg collisions.
  • Remove deprecated physics elements.

Figure: old collision meshes

01-old-iris-collisions

Figure: new collision meshes

02-new-iris-collisions

Application

MoveIt uses the collision meshes to calculate a collision matrix to help accelerate planning calculations. With the updated collision definitions MoveIt is able to detect collisions between a robotic arm and the copter frame and rotor discs.

Figure: self collision checking of copter and arm in MoveIt

03-new-iris-collisions

@srmainwaring
srmainwaring requested a review from snktshrma April 3, 2026 10:18
@srmainwaring srmainwaring mentioned this pull request Apr 3, 2026

@snktshrma snktshrma left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @srmainwaring ! Thanks for this. Looks good. One change so it works for the plain gazebo flow.

Comment thread models/iris_with_standoffs/model.sdf Outdated
<pose>0 0 0 0 0 0</pose>
<geometry>
<mesh>
<uri>package://ardupilot_gazebo/models/iris_with_standoffs/meshes/iris_collision.stl</uri>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<uri>package://ardupilot_gazebo/models/iris_with_standoffs/meshes/iris_collision.stl</uri>
<uri>model://iris_with_standoffs/meshes/iris_collision.stl</uri>

For main branch, I think need to use model:// uri

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected in a881653

- Replace large box with collision STL that approximates the base.
- Add cylinders for the leg collisions.
- Remove deprecated physics elements.

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
@srmainwaring
srmainwaring force-pushed the prs/iris-collisions branch from 2b626b1 to a881653 Compare April 3, 2026 14:13
@srmainwaring
srmainwaring requested a review from snktshrma April 3, 2026 14:14

@snktshrma snktshrma left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Working good : )

LGTM

@srmainwaring
srmainwaring merged commit 082a0fe into ArduPilot:main Apr 3, 2026
3 checks passed
@srmainwaring
srmainwaring deleted the prs/iris-collisions branch April 3, 2026 21:35
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