Launching nao_driver. Error with nao_msgs [closed]

asked 2012-10-04 12:12:03 -0600

this post is marked as community wiki

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

Hi, I am following (http://www.ros.org/wiki/nao/Tutorials/Getting-Started)

I´ve executed roslaunch nao_driver nao_driver_sim.launch , and error is showed below. And effectively, nao_msgs.msg neither nao_msgs.srv are into nao_robot dir.

Ahh, I compiled ROS fuerte from source with the nao cross-compiler, but I am runing ROS still on my pc.

Thanks

started roslaunch server http://nao-desktop:58058/

SUMMARY
========

PARAMETERS
 * /nao_sensors/use_joint_sensors
 * /rosdistro
 * /rosversion

NODES
  /
    nao_controller (nao_driver/nao_controller.py)
    nao_sensors (nao_driver/nao_sensors.py)
    nao_walker (nao_driver/nao_walker.py)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[nao_walker-1]: started with pid [4231]
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[nao_sensors-2]: started with pid [4232]
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[nao_controller-3]: started with pid [4233]
Traceback (most recent call last):
  File "/home/nao/ros-nao/fuerte_workspace/sandbox/nao_robot/nao_driver/scripts/nao_controller.py", line 46, in <module>
    import nao_msgs.msg
ImportError: No module named nao_msgs.msg
Traceback (most recent call last):
  File "/home/nao/ros-nao/fuerte_workspace/sandbox/nao_robot/nao_driver/scripts/nao_sensors.py", line 46, in <module>
    from nao_msgs.msg import TorsoOdometry, TorsoIMU
ImportError: No module named nao_msgs.msg
Traceback (most recent call last):
  File "/home/nao/ros-nao/fuerte_workspace/sandbox/nao_robot/nao_driver/scripts/nao_walker.py", line 57, in <module>
    from nao_msgs.srv import CmdPoseService, CmdVelService, CmdPoseServiceResponse, CmdVelServiceResponse
ImportError: No module named nao_msgs.srv
================================================================================REQUIRED process [nao_controller-3] has died!
process has died [pid 4233, exit code 1, cmd /home/nao/ros-nao/fuerte_workspace/sandbox/nao_robot/nao_driver/scripts/nao_controller.py --pip=127.0.0.1 --pport=9559 __name:=nao_controller __log:=/home/nao/.ros/log/8ece1132-0e6d-11e2-b30e-001cc0fb5313/nao_controller-3.log].
log file: /home/nao/.ros/log/8ece1132-0e6d-11e2-b30e-001cc0fb5313/nao_controller-3*.log
Initiating shutdown!
================================================================================
[nao_controller-3] killing on exit
[nao_sensors-2] killing on exit
[nao_walker-1] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by 130s
close date 2014-12-24 23:55:01.808943