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

ROS doesn´t run into NAO robot.

asked 2012-09-10 14:06:32 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi, I am using the newer Nao. I have installed ROS electric (desktop) over ubuntu 10.04 with the atom toolchain 1.12.5. Today it compiles onto the pc. Buuut, ROS still doesnt run over the NAO. I have copied all the ros files from pc to nao via ssh. I obtain that:

nao [0] ~/ros $ ls
electric  setup.sh

nao [0] ~/ros $ /home/nao/ros/setup.sh
-bash: /home/nao/ros/setup.sh: Permission denied

nao [err 126] ~/ros $ source /home/nao/ros/electric/setup.bash
Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
ImportError: No module named yaml
rospack could not be found, you cannot have rosbash features until you bootstrap ros

nao [0] ~/ros $ roscd
-bash: roscd: command not found

nao [err 127] ~/ros $

Thanks.

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted
1

answered 2012-09-12 08:00:39 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Solved.

echo "export LD_LIBRARY_PATH=$TARGETDIR/libs:\$LD_LIBRARY_PATH" >> $TARGETDIR/ros/setup.sh
echo "export PYTHONPATH=\$PYTHONPATH:$TARGETDIR/python" >> $TARGETDIR/ros/setup.sh
echo "source $TARGETDIR/ros/electric/setup.bash" >> $TARGETDIR/ros/setup.sh

Append at the top of file $TARGETDIR/ros/setup.sh

#!/bin/sh

In a NAOś bash, run setup.sh

$TARGETDIR/ros
. ./setup.sh
edit flag offensive delete link more
2

answered 2012-09-10 23:56:14 -0600

Lorenz gravatar image

Apparently, you are missing pyyaml. Install it and the error should disappear.

edit flag offensive delete link more
-1

answered 2013-11-01 21:56:22 -0600

doudoushuixiu gravatar image

hi,i'm trying to install the ros in the nao ,but i have some problems about it. i can't install the stack(vol 0.2) for nao in the ros (pc),if you know how to use it,connect me thanks

edit flag offensive delete link more

Comments

sorry,i know....

doudoushuixiu gravatar image doudoushuixiu  ( 2013-11-03 01:15:48 -0600 )edit

Please don't post an "answer" that only contains a comment or further question.

AHornung gravatar image AHornung  ( 2013-11-03 01:18:58 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2012-09-10 14:06:32 -0600

Seen: 578 times

Last updated: Nov 01 '13