Code running on the UAV