Ask Your Question
0

Is teleop_twist_keyboard launchable in ROS2?

asked 2019-11-18 11:50:27 -0500

relffok gravatar image

Hi, fairly new to ROS2 I am currently trying to work with launch files. I was trying to simply launch the teleop_twist_keyboard but it would't work.

    launch_ros.actions.Node(
        package="teleop_twist_keyboard",
        node_executable="teleop_twist_keyboard",
        output='screen',
        node_name='teleop')

I don't get an error message, and the topic node connections in rqt look right too. Although I don't the usual console output (telling me which keys I should use). Is this package launchable yet? What can I do?

I am working with dashing. Thanks!

edit retag flag offensive close merge delete

Comments

have you tried running the launch command with the -d option for more debug output?

mlanting gravatar image mlanting  ( 2019-11-27 10:37:44 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-01-16 12:37:33 -0500

relffok gravatar image

Update: After adding the prefix 'xterm -e' to launch in a new terminal everything worked as it should.

launch_ros.actions.Node(
    package='teleop_twist_keyboard',
    node_executable="teleop_twist_keyboard",
    output='screen',
    prefix = 'xterm -e',
    node_name='teleop')
edit flag offensive delete link more

Comments

I feel this has a work around ! Does anyone have an idea on how to do it without xterm -e?

pmuthu2s gravatar image pmuthu2s  ( 2021-02-10 12:47:19 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2019-11-18 11:50:27 -0500

Seen: 148 times

Last updated: Jan 16 '20