From fd2970444d83ac38e0d6af53a6b4dada4226250e Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Tue, 26 Mar 2013 21:01:32 +0100 Subject: host/simu/model: add output level factor for US distance sensor --- host/simu/robots/robospierre/model/bag.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'host/simu/robots/robospierre/model/bag.py') diff --git a/host/simu/robots/robospierre/model/bag.py b/host/simu/robots/robospierre/model/bag.py index f95f48ef..d2fb0210 100644 --- a/host/simu/robots/robospierre/model/bag.py +++ b/host/simu/robots/robospierre/model/bag.py @@ -56,16 +56,16 @@ class Bag: self.distance_sensor = [ DistanceSensorSensopart (link_bag.io_hub.adc[0], scheduler, table, (20, 20), pi * 10 / 180, (self.position, ), 5, - distance_sensor_exclude), + distance_sensor_exclude, factor = 5), DistanceSensorSensopart (link_bag.io_hub.adc[1], scheduler, table, (20, -20), -pi * 10 / 180, (self.position, ), 5, - distance_sensor_exclude), + distance_sensor_exclude, factor = 5), DistanceSensorSensopart (link_bag.io_hub.adc[2], scheduler, table, (-20, -20), pi + pi * 10 / 180, (self.position, ), 5, - distance_sensor_exclude), + distance_sensor_exclude, factor = 5), DistanceSensorSensopart (link_bag.io_hub.adc[3], scheduler, table, (-20, 20), pi - pi * 10 / 180, (self.position, ), 5, - distance_sensor_exclude), + distance_sensor_exclude, factor = 5), ] self.path = link_bag.io_hub.path self.pos_report = link_bag.io_hub.pos_report -- cgit v1.2.3