tum_simulator installation
I'm trying to run the tumsimulator on ROS Fuerte and Ubuntu 12.04. The installation went through without errors, but **roslaunch cvgsimtest 3boxesroom.launch** doesn't seem to work. It opens gazebo and rviz windows with a full scene but with no robot. The error message suggests that numpy is not installed correctly:
oferb@math306-pc:~/fuerte_workspace$ roslaunch cvg_sim_test 3boxes_room.launch
...
Gazebo multi-robot simulator, version 1.0.2
Copyright (C) 2011 Nate Koenig, John Hsu, Andrew Howard, and contributors.
Released under the Apache 2 License.
process[spawn_robot-4]: started with pid [9186]
process[robot_state_publisher-5]: started with pid [9197]
Msg Waiting for master.[ WARN] [1381324480.580594032]: The root link base_link has an inertia specified in the URDF, but KDL does not support a root link with an inertia. As a workaround, you can add an extra dummy link to your URDF.
process[ground_truth_to_tf-6]: started with pid [9221]
[ INFO] [1381324480.611221086]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
Msg Waiting for master
Msg Connected to gazebo master @
process[rviz-7]: started with pid [9258]
Traceback (most recent call last):
File "/opt/ros/fuerte/stacks/ simulator_gazebo/gazebo/scripts/spawn_model", line 19, in <module>
import tf.transformations as tft
File "/opt/ros/fuerte/stacks/geometry/tf/src/tf/__init__.py", line 29, in <module>
from listener import TransformListener, TransformerROS
File "/opt/ros/fuerte/stacks/geometry/tf/src/tf/listener.py", line 34, in <module>
from tf import transformations
File "/opt/ros/fuerte/stacks/geometry/tf/src/tf/transformations.py", line 174, in <module>
*import numpy
File "/usr/share/pyshared/numpy/__init__.py", line 137, in <module>
import add_newdocs
File "/usr/share/pyshared/ numpy/add_newdocs.py", line 9, in <module>
from numpy.lib import add_newdoc
File "/usr/share/pyshared/numpy/lib/__init__.py", line 4, in <module>
from type_check import *
File "/usr/share/pyshared/numpy/lib/type_check.py", line 8, in <module>
import numpy.core.numeric as _nx
File "/usr/share/pyshared/numpy/core/__init__.py", line 5, in <module>
import multiarray
ImportError: No module named multiarray
[spawn_robot-4] process has died [pid 9186, exit code 1, cmd /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/scripts/spawn_model -param robot_description -urdf -z 0.5 -model quadrotor __name:=spawn_robot __log:=/home/oferb/.ros/log/c0a523cc-30e4-11e3-9d88-001cc0b1bdae/spawn_robot-4.log].
log file: /home/oferb/.ros/log/c0a523cc-30e4-11e3-9d88-001cc0b1bdae/spawn_robot-4*.log
....
When I try to import numpy directly from python, I get the same error:
oferb@math306-pc:~$ python
Python 2.7.3 (default, Sep 26 2013, 20:03:06)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/share/pyshared/numpy/__init__.py", line 137, in <module>
import add_newdocs
File "/usr/share/pyshared/numpy/add_newdocs.py", line 9, in <module>
from numpy.lib import add_newdoc
File "/usr/share/pyshared/numpy/lib/__init__.py", line 4, in <module>
from type_check import *
File "/usr/share/pyshared/numpy/lib/type_check.py", line 8, in <module>
import numpy.core.numeric as _nx
File "/usr/share/pyshared/numpy/core/__init__.py", line 5, in <module>
import multiarray
ImportError: No module named multiarray
>>>
I have validated that numpy worked before installing Fuerte and tumsimulator (by uninstalling and then reinstalling Numpy, Fuerte and tumsimulator in that order).
Can anyone suggest what I can try to do?
Asked by oferbtl on 2013-10-09 03:43:01 UTC
Comments