def setRobot(launchID, state, dur):
	message = ControllerBehaviorMsg()
	message.ID = launchID
	message.action = state
	message.duration = dur
	pub.publish(message)

	updateContext(state)

	logAction("animation", state, launchID)
def setRobot(state, dur):
	message = ControllerBehaviorMsg()
	message.action = state
	message.duration = dur
	pub.publish(message)