4 NAME =
'test_hrpsys_config' 10 import roslib; roslib.load_manifest(PKG)
13 from hrpsys
import rtm
15 import argparse,unittest,rostest
18 def init(self, robotname="SampleRobot(Robot)0
", url=""): 19 HrpsysConfigurator.init(self, robotname=robotname, url=url) 23 parser = argparse.ArgumentParser(description=
'hrpsys command line interpreters')
24 parser.add_argument(
'--host', help=
'corba name server hostname')
25 parser.add_argument(
'--port', help=
'corba name server port number')
26 args, unknown = parser.parse_known_args()
29 rtm.nshost = args.host
31 rtm.nsport = args.port
35 self.assertTrue(
True,
"ok")
38 if __name__ ==
'__main__':
39 rostest.run(PKG, NAME, TestHrpsysConfigurator, sys.argv)
def init(self, robotname="SampleRobot(Robot)0", url="")