Fix argument passing

Fix argument passing for generating launch and euslisp files for closed robots.