def __init__(self, args): Visualizer.__init__(self, args) self.inner_margin_width = int(self.width * INNER_MARGIN) self.safe_width = self.width - self.inner_margin_width * 2 self.files = {} self._smoothed_min_filenum = Smoother() self._smoothed_max_filenum = Smoother()
def __init__(self, args): Visualizer.__init__(self, args) self.safe_width = int(self.width * (1 - APPEND_MARGIN - PREPEND_MARGIN)) self.prepend_margin_width = int(self.width * PREPEND_MARGIN) self.files = {} self._smoothed_min_filenum = Smoother() self._smoothed_max_filenum = Smoother()
def __init__(self, inq): Visualizer.__init__(self, inq) self.ledmode_pub = rospy.Publisher( "/roboy/control/matrix/leds/mode/simple", Int32, queue_size=1) self.led_point = rospy.ServiceProxy( '/roboy/control/matrix/leds/point/service', SetPoint) self.idle_timeout = time.time() self.idle_even = True self.idle = True
def __init__(self, inq): Visualizer.__init__(self, inq) self.leds = MatrixLeds() self.idle_timeout = time.time() self.idle_even = True self.idle = False self.heartbeat = False self.rec_loc_pub = rospy.Publisher( '/roboy/cognition/audio/record/location', AudioLocation, queue_size=1)
def __init__(self, args): Visualizer.__init__(self, args) self.boids = [] boid = Boid(PVector(10, 10), 3.0, 3.0) boid.arrive(PVector(400, 200)) self.boids.append(boid)
def __init__(self, args): Visualizer.__init__(self, args, Chunk) self.files = {} self.peers = {}
def __init__(self, args): Visualizer.__init__(self, args) self.files = {}