I am trying to use a depth camera on a DJI drone with DJI N3 flight controller for 3D mapping and autonomous navigation.
I would like to use the odometry position feedback of the camera for indoor flight control. Is it possible to replace the GPS feedback to odometry of the camera in the following code?