ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Error when trying to rosrun turtlebot_dashboard. Any ideas?

asked 2012-03-27 23:09:05 -0500

unine_ros gravatar image

updated 2012-03-28 08:35:57 -0500

Hello. I'm trying to set up my Turtlebot for the first time. I'm following the tutorial and everything is successful until the following:

turtlebot@turtlebot-laptop:~/ros/turtlebot/turtlebot_bringup/upstart$ rosrun turtlebot_dashboard turtlebot_dashboard&
[2] 19832
turtlebot@turtlebot-laptop:~/ros/turtlebot/turtlebot_bringup/upstart$ [rospack] opendir error [No such file or directory] while crawling /home/turtlebot/ros_workspace
[rospack] opendir error [No such file or directory] while crawling /home/turtlebot/ROS/rosjava
Traceback (most recent call last):
  File "/home/turtlebot/ros/turtlebot_viz/turtlebot_dashboard/scripts/turtlebot_dashboard", line 50, in <module>
    import turtlebot_dashboard
  File "/home/turtlebot/ros/turtlebot_viz/turtlebot_dashboard/src/turtlebot_dashboard/", line 1, in <module>
    from turtlebot_frame import *
  File "/home/turtlebot/ros/turtlebot_viz/turtlebot_dashboard/src/turtlebot_dashboard/", line 40, in <module>
    import rxtools.cppwidgets as rxtools
  File "/home/turtlebot/ros/rx/rxtools/src/rxtools/", line 34, in <module>
    from rxtoolscpp import *
ImportError: No module named rxtoolscpp
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-03-28 00:35:03 -0500

McMurdo gravatar image

updated 2012-03-28 00:50:48 -0500

I think there could be a problem with the way you installed ROS. Did you do a source based installation or apt-get install ros-electric-turtlebot-viz?

Check that $ROS_PACKAGE_PATH is set to /opt/ros/electric/stacks and also to your workspace.

Add the line

export ROS_PACKAGE_PATH=/opt/ros/electric/stacks:(your_path)

to your .bashrc file

replace (your_path) with ~/ros_workspace if your ros_workspace directory is in your home directory.

edit flag offensive delete link more

Question Tools


Asked: 2012-03-27 23:09:05 -0500

Seen: 593 times

Last updated: Mar 28 '12