rosrun teleop_twist_keyboard teleop_twist_keyboard.py
作者:互联网
[rospack] Error: package ‘teleop_twist_keyboard’ not found
解决方案:
1.cd ~/catkin_ws/src
(如果没有这个目录先在工作目录下创建工作空间:mkdir -p catkin_ws/src
)
2.git clone https://github.com/ros-teleop/teleop_twist_keyboard
(一定要在src目录下)
3.cd ~/catkin_ws
4.catkin_make
5.source ~/catkin_ws/devel/setup.bash
(把这句话填写在 .bashrc 文件里)
6.source ~/.bashrc
标签:src,catkin,teleop,twist,ws,keyboard 来源: https://blog.csdn.net/weixin_54989626/article/details/118860253