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

roscore does not work with diamondback on karmic

asked 2011-08-18 09:36:34 -0500

Qiang gravatar image

updated 2014-01-28 17:10:14 -0500

ngrennan gravatar image

I have installed ros in ubuntu 9.10- the Karmic Koala. I can not use Ubuntu install of Diamondback because of the low version of my Operation System. So I check out the source code. I learn from the beginner tutorial. But When I test to run roscore. It does not work well. the error is listed;

Traceback (most recent call last):

  File "/home/qli/ros/ros/bin/roscore", line 34, in <module>
    from ros import roslaunch
  File "/home/qli/ros/ros/core/roslib/src/ros/__init__.py", line 57, in __getattr__
    return __import__(name)
  File "/home/qli/ros/ros_comm/tools/roslaunch/src/roslaunch/__init__.py", line 53, in <module>
    from roslaunch.scriptapi import ROSLaunch
  File "/home/qli/ros/ros_comm/tools/roslaunch/src/roslaunch/scriptapi.py", line 42, in <module>
    import roslaunch.parent
  File "/home/qli/ros/ros_comm/tools/roslaunch/src/roslaunch/parent.py", line 55, in <module>
    import roslaunch.server
  File "/home/qli/ros/ros_comm/tools/roslaunch/src/roslaunch/server.py", line 70, in <module>
    from rosgraph_msgs.msg import Log
ImportError: No module named rosgraph_msgs.msg

I use the roswtf to check. It said that: ERROR: The ROS communication libraries have not been built. To fix: rosmake ros_comm

When I build the ros_comm, the error is listed as follows.

  Linking CXX executable ../examples/example
  /home/qli/ros/ros_comm/utilities/rostime/lib/librostime.so: undefined reference to `boost::thread_resource_error::thread_resource_error()'
  collect2: ld returned 1 exit status
  make[3]: *** [../examples/example] Error 1
  make[3]: Leaving directory `/home/qli/ros/ros_comm/tools/rosconsole/build'
  make[2]: *** [CMakeFiles/example.dir/all] Error 2
  make[2]: Leaving directory `/home/qli/ros/ros_comm/tools/rosconsole/build'
  make[1]: *** [all] Error 2
  make[1]: Leaving directory `/home/qli/ros/ros_comm/tools/rosconsole/build'

I am a beginner of ros, so any comments and advice are welcome.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2011-08-18 19:47:20 -0500

tfoote gravatar image

If you are running Karmic you should run a supported version of ROS unless you have a very good reason. REP 3 outlines the supported platforms and as you mentioned diamondback is not supported on Karmic. This will mean that you will have many problems in terms of system dependencies and compatibility it obviously does not compile from your attempt. And it is not expected to compile. Especially if you're a beginner, I would suggest not trying to do unsupported things.

You have two options:

Either upgrade your OS to one on which diamondback is supported. Or switch to use cturtle.

edit flag offensive delete link more
0

answered 2011-08-27 08:08:35 -0500

Qiang gravatar image

Yes, I follows your advice one and update my ubuntu version. Now it works. thanks

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-08-18 09:36:34 -0500

Seen: 522 times

Last updated: Aug 27 '11