Ask Your Question
0

Error: stack/package nxt_python not found

asked 2012-09-20 18:37:35 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I have just installed Ubuntu 11.10, and installed ROS. Then I tried to setup ros_nxt http://www.ros.org/wiki/Robots/NXT/electric

To verify the setup, I run nxt_python, but got the following error.

$ rosrun nxt_python touch_sensor_test.py 
[rospack] Error: stack/package nxt_python not found

I tried roscd and got the same error, but rosls works

$ rosls nxt_python
Desktop    Downloads         Music     Public     Videos
Documents  examples.desktop  Pictures  Templates
$ roscd nxt_python
roscd: No such package/stack 'nxt_python'

any suggestion to debugging this problem?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-09-24 16:53:15 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

It sounds like you don't have your ROS_PACKAGE_PATH environment variable set up correctly.

Take a look at http://www.ros.org/wiki/ROS/Tutorials/InstallingandConfiguringROSEnvironment and http://www.ros.org/wiki/ROS/EnvironmentVariables#ROS_PACKAGE_PATH

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-09-20 18:37:35 -0500

Seen: 2,185 times

Last updated: Sep 24 '12