Can not connet robot with robot@10.42.0.1 #26
Replies: 4 comments 5 replies
-
Hi Lilly! Q1: So are you trying to have the car connect to the library wifi but keep a static IP? If so, at the bottom of the first steps tutorial there is a Wifi setup section that goes over how to make sure that IP address doesn't change. If you followed that and it still isn't working, it could be a problem stemming from how the library wifi is setup. To test if the problem is specific to your library wifi, you could try connecting the car to a home network or a hotspot following the same steps. Setting a static IP on those networks have worked for us in the past. Q2: This is a super common problem. The workflow/troubleshooting tutorial goes over this a bit, but I'll try to restate here a bit more clearly. When you run teleop on your robot and that is the first thing you launch it creates a ROS MASTER which is kinda the center for all communication. ROS_MASTER_URI tells the ROS system on the given computer (laptop or car) where to find this ROS MASTER. So on the car it should be its default,
11311 port is the default ROS port and never changes. To sum up: On Laptop If this is still confusing, please let me know and I'll rephrase! |
Beta Was this translation helpful? Give feedback.
-
Hi @Lilly-yang - In addition to @schmittlema 's followup questions, could you also let us know whether your laptop is running a virtual machine or has a native Ubuntu OS? If the laptop is running a virtual machine, you may need to change some network settings in order to connect to the robot's default access point.. |
Beta Was this translation helpful? Give feedback.
-
I have solved it. It's just that I still use wifi 😂 . I tried to follow the first step to set a fixed IP, but after completing all the steps, the robot can't automatically (or manually) connect to the wifi (or hotspot). Thank you @schmittlema for the detailed explanation. Now I can connect the robot to rivz on my laptop properly. It's just that I may need to check the new IP when it changes. Thank you @planc509 for the supplement. I am using the native Ubuntu OS. It did take me some time to set up the proper environment but it was worth it. Have a good weekend! |
Beta Was this translation helpful? Give feedback.
-
Hi, it's me again. I followed the tutorial to set up an access point on the Jetson Nano. Still the same problem: I can't connect to it on my laptop with "ssh robot@10.42.0.1" or "ssh robot@10.42.0.1 -X". But I can connect its wifi(Robot AP) with my phone and this can be assumed that the hotspot is working fine. Can you help me figure out why I'm having ssh connection problems? Thank you! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
It's me again. :)
I am now following the navigation and first step tutorials. I run into some problems when I tried to connect the robot to the rivz on my laptop.
Q1: I used to connect the robot to wifi here in our library, and then use its IP to connect to my laptop instead of the static IP (robot@10.42.0.1), because it can't work properly. The dynamic IP is good, but it changes a lot. I'm sure I followed every step of build instruction and checked it with 'ifconfig', its IP address is 10.42.0.1. Could you please give me any clues (hardware or software) why it not working properly?
Q2: Following the first step tutorial, I set ROS_IP=192.168.18.58 (my laptop IP)

But for the ROS_MASTER_URI=http://10.42.0.1:11311. In addition to the disconnect problem mentioned in Q1. Could you please tell me how to get the information at the end? Or it is always '11311'?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions