Example #1
0
 def _health_loop(self):
     while True:
         msg = Health()
         msg.uptime = time.time() - self.startTime
         self.lcm.publish("Flagger/Health", msg.encode())
         time.sleep(0.25)
Example #2
0
 def _health_loop(self):
     while True:
         msg = Health()
         msg.uptime = time.time() - self.startTime
         self.lcm.publish("Flagger/Health", msg.encode())
         time.sleep(0.25)