How can I use nao_camera from nao_driver [closed]
Hi all,
When I run nao_driver, either in a simulator or on a nao robot (from my remote PC), I get this error:
Traceback (most recent call last): File "/home/jonfeme/nao_ws/src/nao_robot/nao_driver/nodes/nao_camera.py", line 156, in <module> naocam = NaoCam() File "/home/jonfeme/nao_ws/src/nao_robot/nao_driver/nodes/nao_camera.py", line 84, in __init__ if not self.cim.setURL( calibration_file ): File "/opt/ros/hydro/lib/python2.7/dist-packages/camera_info_manager/camera_info_manager.py", line 376, in setURL if parseURL(resolveURL(url, self.cname)) >= URL_invalid: File "/opt/ros/hydro/lib/python2.7/dist-packages/camera_info_manager/camera_info_manager.py", line 514, in resolveURL dollar = url.find('$', rest) AttributeError: 'NoneType' object has no attribute 'find' [nao_camera-8] process has died [pid 4000, exit code 1, cmd /home/jonfeme/nao_ws/src/nao_robot/nao_driver/nodes/nao_camera.py --pip=127.0.0.1 --pport=9559 __name:=nao_camera __log:=/home/jonfeme/.ros/log/cf9cdbf2-e55e-11e3-a9ca-000c29578851/nao_camera-8.log]. log file: /home/jonfeme/.ros/log/cf9cdbf2-e55e-11e3-a9ca-000c29578851/nao_camera-8*.log
I cannot use nao_camera. I installed ros-hydro-info-manager-py, but I have still the same problem. The same happens with nao_speech.py.
I have Naoqi version 1.14.5, the other nodes work fine, but camera and speech not.
I will be grateful for any help.
Thank you very much
what do you launch from the command line ? Do you set NAO_IP and roslaunch the nao_camera.launch ?
Yes. I launch NAO_IP=<my ip=""> roslaunch nao_driver nao_driver.launch force_python:=true I also included the nao_camera node in the nao_driver.launch All nodes are available, excepting nao_camera, nao_speech and nao_tactile. Thank you
Please update to the latest code that should have handled those issues.