Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URDF Importer - Visual primitives are created as debug components. #478

Closed
michalpelka opened this issue Aug 28, 2023 · 0 comments · Fixed by #485
Closed

URDF Importer - Visual primitives are created as debug components. #478

michalpelka opened this issue Aug 28, 2023 · 0 comments · Fixed by #485
Assignees
Labels
feature/robotics This item is related to robotics. priority/major Major priority. Work that should be handled after all blocking and critical work is done. sig/simulation Categorizes an issue or PR as relevant to SIG Simulation

Comments

@michalpelka
Copy link
Contributor

Let's take simple URDF, it contains only one box. This box will be created as Box Shape with game view.
This approach has two major disadvantages:

  • helpers needs to be visible to see importer link
  • material cannot be attached
  • it is expensive to draw
<?xml version="1.0"?>
<robot name="urdf_test">
   <material name="lightgrey">
       <color rgba="0.8 0.8 0.8 1.0"/>
   </material>
   <link name="box_link">
       <inertial>
       <origin xyz="0. 0. 0."/>
       <mass value="1."/>
       <inertia ixx="1." ixy="0." ixz="0." iyy="1." iyz="0." izz="1."/>
       </inertial>
       <visual>
           <origin rpy="0 0 0" xyz="0 0 0"/>
           <geometry>
               <box size="1 2 1"/>
           </geometry>
       </visual>
       <material name="lightgrey"/>
   </link>
</robot>

Please use primitive from https://github.com/o3de/o3de/tree/development/Gems/PrimitiveAssets/Assets/Objects/_Primitives instead.

@michalpelka michalpelka added priority/major Major priority. Work that should be handled after all blocking and critical work is done. sig/simulation Categorizes an issue or PR as relevant to SIG Simulation feature/robotics This item is related to robotics. labels Aug 28, 2023
@jhanca-robotecai jhanca-robotecai self-assigned this Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/robotics This item is related to robotics. priority/major Major priority. Work that should be handled after all blocking and critical work is done. sig/simulation Categorizes an issue or PR as relevant to SIG Simulation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants