[rospack] Error: package 'script' not found

asked 2017-12-23 04:09:30 -0500

hassanyf gravatar image

I am trying to run rosrun script forward.py but it gives me an error saying [rospack] Error: package 'script' not found

In my bashrc I've added these lines:

source /opt/ros/indigo/setup.bash
source /home/hassan/catkin_ws/devel/setup.bash
export ROS_PACKAGE_PATH=/home/home/catkin_ws:/opt/ros/indigo/share:/opt/ros/indigo/stacks
export ROS_WORKSPACE=/home/hassan/catkin_ws

What could be the reason? I am following this video: https://www.youtube.com/watch?v=zwTnY...

edit retag flag offensive close merge delete

Comments

2

This command says: run the "forward.py" node from the "script" package. I don't know of a ROS package named "script" (not a good package name, imho). What packages did you install and/or download into catkin_ws/src?

clyde gravatar image clyde  ( 2017-12-23 12:29:57 -0500 )edit