From 78b8f6ff71d101ce419f3a6fda58a68aa6d4e4a9 Mon Sep 17 00:00:00 2001 From: Olivier Michel Date: Fri, 15 Jan 2021 12:51:01 +0100 Subject: [PATCH] Better indentation --- urdf2webots/parserURDF.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/urdf2webots/parserURDF.py b/urdf2webots/parserURDF.py index 1a139c50..423f6ee2 100644 --- a/urdf2webots/parserURDF.py +++ b/urdf2webots/parserURDF.py @@ -290,7 +290,7 @@ def export(self, file, indentationLevel): indent = ' ' file.write(indentationLevel * indent + 'Camera {\n') # rotation to convert from REP103 to webots viewport - file.write(indentationLevel * indent + 'rotation 1.0 0.0 0.0 3.141591\n') + file.write(indentationLevel * indent + ' rotation 1.0 0.0 0.0 3.141591\n') file.write(indentationLevel * indent + ' name "%s"\n' % self.name) if self.fov: file.write(indentationLevel * indent + ' fieldOfView %lf\n' % self.fov)