From 7c14f1fb564afb589d1d483b1d0a9edd027f7b71 Mon Sep 17 00:00:00 2001 From: Olivier Michel Date: Tue, 19 Mar 2024 08:34:48 +0100 Subject: [PATCH] Update importer.py --- urdf2webots/importer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/urdf2webots/importer.py b/urdf2webots/importer.py index 0d5b18c..41aa486 100755 --- a/urdf2webots/importer.py +++ b/urdf2webots/importer.py @@ -115,7 +115,7 @@ def convertUrdfContent(input, output=None, robotName=None, normal=False, boxColl if not isinstance(initTranslation, str) or len(initTranslation.split()) != 3: sys.exit('--translation argument is not valid. It has to be of Type = str and contain 3 values.') - if not isinstance(nitRotation, str) or len(initRotation.split()) != 4: + if not isinstance(initRotation, str) or len(initRotation.split()) != 4: sys.exit('--rotation argument is not valid. It has to be of Type = str and contain 4 values.') if initPos is not None: try: