How to Add teleop node to another launch ?

asked 2022-04-06 20:47:56 -0600

danekim gravatar image

updated 2022-04-06 20:51:13 -0600

Hi, everyone.

I'm struggling with a issue. It is about adding teleop node in another launch file,

And it doesn't work. I need your help.. plz HELP ME

I use teleop_twist_keyboard pkg(http://wiki.ros.org/teleop_twist_... for teleop,

and i want to add it anotehr launch file.

first, i made launch file like below

<node pkg="evbot_v2" type="joystick_keyboard.py" name="joystick_keyboard" output="screen"/>

And it makes error, and error message is

"termios.error: (25, 'Inappropriate ioctl for device'")

And then, i searched google, and i found answer, in

https://wiki.ros.org/roslaunch/Tutori...

they tell me thay add "launch-prefix" as below.

<node pkg="evbot_v2" type="joystick_keyboard.py" name="joystick_keyboard" output="screen" launch-prefix="xterm -e"/>

**

But it doesn't work too, And Error messeges is


Please make sure that all the executables in this command exist and have executable permission. This is often caused by a bad launch-prefix. The traceback for the exception was written to the log file

And then all process is closed automatically.

My Environment is as below

Linux 18.04 Melodic

What can i do to fix this error!??

edit retag flag offensive close merge delete