Crate rapier3d_urdf

source ·
Expand description

§STL loader for the Rapier physics engine

Rapier is a set of 2D and 3D physics engines for games, animation, and robotics. The rapier3d-urdf crate lets you convert an URDF file into a set of rigid-bodies, colliders, and joints, for usage with the rapier3d physics engine.

§Optional cargo features

  • stl: enables loading STL meshes referenced by the URDF file.

§Limitations

Are listed below some known limitations you might want to be aware of before picking this library. Contributions to improve these elements are very welcome!

  • Mesh file types other than stl are not supported yet. Contributions are welcome. You my check the rapier3d-stl repository for an example of mesh loader.
  • When inserting joints as multibody joints, they will be reset to their neutral position (all coordinates = 0).
  • The following fields are currently ignored:
    • Joint::dynamics
    • Joint::limit.effort / limit.velocity
    • Joint::mimic
    • Joint::safety_controller

Structs§

  • An urdf joint loaded as a rapier GenericJoint.
  • Handle of a joint read from the URDF file and inserted into rapier’s ImpulseJointSet or a MultibodyJointSet.
  • An urdf link loaded as a rapier RigidBody and its Colliders.
  • The handles related to a link read from the URDF file and inserted into Rapier’s RigidBodySet and ColliderSet.
  • A set of configurable options for loading URDF files.
  • Options applied to multibody joints created from the URDF joints.
  • A robot represented as a set of rapier rigid-bodies, colliders, and joints.
  • Handles to all the Rapier objects created when inserting this robot into Rapier’s RigidBodySet, ColliderSet, ImpulseJointSet, MultibodyJointSet.

Type Aliases§

  • The index of an urdf link.