You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hironx_ros_bridge/scripts/hironx.py
+2-10Lines changed: 2 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -56,23 +56,15 @@
56
56
' this script, but can use RTM. To use ROS, do not forget' \
57
57
' to run rosbridge. How to do so? --> http://wiki.ros.org/rtmros_nextage/Tutorials/Operating%20Hiro%2C%20NEXTAGE%20OPEN'
58
58
59
-
RTC_LIST= [
60
-
['seq', "SequencePlayer"],
61
-
['sh', "StateHolder"],
62
-
['fk', "ForwardKinematics"],
63
-
['ic', "ImpedanceController"],
64
-
['el', "SoftErrorLimiter"],
65
-
# ['co', "CollisionDetector"],
66
-
['sc', "ServoController"],
67
-
['log', "DataLogger"],]
59
+
RTC_LIST='seq, sh, fk, ic, el, sc, log'
68
60
69
61
if__name__=='__main__':
70
62
parser=argparse.ArgumentParser(description='hiro command line interpreters')
71
63
parser.add_argument('--host', help='corba name server hostname')
72
64
parser.add_argument('--port', help='corba name server port number')
73
65
parser.add_argument('--modelfile', help='robot model file nmae')
74
66
parser.add_argument('--robot', help='robot modlule name (RobotHardware0 for real robot, Robot()')
75
-
parser.add_argument('--rtcs', help='RT components to activate. If nothing passed then default value will be used.')
67
+
parser.add_argument('--rtcs', help="RT components to activate. If nothing passed then default value will be used. Example: ['seq', 'sh', 'fk', 'ic', 'el', 'sc', 'log']")
76
68
args, unknown=parser.parse_known_args()
77
69
unknown= [uforuinunknownifu[:2] !='__'] # filter out ros arguments
0 commit comments