import lcm
from exlcm import structure
import random


lc = lcm.LCM()
while(True):
	msg = structure()
	msg.dist= int(random.randint(0,100))
	msg.pres= int(random.randint(0,100))
	lc.handle_timeout(2000)
	lc.publish("NIRMAAN", msg.encode())

