@@ -221,9 +221,9 @@ impl UrdfRobot {
221221 /// - `path`: the path of the URDF file.
222222 /// - `options`: customize the creation of rapier objects from the URDF description.
223223 /// - `mesh_dir`: the base directory containing the meshes referenced by the URDF file. When
224- /// a mesh reference is found in the URDF file, this `mesh_dir` is appended
225- /// to the file path. If `mesh_dir` is `None` then the mesh directory is assumed
226- /// to be the same directory as the one containing the URDF file.
224+ /// a mesh reference is found in the URDF file, this `mesh_dir` is appended
225+ /// to the file path. If `mesh_dir` is `None` then the mesh directory is assumed
226+ /// to be the same directory as the one containing the URDF file.
227227 pub fn from_file (
228228 path : impl AsRef < Path > ,
229229 options : UrdfLoaderOptions ,
@@ -249,8 +249,8 @@ impl UrdfRobot {
249249 /// - `str`: the string content of an URDF file.
250250 /// - `options`: customize the creation of rapier objects from the URDF description.
251251 /// - `mesh_dir`: the base directory containing the meshes referenced by the URDF file. When
252- /// a mesh reference is found in the URDF file, this `mesh_dir` is appended
253- /// to the file path.
252+ /// a mesh reference is found in the URDF file, this `mesh_dir` is appended
253+ /// to the file path.
254254 pub fn from_str (
255255 str : & str ,
256256 options : UrdfLoaderOptions ,
@@ -272,8 +272,8 @@ impl UrdfRobot {
272272 /// - `robot`: the robot loaded from an URDF file.
273273 /// - `options`: customize the creation of rapier objects from the URDF description.
274274 /// - `mesh_dir`: the base directory containing the meshes referenced by the URDF file. When
275- /// a mesh reference is found in the URDF file, this `mesh_dir` is appended
276- /// to the file path.
275+ /// a mesh reference is found in the URDF file, this `mesh_dir` is appended
276+ /// to the file path.
277277 pub fn from_robot ( robot : & Robot , options : UrdfLoaderOptions , mesh_dir : & Path ) -> Self {
278278 let mut name_to_link_id = HashMap :: new ( ) ;
279279 let mut link_is_root = vec ! [ true ; robot. links. len( ) ] ;
0 commit comments