Release v0.24.0 (#820)

This commit is contained in:
Sébastien Crozet
2025-04-10 12:44:58 +02:00
committed by GitHub
parent 1077faba16
commit ed7e6393b8
14 changed files with 43 additions and 39 deletions

View File

@@ -221,9 +221,9 @@ impl UrdfRobot {
/// - `path`: the path of the URDF file.
/// - `options`: customize the creation of rapier objects from the URDF description.
/// - `mesh_dir`: the base directory containing the meshes referenced by the URDF file. When
/// a mesh reference is found in the URDF file, this `mesh_dir` is appended
/// to the file path. If `mesh_dir` is `None` then the mesh directory is assumed
/// to be the same directory as the one containing the URDF file.
/// a mesh reference is found in the URDF file, this `mesh_dir` is appended
/// to the file path. If `mesh_dir` is `None` then the mesh directory is assumed
/// to be the same directory as the one containing the URDF file.
pub fn from_file(
path: impl AsRef<Path>,
options: UrdfLoaderOptions,
@@ -249,8 +249,8 @@ impl UrdfRobot {
/// - `str`: the string content of an URDF file.
/// - `options`: customize the creation of rapier objects from the URDF description.
/// - `mesh_dir`: the base directory containing the meshes referenced by the URDF file. When
/// a mesh reference is found in the URDF file, this `mesh_dir` is appended
/// to the file path.
/// a mesh reference is found in the URDF file, this `mesh_dir` is appended
/// to the file path.
pub fn from_str(
str: &str,
options: UrdfLoaderOptions,
@@ -272,8 +272,8 @@ impl UrdfRobot {
/// - `robot`: the robot loaded from an URDF file.
/// - `options`: customize the creation of rapier objects from the URDF description.
/// - `mesh_dir`: the base directory containing the meshes referenced by the URDF file. When
/// a mesh reference is found in the URDF file, this `mesh_dir` is appended
/// to the file path.
/// a mesh reference is found in the URDF file, this `mesh_dir` is appended
/// to the file path.
pub fn from_robot(robot: &Robot, options: UrdfLoaderOptions, mesh_dir: &Path) -> Self {
let mut name_to_link_id = HashMap::new();
let mut link_is_root = vec![true; robot.links.len()];