Skip to content

Problem with collision meshes #1184

@AmiQuijano

Description

@AmiQuijano

I am currently working with Tesseract version 29.1 on a Realman robot with a camera plate and a camera on its end effector. For the camera plate collision mesh I am using an .stl file while for the camera I am using a box. However, collision meshes of these last two parts appear to be huge even if in the .xacro they are scaled properly:

Example:

<collision> 
  <origin xyz="0 0 0" rpy="-1.5708 0 0" />
  <geometry>
    <mesh filename="package://my_pkg/meshes/camera_connection_plate.STL" scale="0.001 0.001 0.001"/>
  </geometry>
</collision>

Realman alone:

Image

Realman with camera plate and camera (right is zoomed out to let you see how big the boxes are):

Image Image

What could be the issue?

On the other hand, I am working with a custom robot for which I am using .dae for the collision meshes in the .xacro. However, the collision boxes are bigger than the actual link. Is there any way to make the boxes smaller, thus closer to the actual dimensions of the links? I tried changing the meshes (.dae) for boxes in the .xacro but then I got the same problem as above, i.e. I got huge collision boxes.

I am not sure whether I am using bullet or FCL. Howe can I check this and how can I switch between them?

Thank you a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions