Installing ROS on a remote PC to control Nao
Hi, I work with ROs groovy and download the Python SDK 2.7 1.14.5 Linux 64 bits I try to connect with a nao robot, but i fail. Maybe someone can help me. First i adding the following lines to my .bashrc:
export NAOQIPATH=/home/user/workspace/ros/groovy/src/naoqi/pynaoqi-python-2.7-naoqi-1.14-linux64 export PYTHONPATH="$PYTHONPATH:$NAOQIPATH/pynaoqi"
After that i download naorobot and humanmsgs with: $ wstool set humanoidmsgs --git ... $ wstool set naorobot --git ... $ wstool update
I source the setup.bash: compile by running my workspace: $ catkin_make
$ rosws set naoextras --git .. $ rosws update naoextras $ source setup.bash compile with $ rosmake nao_extras
and then i try to connect to nao with
$ roslaunch naobringup naosim.launch
I get this error:
process[robotstatepublisher-1]: started with pid [5639] ERROR: cannot launch node of type [naodescription/basefootprint]: can't locate node [basefootprint] in package [naodescription] process[naosensors-3]: started with pid [5656] No handlers could be found for logger "rosout" ================================================================================REQUIRED process [naosensors-3] has died! process has died [pid 5656, exit code 1, cmd /home/ngadhenjim/workspace/ros/groovy/src/naorobot/naodriver/nodes/naosensors.py --pip=127.0.0.1 --pport=9559 _name:=naosensors _log:=/home/ngadhenjim/.ros/log/40971a4c-9fc9-11e3-8a7d-00270e018e6e/naosensors-3.log]. log file: /home/ngadhenjim/.ros/log/40971a4c-9fc9-11e3-8a7d-00270e018e6e/naosensors-3*.log
Initiating shutdown!
[naosensors-3] killing on exit [robotstatepublisher-1] killing on exit cannot add process [naowalker-4] after process monitor has been shut down
If I try to connect with naodriver
$ NAOIP=Ipofnao roslaunch naodriver naodriver.launch forcepython:=true
I get this error:
core service [/rosout] found process[naosensors-1]: started with pid [5711] No handlers could be found for logger "rosout" ================================================================================REQUIRED process [naosensors-1] has died! process has died [pid 5711, exit code 1, cmd /home/ngadhenjim/workspace/ros/groovy/src/naorobot/naodriver/nodes/naosensors.py --pip=192.168.12.10 --pport=9559 _name:=naosensors _log:=/home/ngadhenjim/.ros/log/40971a4c-9fc9-11e3-8a7d-00270e018e6e/naosensors-1.log]. log file: /home/ngadhenjim/.ros/log/40971a4c-9fc9-11e3-8a7d-00270e018e6e/naosensors-1*.log
Initiating shutdown!
[naosensors-1] killing on exit cannot add process [naowalker-2] after process monitor has been shut down
After catkin_make I get this error:
-- naomsgs: 48 messages, 5 services -- +++ processing catkin package: 'naodriver' -- ==> addsubdirectory(naorobot/naodriver) -- Could not find NAOqi's alcommon -- Could not find NAOqi's alvision -- Could not find NAOqi's alproxies -- Could not find NAOqi's alerror -- Could not find NAOqi's alvalue -- Cannot find NAOqi C++ sdk; C++ nodes will NOT be built -- +++ processing catkin package: 'naopathfollower' -- ==> addsubdirectory(naoextras/naopathfollower) CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:72 (findpackage): Could not find a configuration file for package movebasemsgs.
Set movebasemsgsDIR to the directory containing a CMake configuration file for movebase_msgs. The file will have one of the following names:
move_base_msgsConfig.cmake
move_base_msgs-config.cmake
Call Stack (most recent call first): naoextras/naopathfollower/CMakeLists.txt:19 (findpackage)
-- +++ processing catkin package: 'naopose' -- ==> addsubdirectory(naorobot/naopose) -- +++ processing catkin metapackage: 'naorobot' -- ==> addsubdirectory(naorobot/naorobot) -- +++ processing catkin package: 'naoteleop' -- ==> addsubdirectory(naoextras/naoteleop) -- Configuring incomplete, errors occurred! make: *** [cmakecheckbuildsystem] Fehler 1 Invoking "make cmakecheckbuildsystem" failed
Asked by Dante on 2014-02-27 05:49:24 UTC
Answers
There is an error:
ERROR: cannot launch node of type [nao_description/base_footprint]: can't locate node [base_footprint] in package [nao_description]
Please ensure that the compilation of nao_description
succeeded, were there any errors after you ran catkin_make
in your catkin workspace? Verify that the nodes are actually built in nao_description
and that they can be found in your path.
Asked by AHornung on 2014-02-27 22:28:02 UTC
Comments