ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How create a NAO Virtual?

asked 2014-09-03 18:45:48 -0500

updated 2014-09-03 18:46:58 -0500

How create a Virtual NAO?

I'm interested in simulate to NAO, but get erros.

Install

http://wiki.ros.org/nao/Installation/remote

sudo apt-get install ros-hydro-nao-robot

When use

roslaunch nao_bringup nao_sim.launch

Get this in the end:

ResourceNotFound: xacro
ROS path [0]=/opt/ros/hydro/share/ros
ROS path [1]=/home/vincent/NAO/nao_robot-devel
ROS path [2]=/home/vincent/NAO/nao_robot
ROS path [3]=/home/vincent/NAO/nao_gazebo_lastes
ROS path [4]=/home/vincent/NAO/nao_gazebo_plugin
ROS path [5]=/home/vincent/NAO/nao_extras
ROS path [6]=/home/vincent/NAO/nao_description
ROS path [7]=/home/vincent/NAO/nao_common
ROS path [8]=/home/vincent/NAO/humanoid_msgs
ROS path [9]=/opt/ros/hydro/share
ROS path [10]=/opt/ros/hydro/stacks

When continue with another tutorial:

http://wiki.ros.org/nao/Installation/compileFromVirtualNao

Using

sudo bash -c 'echo app-portage/gentoolkit >> /etc/portage/package.keywords'
sudo bash -c 'echo dev-python/setuptools >> /etc/portage/package.keywords'

Get a similar error: bash: /etc/portage/package.keywords: No existe el archivo o el directorio

A lot of thanks!!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-09-15 04:31:50 -0500

marguedas gravatar image

Hi,

Running nodes from a remote computer is different than compile from a virtual nao. To start I would suggest that you try to run your nodes remotely to get used to ROS and nao before doing more com)licated stuff.

the following ERROR: ResourceNotFound: xacro Means that your computer cannot find the ros package xacro : (rospack find xacro) this package should be in the following directory : /opt/ros/hydro/share/xacro. If cou cannot find it : install it using sudo apt-get install ros-hydro-xacro

Compile from a Virtual nao is something totally different. Alderbaran provides a virtual machine that virtualize nao's hardware and OS. This way you can compile nodes to run directly on your nao and not on your computer. On the gentoo virtual machine there is a folder /etc/portage. That kind of folder doesn't exist on a standard ubuntu desktop like the one your using. That's why it says that /etc/portage cannot be found.

Hope this helps,

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-09-03 18:45:48 -0500

Seen: 348 times

Last updated: Sep 15 '14