Installing ROS on a remote PC to control Nao [closed]
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 nao_robot and human_msgs with: $ wstool set humanoid_msgs --git ... $ wstool set nao_robot --git ... $ wstool update
I source the setup.bash: compile by running my workspace: $ catkin_make
$ rosws set nao_extras --git .. $ rosws update nao_extras $ source setup.bash compile with $ rosmake nao_extras
and then i try to connect to nao with
$ roslaunch nao_bringup nao_sim.launch
I get this error:
process[robot_state_publisher-1]: started with pid [5639] ERROR: cannot launch node of type [nao_description/base_footprint]: can't locate node [base_footprint] in package [nao_description] process[nao_sensors-3]: started with pid [5656] No handlers could be found for logger "rosout" ================================================================================REQUIRED process [nao_sensors-3] has died! process has died [pid 5656, exit code 1, cmd /home/ngadhenjim/workspace/ros/groovy/src/nao_robot/nao_driver/nodes/nao_sensors.py --pip=127.0.0.1 --pport=9559 __name:=nao_sensors __log:=/home/ngadhenjim/.ros/log/40971a4c-9fc9-11e3-8a7d-00270e018e6e/nao_sensors-3.log]. log file: /home/ngadhenjim/.ros/log/40971a4c-9fc9-11e3-8a7d-00270e018e6e/nao_sensors-3*.log
Initiating shutdown!
[nao_sensors-3] killing on exit [robot_state_publisher-1] killing on exit cannot add process [nao_walker-4] after process monitor has been shut down
If I try to connect with naodriver
$ NAO_IP=Ipofnao roslaunch nao_driver nao_driver.launch force_python:=true
I get this error:
core service [/rosout] found process[nao_sensors-1]: started with pid [5711] No handlers could be found for logger "rosout" ================================================================================REQUIRED process [nao_sensors-1] has died! process has died [pid 5711, exit code 1, cmd /home/ngadhenjim/workspace/ros/groovy/src/nao_robot/nao_driver/nodes/nao_sensors.py --pip=192.168.12.10 --pport=9559 __name:=nao_sensors __log:=/home/ngadhenjim/.ros/log/40971a4c-9fc9-11e3-8a7d-00270e018e6e/nao_sensors-1.log]. log file: /home/ngadhenjim/.ros/log/40971a4c-9fc9-11e3-8a7d-00270e018e6e/nao_sensors-1*.log
Initiating shutdown!
[nao_sensors-1] killing on exit cannot add process [nao_walker-2] after process monitor has been shut down
After catkin_make I get this error:
-- nao_msgs: 48 messages, 5 services -- +++ processing catkin package: 'nao_driver' -- ==> add_subdirectory(nao_robot/nao_driver) -- 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: 'nao_path_follower' -- ==> add_subdirectory(nao_extras/nao_path_follower) CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:72 (find_package): Could not find a configuration file for package move_base_msgs.
Set move_base_msgs_DIR to the directory containing a CMake configuration file for move_base_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): nao_extras/nao_path_follower/CMakeLists.txt:19 (find_package)
-- +++ processing catkin package: 'nao_pose' -- ==> add_subdirectory(nao_robot/nao_pose) -- +++ processing catkin metapackage: 'nao_robot' -- ==> add_subdirectory(nao_robot/nao_robot) -- +++ processing catkin package: 'nao_teleop' -- ==> add_subdirectory(nao_extras/nao_teleop) -- Configuring incomplete, errors occurred! make: * [cmake_check_build_system] Fehler 1 Invoking "make cmake_check_build_system" failed