I got this working. I initially had the following in the takeoff_and_land.py script which did not work:
await drone.connect(system_address="udp://192.168.1.44:14550")
where 192.168.1.44 was the IP address of the drone, but when I changed it to the line below it worked!
await drone.connect(system_address="udp://:14550")
The IP address of my laptop is 192.168.1.100 and is listed as "primary_static_gcs_ip" in /etc/modalai/voxl-mavlink-server.
My question though is how does the script on my laptop know that the drone is located at 192.168.1.44 in the second case and why does the first case where I specify the host within the connect() call not work?
Thanks!