Robotics StackExchange | Archived questions

Problem with ROS on a remote PC to control Nao

Hello. I have a problem with the part of the installation of ROS on a remote PC to control Nao. When I tried to start all required nodes from the package nao_bringup there is an error that appear all the time.

Follow the instructions 1) I start with the: $ roscore 2) In a new terminal I put: $ ~/naoqi/naoqi-sdk-2.1.0.19-linux64/naoqi 3) In a new terminal I put: $ roslaunch naobringup naosim.launch

And thi is the result:

alxander@Alxander-MacBookAir:~$ roslaunch naobringup naosim.launch ... logging to /home/alxander/.ros/log/20edb00c-74b2-11e4-b708-d0e1409656d2/roslaunch-Alxander-MacBookAir-4808.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.

DEPRECATED IN HYDRO: The tag should be prepended with 'xacro' if that is the intended use of it, such as . Use the following script to fix incorrect xacro includes: sed -i 's/ tag should be prepended with 'xacro' if that is the intended use of it, such as . Use the following script to fix incorrect xacro includes: sed -i 's/<include/<xacro:include/g' find . -iname *.xacro started roslaunch server http://Alxander-MacBookAir:37198/

SUMMARY

PARAMETERS * /naosensors/usejointsensors: False * /posemanager/poses/init/jointnames: ['Body'] * /posemanager/poses/init/positions: [0.0, 0.0, 1.39, ... * /posemanager/poses/init/timefromstart: 1.5 * /posemanager/poses/zero/jointnames: ['Body'] * /posemanager/poses/zero/positions: [0.0, 0.0, 0.0, 0... * /posemanager/poses/zero/timefromstart: 1.5 * /posemanager/xap: /home/alxander/ca... * /robot_description: <?xml version="1.... * /rosdistro: indigo * /rosversion: 1.11.9

NODES / basefootprint (naodescription/basefootprint) naobehaviors (naodriver/naobehaviors.py) naocontroller (naodriver/naocontroller.py) naodiagnosticupdater (naodriver/naodiagnosticupdater.py) naoleds (naodriver/naoleds.py) naologger (naodriver/naologger.py) naosensors (naodriver/naosensors.py) naospeech (naodriver/naospeech.py) naotactile (naodriver/naotactile.py) naowalker (naodriver/naowalker.py) posemanager (naopose/posemanager.py) robotstatepublisher (robotstatepublisher/statepublisher)

ROSMASTERURI=http://localhost:11311

core service [/rosout] found process[robotstatepublisher-1]: started with pid [4829] process[basefootprint-2]: started with pid [4852] process[naosensors-3]: started with pid [4891] process[naowalker-4]: started with pid [4892] process[naocontroller-5]: started with pid [4895] process[naobehaviors-6]: started with pid [4900] process[naodiagnosticupdater-7]: started with pid [4905] process[naoleds-8]: started with pid [4915] process[naologger-9]: started with pid [4944] process[naospeech-10]: started with pid [4984] process[naotactile-11]: started with pid [5033] process[posemanager-12]: started with pid [5086]

Error part:

[ERROR] [WallTime: 1416928588.848401] Could not create Proxy to "ALAudioDevice". Exception message: ALProxy::ALProxy Can't find service: ALAudioDevice [WARN] [WallTime: 1416928588.848875] Proxy to ALAudioDevice not available, using dummy device (normal in simulation; volume controls disabled) /opt/ros/indigo/lib/python2.7/dist-packages/dynamicreconfigure/server.py:71: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queuesize'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information. self.descrtopic = rospy.Publisher('~parameterdescriptions', ConfigDescrMsg, latch=True) /opt/ros/indigo/lib/python2.7/dist-packages/dynamicreconfigure/server.py:74: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queuesize'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information. self.updatetopic = rospy.Publisher('~parameterupdates', ConfigMsg, latch=True)

I hope some can help me please. I tried already almost everything. Thank you.

Asked by Alxander19 on 2014-11-25 10:31:37 UTC

Comments

hey, are you using a real NAO ? you are just launching a local NAOqi right ? there is no audio device locally.

Asked by Vincent Rabaud on 2014-12-04 11:46:34 UTC

I'm launching a local NAOqi, look I make this video so someone could help me. https://www.youtube.com/watch?v=F5AAG4UA31k&feature=youtu.be Thanks!

Asked by Alxander19 on 2014-12-04 12:29:59 UTC

Answers

Hi Alexander,

It seems that ROS cannot create a proxy on this module, one of the reasons might be because the module is not launched. It's a guess but can you try the following: 1) check on your NAO if the audiodevice module is launched by default: run "nano /etc/naoqi/autoload.ini" and check that you have a line with "audiodevice", if not please add it 2) restart naoqi by running : "nao stop" then "nao start".

It's just a side comment but there is a new github organisation for ros packages on aldebaran robot, you can fetch all these on https://github.com/ros-naoqi/. If you have questions or you want to share some development you can subscribe to the SIG ROS Aldebaran : https://groups.google.com/forum/#!forum/ros-sig-aldebaran

Hope this will help you,

Mikael Arguedas

Asked by marguedas on 2014-12-04 04:54:27 UTC

Comments

Like i said in the other group that didn't, there is a video of the steps i followed.

https://www.youtube.com/watch?v=F5AAG...

I hope you could help me. Thanks.

Asked by Alxander19 on 2014-12-22 18:11:31 UTC

Like i said in the other group that didn't, there is a video of the steps i followed.

https://www.youtube.com/watch?v=F5AAG4UA31k&feature=youtu.be

I hope you could help me. Thanks.

Asked by Alxander19 on 2014-12-22 18:11:01 UTC

Comments