def post_hunger(self,event):
		self.hunger_level_=self.philosopher.recalculateHunger(self.philosopherIState,self.last_hunger_update_,self.hunger_level_)
		self.last_hunger_update_=rospy.get_time()
		print self.philosopherIState
		pub = rospy.Publisher('/hungerLevel/'+topic_code, hungerMsg)
		pub2=rospy.Publisher('/assos/', hungerMsg)
		
		msg = hungerMsg()
		msg2 = hungerMsg()
		msg.hungerLevel =float(self.hunger_level_) 
		msg2.hungerLevel=float(self.assos_value)
		rospy.loginfo(msg)
		pub.publish(msg)
		pub2.publish(msg2)
	def post_hunger(self,event):
		if self.kikloi<=self.allagi:
			self.hunger_level_=self.philosopher.recalculateHunger(self.philosopherIState,self.last_hunger_update_,self.hunger_level_)
		else:
			self.faulty = 1
			self.hunger_level_=self.recalculateHungerConstant(self.philosopherIState,self.hunger_level_,self.constant)
		#self.hunger_level_=self.philosopher.recalculateHunger(self.philosopherIState,self.last_hunger_update_,self.hunger_level_)
		self.last_hunger_update_=rospy.get_time()
		print self.philosopherIState
		pub = rospy.Publisher('/hungerLevel/'+topic_code, hungerMsg)
		pub2=rospy.Publisher('/assos/', hungerMsg)
		msg = hungerMsg()
		msg2 = hungerMsg()
		msg.hungerLevel =float(self.hunger_level_) 
		msg.faulty = self.faulty
		msg2.hungerLevel=float(self.assos_value)
		rospy.loginfo(msg)
		pub.publish(msg)
		pub2.publish(msg2)