Open jimsonbuilder opened 6 years ago
my email:870255589@qq.com, hope someone can show me solution this ros question,thanks a lot.
问题已经解决,是安装功能包时缺少了依赖,所以无法识别py文件是可执行文件,所以安装或者创建功能包时记得给出依赖:catkin_create_pkg pack_name roscpp rospy std_msgs nav_msgs;但是这里我只是下载好解压直接放进目录里面而已,并没有使用git clone。 如果还是不行,到这个网页下载中国大学慕课的ros讲义PDF:https://legacy.gitbook.com/book/sychaichangkun/ros-tutorial-icourse163/details 里面说道使用这个包时要注意安装这个包的依赖。 Linux里的包之间的依赖关系搞不懂。
遇到了同样的问题。因为git-clone网速太慢,还一直失败。直接下载的ZIP解压的。想键盘控制遇到了同样的问题。我来尝试下能不能搞好。
can not rosrun the file robot_keyboard_teleop.py,when i do "rosrun robot_sim_demo robot_keyboard_teleop.py",it show the error info below: Couldn't find executable named robot_keyboard_teleop.py below /home/jimson/catkin_ws/src/ROS-Academy-for-Beginners/robot_sim_demo [rosrun] Found the following, but they're either not files, [rosrun] or not executable: [rosrun] /home/jimson/catkin_ws/src/ROS-Academy-for-Beginners/robot_sim_demo/scripts/robot_keyboard_teleop.py but i have sourced the environment. What should i do?