报错:ERROR: cannot launch node of type [teleop_twist_keyboard/teleop_twist_keyboard.py]: teleop_twist_

详细报错信息

ERROR: cannot launch node of type [teleop_twist_keyboard/teleop_twist_keyboard.py]: teleop_twist_keyboard
ROS path [0]=/opt/ros/melodic/share/ros
ROS path [1]=/home/user/ABC_swarm/src
ROS path [2]=/home/user/catkin_test/src
ROS path [3]=/home/user/catkin_ws/src
ROS path [4]=/opt/ros/melodic/share

这个报错是在跑天之波特ABC_swarm项目时报的错
github源码:
https://github.com/tianbot/tianbot_mini
https://github.com/tianbot/abc_swarm

执行demo_sim_tf.launch后想要键盘控制移动报了上面的错,命令如下:

roslaunch tianbot_mini teleop.launch

解决办法:

sudo apt-get install ros-melodic-teleop-twist-keyboard

你可能感兴趣的:(ROS,ROS)