Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

So I think I may have actually figured something out.

First of all, as is stated here the Getting Started page is pretty outdated. So is apparently the documentation of naoqi_driver. Interesting to note is that the repositories shown at when compiling from source are actually different ones. Where the one given in the sample ( which is outdated. When you follow that link you will see that it is to be deleted. So the binaries are actually pulled from this repository: When you dig a little in the code you will see that quite a lot has changed. So there is no more nao_driver_sim.launch for example but instead only a naoqi_driver.launch.

As mentioned in my comment earlier when using naoqi_driver.launch I would get the following error:

ERROR: cannot launch node of type [naoqi_driver/naoqi_joint_states_cpp]: can't locate node [naoqi_joint_states_cpp] in package [naoqi_driver]

I was able to get around this error by attaching force_python:=true to the whole command:

$ LD_LIBRARY_PATH=~/naoqi/naoqi-sdk-1.14.5-linux64/lib:$LD_LIBRARY_PATH NAO_IP= roslaunch nao_bringup nao_full.launch **force_python:=true**

This here works as well, but you get more nodes running with the previous call:

$ LD_LIBRARY_PATH=~/naoqi/naoqi-sdk-1.14.5-linux64/lib:$LD_LIBRARY_PATH NAO_IP= roslaunch naoqi_driver naoqi_driver.launch force_python:=true

When you call rosnode list you will see the nodes running are different now. BTW, I found the nao_walker under nao_apps. So you would have to call that separately. It would be nice if someone who actually knows what they are doing could document that properly (today was my first day messing around with ROS... with all these issues a pretty steep curve).

One more thing: with my "fix" there seems to be some problems with the ALAudioDevice proxy. It couldn't be created. I wonder if that has to do with the fact that I am running it in simulation rather than on the real robot...

Well I hope that will help you. I am by no means no expert in all things concerning ROS. And maybe someone with ROS experience has some more insight of what is going on.