Skip to content

Commit

Permalink
Update importer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
omichel authored Mar 19, 2024
1 parent 9951262 commit 7c14f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion urdf2webots/importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7c14f1f

Please sign in to comment.