I setup wifi connectivity on the RB5 drone by executing
voxl-wifi station ssid password
It automatically connects to any network with that matching ssid and password, whether it is a hotspot setup by my cellphone or setup by my personal laptop, regardless of their IP address. This is the functionality that I want. If the IP address of the drone changes because it is connected on a different network, that is fine. The issue is the drone IP address changing even though it is re-connecting on the same network after being turned off and turned back on.
@tom said in Drone IP Address keeps changing:
@alfa-budiman The ROUTE_IP and LOCAL_IP depend on the format of the IP addresses on the WiFi network you are attempting to connect to.
I would connect to your WiFi network and check the IP address given to your drone by the network.
If it gives you an IP address in the format 192.168.X.Y you'll want to set the ROUTER_IP to 192.168.X.1
then set LOCAL_IP to whatever IP you want to request from the router, it will need to be in the format 192.168.X.Z where Z is the number you want to request.
My concern with entering these IP addresses is that it would then cause the cause drone to search for a specific IP address or else it will not connect.
I documented the steps I took to setup my drone here:
https://github.com/albud187/uav_nav_ops/blob/manual/RB5_Drone_Setup.docx