summaryrefslogtreecommitdiff
path: root/host/simu
diff options
context:
space:
mode:
Diffstat (limited to 'host/simu')
-rw-r--r--host/simu/robots/robospierre/model/bag.py1
-rw-r--r--host/simu/robots/robospierre/view/bag.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/host/simu/robots/robospierre/model/bag.py b/host/simu/robots/robospierre/model/bag.py
index b98dafd9..284e5bb8 100644
--- a/host/simu/robots/robospierre/model/bag.py
+++ b/host/simu/robots/robospierre/model/bag.py
@@ -55,5 +55,6 @@ class Bag:
DistanceSensorSensopart (link_bag.io_hub.adc[3], scheduler, table,
(-20, 20), pi - pi * 10 / 180, (self.position, ), 2),
]
+ self.path = link_bag.io_hub.path
self.pos_report = link_bag.io_hub.pos_report
diff --git a/host/simu/robots/robospierre/view/bag.py b/host/simu/robots/robospierre/view/bag.py
index b718f6fe..d87cecb9 100644
--- a/host/simu/robots/robospierre/view/bag.py
+++ b/host/simu/robots/robospierre/view/bag.py
@@ -45,5 +45,6 @@ class Bag:
ClampSide.height), model_bag.clamp))
self.distance_sensor = [DistanceSensorUS (self.robot, ds)
for ds in model_bag.distance_sensor]
+ self.path = Path (table, model_bag.path)
self.pos_report = PosReport (table, model_bag.pos_report)