-
Connect Skycontrollers binded with Anafi drones to USB ports.
Each Skycontroller will create a
192.168.53.0network on theusbXinterface. -
In the terminal, run
"$(ros2 pkg prefix anafi_ros_nodes)"/share/anafi_ros_nodes/setup_drones.sh number_droneswhere
number_dronesis the number of connected drones.For example, if you have two connected Skycontrollers, run
"$(ros2 pkg prefix anafi_ros_nodes)"/share/anafi_ros_nodes/setup_drones.sh 2The script will create a new subnet with IP address
192.168.6X.0for eachusbXinterface. All traffic on this address will be routed to the associated Skycontroller.If you have two connected Skycontrollers, the Skycontroller connected on
usb0interface will be asigned with192.168.60.1IP, while the Skycontroller connected onusb1interface will be asigned with192.168.61.1IP.