summaryrefslogtreecommitdiffhomepage
path: root/host/simu/robots/marcel/view/robot.py
diff options
context:
space:
mode:
Diffstat (limited to 'host/simu/robots/marcel/view/robot.py')
-rw-r--r--host/simu/robots/marcel/view/robot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/simu/robots/marcel/view/robot.py b/host/simu/robots/marcel/view/robot.py
index 4e2135f2..67d505a2 100644
--- a/host/simu/robots/marcel/view/robot.py
+++ b/host/simu/robots/marcel/view/robot.py
@@ -52,8 +52,8 @@ class Robot (simu.inter.drawable.Drawable):
"""Draw the robot."""
self.reset ()
if self.pos is not None:
- self.trans_rotate (self.angle)
self.trans_translate (self.pos)
+ self.trans_rotate (self.angle)
# Draw robot body.
self.draw_polygon ((120, 155), (-95, 155), (-160, 90),
(-160, -90), (-95, -155), (120, -155))