ros-naoqi / naoqi_driver

c++ bridge based on libqi
Apache License 2.0
54 stars 93 forks source link

failed to running roslaunch naoqi_driver naoqi_driver.launch nao_ip:=172.20.10.8 roscore_ip:=172.20.10.11 network_interface:=... in the NAO V6 robot #155

Open shi00317 opened 1 year ago

shi00317 commented 1 year ago

Hello,

I am trying to connect Nao robot with ROS.

I run the roscore and get the result below:

ROS_IP=172.20.10.11  roscore
... logging to /home/haoyi/.ros/log/3d763cf4-9b63-11ed-9f98-8dc809cb85d6/roslaunch-haoyi-ROG-Zephyrus-59211.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://172.20.10.11:42497/
ros_comm version 1.15.15

SUMMARY
========

PARAMETERS
 * /rosdistro: noetic
 * /rosversion: 1.15.15

NODES

auto-starting new master
process[master]: started with pid [59219]
ROS_MASTER_URI=http://172.20.10.11:11311/

setting /run_id to 3d763cf4-9b63-11ed-9f98-8dc809cb85d6
process[rosout-1]: started with pid [59229]
started core service [/rosout]

Then, I run the roslaunch naoqi_driver naoqi_driver.launch nao_ip:=172.20.10.8 roscore_ip:=172.20.10.11 network_interface:=... and get the result below:

roslaunch naoqi_driver naoqi_driver.launch nao_ip:=172.20.10.8 roscore_ip:=172.20.10.11 network_interface:=...
... logging to /home/haoyi/.ros/log/3d763cf4-9b63-11ed-9f98-8dc809cb85d6/roslaunch-haoyi-ROG-Zephyrus-59290.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://haoyi-ROG-Zephyrus:38655/

summary

PARAMETERS
 * /rosdistro: noetic
 * /rosversion: 1.15.15

NODES
  /
    naoqi_driver (naoqi_driver/naoqi_driver_node)

ROS_MASTER_URI=http://localhost:11311

process[naoqi_driver-1]: started with pid [59304]
Connect error: 1: stream truncated
================================================================================REQUIRED process [naoqi_driver-1] has [died!]([url](url))
process has finished cleanly
log file: /home/haoyi/.ros/log/3d763cf4-9b63-11ed-9f98-8dc809cb85d6/naoqi_driver-1*.log
Initiating shutdown!
================================================================================
[naoqi_driver-1] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done

Do you know how to solve this problem?

Thanks