12 if __name__ ==
'__main__':
14 rospy.init_node(
'kontrol')
16 input_dev = int(sys.argv[1])
17 rospy.set_param(
"~input_dev", input_dev)
20 rospy.on_shutdown(kontrol.finish)
22 while not rospy.is_shutdown():
26 except rospy.ROSInterruptException:
29 rospy.logerr(sys.exc_info()[0])