Skip to content

Commit ae898a7

Browse files
Fixed URDF Fragment example function arguments
1 parent cbc1b77 commit ae898a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/send_urdf_fragment.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,11 @@ def main():
8888
help='Path to URDF file to send'
8989
)
9090
required.add_argument(
91-
'-l', '--link', required=False, default="left_hand"
91+
'-l', '--link', required=False, default="left_hand",
9292
help='URDF Link already to attach fragment to (usually <left/right>_hand)'
9393
)
9494
required.add_argument(
95-
'-j', '--joint', required=False, defult"left_gripper_base"
95+
'-j', '--joint', required=False, default="left_gripper_base",
9696
help='Root joint for fragment (usually <left/right>_gripper_base)'
9797
)
9898
args = parser.parse_args(rospy.myargv()[1:])
@@ -102,7 +102,7 @@ def main():
102102
if not os.access(args.file, os.R_OK):
103103
rospy.logerr("Cannot read file at '%s'" % (args.file,))
104104
return 1
105-
send_urdf(args.joint, args.link, args.file)
105+
send_urdf(args.link, args.joint, args.file)
106106
return 0
107107

108108
if __name__ == '__main__':

0 commit comments

Comments
 (0)