more efficient dolater on broadcast pos hpr

This commit is contained in:
Joe Shochet 2005-03-11 23:46:53 +00:00
parent a34532500e
commit c96de589dc

View File

@ -82,6 +82,5 @@ class DistributedSmoothNodeBase:
# this task accurately aligned with its period and starting time. # this task accurately aligned with its period and starting time.
self.d_broadcastPosHpr() self.d_broadcastPosHpr()
taskName = self.taskName("sendPosHpr") taskName = self.taskName("sendPosHpr")
taskMgr.doMethodLater(self.__broadcastPeriod, task.delayTime = self.__broadcastPeriod
self.__posHprBroadcast, taskName) return Task.again
return Task.done