Error when installing ROS INDIGO on a real NAO V4
Greetings
I am new with ROS and I am experiencing some issues while installing ROS INDIGO on my (real) NAO V4 Robot. I followed the guide, where during the installation on my virtual box I found out that the Cholmod library could not be found and rosdep install --from-path src -i -y
could not be resolved. Nevertheless, the roscore
can be ran on the virtual nao and on the real nao.
However, when roslaunch nao_bringup nao_full.launch force_python:=true
both on the virtual nao and the real nao, the naoqi_driver has some issues due to the PYTHONPATH
, below is the log from the real NAO, plz help me!
I've read multiple pre-existing threads about similar issues but could not work something out.
Using ctc-linux64-atomv2.1.2.17 , opennao-vm-2.1.2.17.ova, naoqi-sdk-2.1.2.17-linux64, pynaoqi-python2.7-2.1.2.17-linux64
PYTHONPATH
nao [err 127] ~/ros_install_folder $ echo $PYTHONPATH
/home/nao/ros_install_folder/lib/python2.7/site-packages:/home/nao/my_workspace/install_isolated/lib/python2.7/site-packages
lsb_release -a
LSB Version: n/a
Distributor ID: OpenNao
Description: OpenNao 2.1.2
Release: 2.1.2.17
Codename: Murol
LOG:
roslaunch nao_bringup nao_full.launch force_python:=true
... logging to /home/nao/.ros/log/01ee629a-3b55-11e5-8662-0013950f34e4/roslaunch-nao-4714.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://169.254.113.113:39793/
SUMMARY
========
PARAMETERS
* /pose_manager/poses/init/joint_names: ['Body']
* /pose_manager/poses/init/positions: [0.0, 0.0, 1.39, ...
* /pose_manager/poses/init/time_from_start: 1.5
* /pose_manager/poses/zero/joint_names: ['Body']
* /pose_manager/poses/zero/positions: [0.0, 0.0, 0.0, 0...
* /pose_manager/poses/zero/time_from_start: 1.5
* /pose_manager/xap: /home/nao/ros_ins...
* /rosdistro: indigo
* /rosversion: 1.11.13
NODES
/
naoqi_driver (naoqi_driver/alrosbridge_bin)
pose_controller (naoqi_pose/pose_controller.py)
pose_manager (naoqi_pose/pose_manager.py)
auto-starting new master
process[master]: started with pid [4727]
ROS_MASTER_URI=http://169.254.113.113:11311
setting /run_id to 01ee629a-3b55-11e5-8662-0013950f34e4
process[rosout-1]: started with pid [4740]
started core service [/rosout]
process[naoqi_driver-2]: started with pid [4743]
process[pose_controller-3]: started with pid [4744]
process[pose_manager-4]: started with pid [4745]
going to add: /home/nao/ros_install_folder
[W] 4743 qi.path.sdklayout: No Application was created, trying to deduce paths
going to add: /home/nao/my_workspace/install_isolated
[W] 4743 qimessaging.remoteobject: Return signature might be incorrect depending on the value, from m to s
set prefix successfully to nao_robot
[I] 4743 qimessaging.session: Session listener created on tcp://0.0.0.0:0
[I] 4743 qimessaging.transportserver: TransportServer will listen on: tcp://169.254.113.113:41640
[I] 4743 qimessaging.transportserver: TransportServer will listen on: tcp://127.0.0.1:41640
[I] 4743 qimessaging.transportserver: TransportServer will listen on: tcp://139.91.61.221:41640
using ip address: 127.0.0.1 @ eth0
found a catkin prefix /home/nao/ros_install_folder/share/naoqi_driver/share/boot_config.json
load boot config from /home/nao/ros_install_folder/share/naoqi_driver/share/boot_config.json
[W] 4743 qimessaging.remoteobject: Return signature might be incorrect depending on the value, from m to s
[W] 4743 qimessaging.remoteobject: Return signature might be incorrect depending on the value, from m to s
[W] 4743 qimessaging.remoteobject: Return signature might be incorrect depending on the value, from m to s
Traceback (most recent call last):
File "/home/nao/ros_install_folder/lib/naoqi_pose/pose_controller.py", line 49, in <module>
from naoqi_driver.naoqi_node import NaoqiNode
File "/home/nao/ros_install_folder/lib/python2.7/site-packages/naoqi_driver/__init__.py", line 29, in <module>
from .naoqi_node import *
File "/home/nao/ros_install_folder/lib/python2.7/site-packages/naoqi_driver/naoqi_node.py", line 37, in <module>
**raise RuntimeError("Error importing NaoQI. Please make sure that Aldebaran's NaoQI API is in your PYTHONPATH.")
RuntimeError: Error importing NaoQI. Please make sure that Aldebaran's NaoQI API is in your PYTHONPATH.**
[W] 4743 qimessaging.remoteobject: Return signature might be incorrect depending on the value, from m to s
[W] 4743 qimessaging.remoteobject: Return signature might be incorrect depending on the value, from m to s
[pose_controller-3] process has died [pid 4744, exit code 1, cmd /home/nao/ros_install_folder/lib/naoqi_pose/pose_controller.py --pip=127.0.0.1 --pport=9559 __name:=pose_controller __log:=/home/nao/.ros/log/01ee629a-3b55-11e5-8662-0013950f34e4/pose_controller-3.log].
log file: /home/nao/.ros/log/01ee629a-3b55-11e5-8662-0013950f34e4/pose_controller-3*.log
[W] 4743 qimessaging.remoteobject: Return signature might be incorrect depending on the value, from m to s
found a catkin URDF /home/nao/ros_install_folder/share/naoqi_driver/share/urdf/nao.urdf
[W] 4743 qimessaging.remoteobject: Return signature might be incorrect depending on the value, from m to s
[W] 4743 qimessaging.remoteobject: Return signature might be incorrect depending on the value, from m to s
Audio Extractor: Start
[W] 4743 qimessaging.remoteobject: Return signature might be incorrect depending on the value, from m to s
registered subscriber: teleop
[W] 4743 qimessaging.remoteobject: Return signature might be incorrect depending on the value, from m to s
registered subscriber: moveto
nodehandle reset
using master ip: http://127.0.0.1:11311
NOT going to re-register the converters
camera/bottom/image_raw is resetting
camera/bottom/image_raw reset
/diagnostics_agg is resetting
/diagnostics_agg reset
camera/front/image_raw is resetting
camera/front/image_raw reset
imu/torso is resetting
imu/torso reset
info is resetting
[ERROR] [1438767214.435765398]: [setParam] Failed to contact master at [127.0.0.1:11311]. Retrying...
[FATAL] [WallTime: 1438767214.438306] Could not connect to required "joint_trajectory" action server, is the nao_controller node running?
[ INFO] [1438767214.675787468]: Connected to master at [127.0.0.1:11311]
load robot description from file
info reset
/joint_states is resetting
/joint_states reset
/rosout is resetting
/rosout reset
sonar is resetting
sonar reset
resetting subscriber teleop
teleop is resetting
teleop reset
resetting subscriber moveto
moveto is resetting
moveto reset
[pose_manager-4] process has finished cleanly
log file: /home/nao/.ros/log/01ee629a-3b55-11e5-8662-0013950f34e4/pose_manager-4*.log
[ERROR] [1438767215.478744306]: Do not calculate NAO Footprint, no transform possible 1438767215.275427362
ROS topics are running
~/ros_install_folder $ rostopic list
/cmd_vel
/diagnostics_agg
/joint_states
/move_base_simple/goal
/nao_robot/audio
/nao_robot/camera/bottom/camera_info
/nao_robot/camera/bottom/image_raw
/nao_robot/camera/front/camera_info
/nao_robot/camera/front/image_raw
/nao_robot/imu/torso
/nao_robot/info
/nao_robot/sonar/left
/nao_robot/sonar/right
/rosout
/rosout_agg
/tf
but the controller is not.
Thanks in advance!!
Asked by Stelios on 2015-08-05 04:55:45 UTC
Comments
For future questions / updates: please use the Preformatted text button on the formatting toolbar whenever you want to include console copy/pastes in your text. It's the button with
101010
on it. It makes things much easier to read. Thanks.Asked by gvdhoorn on 2015-08-05 05:04:07 UTC