Ask Your Question
0

Installing ROS Indigo on NAO: problem with yaml

asked 2014-11-06 09:10:23 -0600

Schwartzmuller gravatar image

Hello

I'm trying to install ROS Indigo on a NAO V4 with OpenNao 1.14.5.

Following the tutorial "Installation of ROS on the Nao robot " ( http://wiki.ros.org/nao/Installation/... ) I had an issue starting ROS on NAO:

roslaunch nao_bringup nao.launch gives me the following output:

Traceback (most recent call last):
  File "/opt/openrobots/bin/roslaunch", line 34, in <module>
    import roslaunch
  File "/var/persistent/opt/openrobots/lib/python2.7/site-packages/roslaunch/__init__.py", line 51, in <module>
    from . import param_dump as roslaunch_param_dump
  File "/var/persistent/opt/openrobots/lib/python2.7/site-packages/roslaunch/param_dump.py", line 40, in <module>
    import roslaunch.config
  File "/var/persistent/opt/openrobots/lib/python2.7/site-packages/roslaunch/config.py", line 45, in <module>
    import rospkg.distro
  File "/var/persistent/opt/openrobots/lib/python2.7/site-packages/rospkg/distro.py", line 44, in <module>
    import yaml
ImportError: No module named yaml

I tried to re-install yaml (sudo emerge pyyaml) and got this error as a result:

ERROR: app-admin/eselect-python-20100321 failed (setup phase):
 *   GCC >=3.4 is required
 * 
 * Call stack:
 *     ebuild.sh, line  75:  Called pkg_setup
 *   environment, line 636:  Called die
 * The specific snippet of code:
 *           die "GCC >=3.4 is required";

Therefore has anyone an idea of how to correctly install pyyaml on NAO?

Thank You very much :)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-12-04 04:14:21 -0600

marguedas gravatar image

Hi,

I don't know if you fixed your problem yet but to install pyyaml on your virtual nao you need to use sudo easy_install pyyaml

If you want a complete tutorial to setup ROS on your NAO is available here : http://wiki.ros.org/nao/Installation/... I didn't validated it on 1.14 because I'm using ROS Indigo which is not compatible with NAOqi < 2.0. But this should work.

Hope this helps,

Mikael

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

Stats

Asked: 2014-11-06 09:10:23 -0600

Seen: 269 times

Last updated: Dec 04 '14