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: