mouse.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 
00003 import rospy
00004 
00005 try:
00006     import joy_mouse.joy
00007 except:
00008     import roslib; roslib.load_manifest("joy_mouse")
00009     import joy_mouse.joy
00010     
00011 if __name__ == "__main__":
00012     rospy.init_node("joy_mouse")
00013     joy_mouse.joy.main(rospy.get_param("~dev", "/dev/input/mouse0"),
00014                        rospy.get_param("~autorepeat_rate", 0),
00015                        rospy.get_param("~frame_id", "mouse"))
00016     


joy_mouse
Author(s):
autogenerated on Mon Oct 6 2014 01:10:54