summaryrefslogtreecommitdiffhomepage
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rw-r--r--host/simu/robots/apbirthday/model/bag.py1
-rw-r--r--host/simu/robots/apbirthday/view/bag.py2
2 files changed, 3 insertions, 0 deletions
diff --git a/host/simu/robots/apbirthday/model/bag.py b/host/simu/robots/apbirthday/model/bag.py
index 0eb995f4..5cc35c6b 100644
--- a/host/simu/robots/apbirthday/model/bag.py
+++ b/host/simu/robots/apbirthday/model/bag.py
@@ -97,4 +97,5 @@ class Bag:
scheduler, 0., 1., .1, .1, 0.)
self.path = link_bag.io_hub.path
self.pos_report = link_bag.io_hub.pos_report
+ self.debug_draw = link_bag.io_hub.debug_draw
diff --git a/host/simu/robots/apbirthday/view/bag.py b/host/simu/robots/apbirthday/view/bag.py
index 57c83049..e545522d 100644
--- a/host/simu/robots/apbirthday/view/bag.py
+++ b/host/simu/robots/apbirthday/view/bag.py
@@ -27,6 +27,7 @@ from simu.view.distance_sensor import DistanceSensor
from simu.view.distance_sensor_us import DistanceSensorUS
from simu.view.path import Path
from simu.view.pos_report import PosReport
+from simu.view.debug_draw import DebugDraw
from simu.robots.apbirthday.view.robot import Robot
class Bag:
@@ -47,4 +48,5 @@ class Bag:
self.cake_back = DistanceSensor (self.robot, model_bag.cake_back)
self.path = Path (table, model_bag.path)
self.pos_report = PosReport (table, model_bag.pos_report)
+ self.debug_draw = DebugDraw (table, model_bag.debug_draw)