nao_bringup fails to launch on ROS Kinetic
https://github.com/ros-naoqi/nao_robot/issues/33
When trying roslaunch nao_bringup nao_full.launch
, the second part of the launch file which should start pose_controller
and pose_manager
fails.
I have all the standard nao packages for kinetic installed, I have the correct python NaoQI sdk extracted and in the PYTHONPATH
.
$ echo $PYTHONPATH
/home/tgiles/Desktop/CPSC495/devel/lib/python2.7/dist-packages:/opt/ros/kinetic/lib/python2.7/dist-packages::/home/tgiles/pynaoqi-python2.7-2.1.4.13-linux64
When attempting to launch the pose_manager by itself:
roslaunch naoqi_pose pose_manager.launch
... logging to /home/tgiles/.ros/log/a7f89d3a-f301-11e6-8a39-64006a8872e3/roslaunch-dconner-5815.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://dconner:40946/
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: /opt/ros/kinetic/...
/rosdistro: kinetic
/rosversion: 1.12.6
NODES
/
pose_controller (naoqi_pose/pose_controller.py)
pose_manager (naoqi_pose/pose_manager.py)
ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
process[pose_controller-1]: started with pid [5835]
process[pose_manager-2]: started with pid [5836]
Traceback (most recent call last):
File "/opt/ros/kinetic/lib/naoqi_pose/pose_controller.py", line 49, in
from naoqi_driver.naoqi_node import NaoqiNode
File "/opt/ros/kinetic/lib/python2.7/dist-packages/naoqi_driver/init.py", line 29, in
from .naoqi_node import *
File "/opt/ros/kinetic/lib/python2.7/dist-packages/naoqi_driver/naoqi_node.py", line 37, in
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.
[pose_controller-1] process has died [pid 5835, exit code 1, cmd /opt/ros/kinetic/lib/naoqi_pose/pose_controller.py --pip=192.168.10.134 --pport=9559 __name:=pose_controller __log:=/home/tgiles/.ros/log/a7f89d3a-f301-11e6-8a39-64006a8872e3/pose_controller-1.log].
log file: /home/tgiles/.ros/log/a7f89d3a-f301-11e6-8a39-64006a8872e3/pose_controller-1*.log
[FATAL] [1487109991.554017]: Could not connect to required "joint_trajectory" action server, is the nao_controller node running?
[pose_manager-2] process has finished cleanly
log file: /home/tgiles/.ros/log/a7f89d3a-f301-11e6-8a39-64006a8872e3/pose_manager-2*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done
I can find the script for pose_controller.py
script in /opt/ros
, but I can't seem to find the missing open source for naoqi_pose
(since it looks like it was not maintained past jade), any advice?
Asked by timGilesjr on 2017-02-14 18:13:29 UTC
Comments
Cross-posting like this (to the tracker and this forum) is not nice. It leads to disjoint discussions and duplication of effort. +1 for including the link to the issue, but -1 for cross-posting in the first place.
Asked by gvdhoorn on 2017-02-15 02:18:29 UTC
Thank you for the formatting changes and future advice. It seems like a bug, but I was hoping someone has figured a workaround (hence the cross-posting).
Asked by timGilesjr on 2017-02-15 11:39:05 UTC