DiscoverLearnDocumentationGet OpenPLXSearch Contact

URDF bundle

A bundle for URDF specific models.

UrdfPackage - used to provide PackagePath when importing URDF files into OpenPlx.

In the example below meshA.stl will be searched for in /from/root/subdir/.

Contents of robot.urdf:

<robot name="Robot">
	<link name="link A">
        <collision name="link A collision">
            <geometry>
                <mesh filename="package://package_A/subdir/meshA.stl"/>
            </geometry>
        </collision>
	</link>
</robot>

Contents of robot.openplx:

import @"robot.urdf"

Scene is Physics3D.System:
    robot is Robot
    package_A is Urdf.PackagePath:
        name: "package_A"
        path: "/from/root/"