Skip to content

Commit

Permalink
Fixed URDF Fragment example function arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
IanTheEngineer committed Dec 21, 2015
1 parent cbc1b77 commit ae898a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/send_urdf_fragment.py
Expand Up @@ -88,11 +88,11 @@ def main():
help='Path to URDF file to send'
)
required.add_argument(
'-l', '--link', required=False, default="left_hand"
'-l', '--link', required=False, default="left_hand",
help='URDF Link already to attach fragment to (usually <left/right>_hand)'
)
required.add_argument(
'-j', '--joint', required=False, defult"left_gripper_base"
'-j', '--joint', required=False, default="left_gripper_base",
help='Root joint for fragment (usually <left/right>_gripper_base)'
)
args = parser.parse_args(rospy.myargv()[1:])
Expand All @@ -102,7 +102,7 @@ def main():
if not os.access(args.file, os.R_OK):
rospy.logerr("Cannot read file at '%s'" % (args.file,))
return 1
send_urdf(args.joint, args.link, args.file)
send_urdf(args.link, args.joint, args.file)
return 0

if __name__ == '__main__':
Expand Down

0 comments on commit ae898a7

Please sign in to comment.