Open staycoolish opened 2 years ago
Were you able to solve this issue? I am currently experiencing the same problem :(
The enp** represents your wired/ethernet connection (e.g. "enp4s0" in staycoolish's provided example). You will notice in staycoolish's example that when the ethernet is connected, the enp network details change to include "inet" and "inet6" lines which are the IP address details on this network now that it is connected. The "inet" represents the IP version4 (4 segment) IP address of your computer on this network. You can see that it is 192.168.123.105, which matches the required 192.168.123.xxx network prefix** that Unitree gives to the internal network for their quadrupeds A1, Go1 etc.
You should make sure you set your computer's IP to be a static IP on this network i.e. 192.168.123.xxx where 'xxx' is always the same number (105 in the example, but could be anything that doesn't conflict with the numbers Unitree have already used for the computers inside your robot).
If you wanted to do the same thing wireslessly, the **wlp* network (when you run $ifconfig) represents the wireless connection. This time however you'll want to make sure you connect to the robot's wireless network, which is on a different network prefix of 192.168.12.xxx**. Once again you should set a static IP for your computer on this different network 192.168.12.xxx, where 'xxx' is anything that doesn't conflict with already assigned IP addresses.
Hopefully some of this helps.
Hi, I am also facing issues with the ifconfig instructions. I have no clue what to change enx000ec6612921 to and left it as it is. I changed the ip address to my wireless one and ran the commands:
sudo chmod +x ipconfig.sh
sudo ./ipconfig.sh
However, I got the error:
SIOCADDRT: File exists
enx000ec6612921: ERROR while getting interface flags: No such device
enx000ec6612921: ERROR while getting interface flags: No such device
SIOCSIFADDR: No such device
enx000ec6612921: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
Can someone enlighten me on what the issue is? To give some background, I am currently using my laptop to ssh into the robot. Do I still need to setup the net connection or can I skip the steps? Please advice. Thanks in advance.
Hi, I am also facing issues with the ifconfig instructions. I have no clue what to change enx000ec6612921 to and left it as it is. I changed the ip address to my wireless one and ran the commands:
I am having the same problem connecting the robot to the internet. Has anyone solved this problem?
Hello everyone, does anyone know where the ipconfig.sh file is? There are only five files (CMakeLists.txt package.xml include launch src/exe ) in the unitree_legged_real folder after I git clone these code. I can not find the ipconfig.sh file. The readme.md says "Then, open the ipconfig.sh file under the folder unitree_legged_real, modify the port name to your own. And run the following commands:". So, what should i do to modify the port name?
Bro , do you have python code to control the robot through ros ?
Hello, I cannot find the port name for the robot, which is A1. When I write ifconfig without any ethernet cables connected, that's what I get:
When I write ifconfig when ethernet is connected, that is what I get:
It is written that:
First, please connect the network cable between your PC and robot. Then run ifconfig in a terminal, you will find your port name. For example, enx000ec6612921
I cannot find anything similar to enx000ec6612921. What should I do?
Also, there are two ethernet connections on the robot. Which one should I use? I tried both of them, and the output of ifconfig was more or less the same. Note that, I use an ethernet to ethernet connection between my PC and A1.