Ask Your Question

How start the nao_camera node?

asked 2014-03-26 00:18:50 -0500

PabloM gravatar image

updated 2016-10-24 08:59:46 -0500

ngrennan gravatar image

$ I am able to use the Python Nodes with the robot NAO using:

$ export PYTHONPATH="$PYTHONPATH:$HOME/path/to/pynaoqi/"


$ roslaunch nao_driver nao_driver.launch force_python:=true nao_ip:=

if I want to check which nodes are running:

$ rosnode list

and I obtained the next list:


How can I start or launch the nao_camera, because I going to need the image since i work in Computer Vision? I tried with:

$ roslaunch nao_driver nao_camera.launch nao_ip:=

but I got the next error: (copy-paste of the terminal)

pablo@pabloNao:~$ roslaunch nao_driver nao_camera.launch force_python:=true nao_ip:= ... logging to /home/pablo/.ros/log/1340b312-b510-11e3-9391-24b6fd11a455/roslaunch-pabloNao-6138.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://pabloNao:33756/


PARAMETERS * /nao_camera/calibration_file_bottom * /nao_camera/calibration_file_top * /nao_camera/color_space * /nao_camera/fps * /nao_camera/resolution * /rosdistro * /rosversion

NODES / nao_camera (nao_driver/


core service [/rosout] found process[nao_camera-1]: started with pid [6156] Traceback (most recent call last): File "/opt/ros/hydro/lib/nao_driver/", line 38, in <module> import camera_info_manager ImportError: No module named camera_info_manager ================================================================================REQUIRED process [nao_camera-1] has died! process has died [pid 6156, exit code 1, cmd /opt/ros/hydro/lib/nao_driver/ --pip= --pport=9559 __name:=nao_camera __log:=/home/pablo/.ros/log/1340b312-b510-11e3-9391-24b6fd11a455/nao_camera-1.log]. log file: /home/pablo/.ros/log/1340b312-b510-11e3-9391-24b6fd11a455/nao_camera-1*.log

Initiating shutdown!

[nao_camera-1] killing on exit shutting down processing monitor... ... shutting down processing monitor complete done pablo@pabloNao:~$

I will really appreciate any advise, thank you!

edit retag flag offensive close merge delete


Well, what's the error?

AHornung gravatar image AHornung  ( 2014-03-26 00:36:10 -0500 )edit

"No module named camera_info_manager". Is it correct the way I'm launching the nao_camera node? or I need to past some extra parameters?

PabloM gravatar image PabloM  ( 2014-03-26 01:16:30 -0500 )edit

Install the camera_info_manager_py package, e.g. "sudo apt-get install ros-hydro-camera-info-manager-py" for ROS Hydro. Did you manually check out the Nao packages or used the released pre-compiled versions (which should already install the dependency)?

AHornung gravatar image AHornung  ( 2014-03-26 02:04:22 -0500 )edit

I'm using the pre-compiled packages (sudo apt-get install ros-hydro-nao-robot) and not was installed the "camera-info-manager-py just the "camera-info-manager". And now with the image_view I can watch the retrieved image. Thank you so much Armin!

PabloM gravatar image PabloM  ( 2014-03-26 05:50:13 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-03-27 00:02:48 -0500

AHornung gravatar image

To summarize the answer from the comments (in case someone runs into the same problem): The Python camera driver node in nao_driver requires the package camera_info_manager_py. You can install it in ROS hydro with sudo apt-get install ros-hydro-camera-info-manager-py

The dependency was missing in the package.xml, I'll fix that for the next release.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-03-26 00:18:50 -0500

Seen: 563 times

Last updated: Mar 27 '14