Robotics StackExchange | Archived questions

[rospack] Error: package 'script' not found

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-ZqNcM&t=102s

Asked by hassanyf on 2017-12-23 05:09:30 UTC

Comments

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?

Asked by clyde on 2017-12-23 13:29:57 UTC

Answers