summaryrefslogtreecommitdiffhomepage
path: root/host/simu/robots/aquajim/view/robot.py
diff options
context:
space:
mode:
Diffstat (limited to 'host/simu/robots/aquajim/view/robot.py')
-rw-r--r--host/simu/robots/aquajim/view/robot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/simu/robots/aquajim/view/robot.py b/host/simu/robots/aquajim/view/robot.py
index ad613bba..aefe2170 100644
--- a/host/simu/robots/aquajim/view/robot.py
+++ b/host/simu/robots/aquajim/view/robot.py
@@ -42,8 +42,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 ((150, 155), (-90, 155), (-150, 70),
(-150, -70), (-90, -155), (150, -155))