Closed guojing-gj closed 3 years ago
@guojing-gj Connection refused generally means there is a device at that IP but it actively refused the connection. I'm not sure this is a software problem but we can try to check the configuration to be sure. Can you answer the following questions?
What sensor type and version are you using? Has the client worked before and then stopped or is this the first attempt? Can you get to the web server (http://192.168.1.3:7780)? Can you get the device info via web browser (http://192.168.1.3:7780/PSIA/System/deviceInfo)?
$ roslaunch quanergy_client_ros client.launch ... logging to /home/dji/.ros/log/d3b54dee-7d70-11eb-8374-34d2624a58ea/roslaunch-dji-MANIFOLD-2-C-27144.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt WARNING: disk usage in log directory [/home/dji/.ros/log] is over 1GB. It's recommended that you use the 'rosclean' command.
started roslaunch server http://dji-MANIFOLD-2-C:37525/
PARAMETERS /rosdistro: kinetic /rosversion: 1.12.17
NODES /quanergy/ client_node (quanergy_client_ros/client_node)
auto-starting new master process[master]: started with pid [27154] ROS_MASTER_URI=http://localhost:11311
[quanergy/client_node-2] killing on exit [rosout-1] killing on exit [master] killing on exit shutting down processing monitor... ... shutting down processing monitor complete done
$ ifconfig enp0s31f6 Link encap:以太网 硬件地址 34:d2:62:4a:58:ea inet 地址:192.168.1.3 广播:192.168.1.255 掩码:255.255.255.0 inet6 地址: fe80::cf5e:5176:86a7:cd6/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1 接收数据包:117715 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:88143 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:1000 接收字节:106308222 (106.3 MB) 发送字节:21614924 (21.6 MB) 中断:16 Memory:df000000-df020000
lo Link encap:本地环回 inet 地址:127.0.0.1 掩码:255.0.0.0 inet6 地址: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 跃点数:1 接收数据包:5973994 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:5973994 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:1000 接收字节:39493990943 (39.4 GB) 发送字节:39493990943 (39.4 GB)
wlxe84e067c1b23 Link encap:以太网 硬件地址 e8:4e:06:7c:1b:23 inet 地址:192.168.1.114 广播:192.168.1.255 掩码:255.255.255.0 inet6 地址: fe80::9b1d:65ca:f16c:309c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1 接收数据包:171 错误:0 丢弃:0 过载:0 帧数:0 发送数据包:199 错误:0 丢弃:0 过载:0 载波:0 碰撞:0 发送队列长度:1000 接收字节:21484 (21.4 KB) 发送字节:24530 (24.5 KB)
------------------ 原始邮件 ------------------ 发件人: "QuanergySystems/quanergy_client_ros" <notifications@github.com>; 发送时间: 2021年3月4日(星期四) 凌晨1:30 收件人: "QuanergySystems/quanergy_client_ros"<quanergy_client_ros@noreply.github.com>; 抄送: "Object"<1875675941@qq.com>;"Mention"<mention@noreply.github.com>; 主题: Re: [QuanergySystems/quanergy_client_ros] concection refuse (#12)
@guojing-gj Connection refused generally means there is a device at that IP but it actively refused the connection. I'm not sure this is a software problem but we can try to check the configuration to be sure. Can you answer the following questions?
What sensor type and version are you using? Has the client worked before and then stopped or is this the first attempt? Can you get to the web server (http://192.168.1.3:7780)? Can you get the device info via web browser (http://192.168.1.3:7780/PSIA/System/deviceInfo)?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
can you give me the file named "quanergy_net_install.zip" to config network
------------------ 原始邮件 ------------------ 发件人: "QuanergySystems/quanergy_client_ros" <notifications@github.com>; 发送时间: 2021年3月4日(星期四) 凌晨1:30 收件人: "QuanergySystems/quanergy_client_ros"<quanergy_client_ros@noreply.github.com>; 抄送: "Object"<1875675941@qq.com>;"Mention"<mention@noreply.github.com>; 主题: Re: [QuanergySystems/quanergy_client_ros] concection refuse (#12)
@guojing-gj Connection refused generally means there is a device at that IP but it actively refused the connection. I'm not sure this is a software problem but we can try to check the configuration to be sure. Can you answer the following questions?
What sensor type and version are you using? Has the client worked before and then stopped or is this the first attempt? Can you get to the web server (http://192.168.1.3:7780)? Can you get the device info via web browser (http://192.168.1.3:7780/PSIA/System/deviceInfo)?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
It appears that your PC is configured with the IP 192.168.1.3 and that you are trying to connect to the sensor at that same address which will not work.
If you are trying to connect to a sensor that has static IP, you should configure your computer to a different IP address on the same subnet. There are tutorials online for configuring static IP and I think the sensor user guide also has instructions.
quanergy_net_install is an old tool for setting your computer to have a DHCP server. This is not recommended since it can cause you to have network conflicts if you plug into a network.
If you need further assistance, please reach out to support@quanergy.com
Closing as this does not appear to be a SW issue.