diff options
| author | Thierry Berger <contact@thierryberger.com> | 2024-07-12 16:29:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-12 16:29:22 +0200 |
| commit | 01dd2001525850ef0d66374c69e98e1560cb6421 (patch) | |
| tree | 5901b3c00d9ffc53a9af34e0023241eff256c8bc /crates/rapier3d-urdf/src | |
| parent | 87ada34008f4a1a313ccf8c3040040bab4f10e69 (diff) | |
| download | rapier-01dd2001525850ef0d66374c69e98e1560cb6421.tar.gz rapier-01dd2001525850ef0d66374c69e98e1560cb6421.tar.bz2 rapier-01dd2001525850ef0d66374c69e98e1560cb6421.zip | |
ci: cargo doc step (#671)
Diffstat (limited to 'crates/rapier3d-urdf/src')
| -rw-r--r-- | crates/rapier3d-urdf/src/lib.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crates/rapier3d-urdf/src/lib.rs b/crates/rapier3d-urdf/src/lib.rs index bad12ee..9aea453 100644 --- a/crates/rapier3d-urdf/src/lib.rs +++ b/crates/rapier3d-urdf/src/lib.rs @@ -43,6 +43,9 @@ use std::collections::HashMap; use std::path::Path; use xurdf::{Geometry, Inertial, Joint, Pose, Robot}; +#[cfg(doc)] +use rapier3d::dynamics::Multibody; + bitflags::bitflags! { /// Options applied to multibody joints created from the URDF joints. #[derive(Copy, Clone, Debug, PartialEq, Eq, Default)] @@ -79,7 +82,7 @@ pub struct UrdfLoaderOptions { /// So if this option is set to `true`, it is recommended to also keep /// [`UrdfLoaderOptions::enable_joint_collisions`] set to `false`. If the model is then added /// to the physics sets using multibody joints, it is recommended to call - /// [`UrdfRobot::insert_with_multibody_joints`] with the [`UrdfMultibodyOptions::DISABLE_SELF_CONTACTS`] + /// [`UrdfRobot::insert_using_multibody_joints`] with the [`UrdfMultibodyOptions::DISABLE_SELF_CONTACTS`] /// flag enabled. pub create_colliders_from_visual_shapes: bool, /// If `true`, the mass properties (center-of-mass, mass, and angular inertia) read from the urdf |
