00001 #!/usr/bin/python 00002 import roslib; roslib.load_manifest('rcommander_plain') 00003 import rcommander.rcommander as rc 00004 import rospy 00005 00006 class MyRobotClass: 00007 def __init__(self): 00008 self.some_resource = "hello" 00009 00010 rospy.init_node('rcommander_plain', anonymous=True) 00011 robot = MyRobotClass() 00012 rc.run_rcommander(['default', 'myrobot'], robot)