Iris: improve collisions - #164
Merged
Merged
Conversation
Merged
snktshrma
suggested changes
Apr 3, 2026
snktshrma
left a comment
Member
There was a problem hiding this comment.
Hi @srmainwaring ! Thanks for this. Looks good. One change so it works for the plain gazebo flow.
| <pose>0 0 0 0 0 0</pose> | ||
| <geometry> | ||
| <mesh> | ||
| <uri>package://ardupilot_gazebo/models/iris_with_standoffs/meshes/iris_collision.stl</uri> |
Member
There was a problem hiding this comment.
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
- 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
force-pushed
the
prs/iris-collisions
branch
from
April 3, 2026 14:13
2b626b1 to
a881653
Compare
snktshrma
approved these changes
Apr 3, 2026
snktshrma
left a comment
Member
There was a problem hiding this comment.
Thanks! Working good : )
LGTM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Figure: old collision meshes
Figure: new collision meshes
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