On 8/25/25 06:25, Pito Salas wrote:
> Every ROS2 robot I’ve built to date relied on wifi. The Raspi on board connects to my local wifi. The raspi runs Micro-ros and a few other things. My laptop on the same wifi is used to ssh into the robot to launch stuff and also to run several other ROS2 nodes.
>
> Now I want to go outside the range of my local wifi. The options that I can think of are:
>
> 1) Put all the nodes “on board” so that no wifi is required. Questions: I think I still need to ssh into the robot to launch stuff, but I could do that when I first turn on the robot and before it goes outside. The remote nodes could run on the onboard Raspi but would it have enough capacity?
That usually does not work very well. You will always want to connect a
'laptop' or something, that's not really on the robot, if it's just for
diagnosing things.
>
> 2) Use some kind of cellular modem on the robot to connect it to the open internet and in turn connect the remote computer to the same. This may pose some firewall challenges but they can be overcome. But does that cellular modem need to have its own expensive plan with Verizon? Also wouldn’t latency and speed be problems?
That could work. But it's expensive for 'hobby' adventures.
>
> 3) Create some kind of local hotspot between my laptop and the robot so that as long as they are close to each other they can communicate but not with the open internet. I think that might be possible but I am not sure how to do it.
That's the way, I'm usually doing things. There are different ways going
about this.
* The Pi can be configured as access point and there are even
setups/scripts out there, which switch between 'being a node in a known
WiFi network' and 'acting as AP' otherwise automatically.
* Use one of those little 'travel routers', which can do the same. I'm
using an [older] GL.iNet GL-AR750S-Ext (
https://www.amazon.com/dp/B07GBXMBQF ). Now you can connect the Pi and
potentially other things via ethernet and have the WiFi for external
things. The range seems to be a bit better than witn the Soft-AP on the Pi.
-- Marco