Hi, I am planning to do indoor 3D path planning project with pixhawk with jetson kit and optical flow for position control. My optical flow is [MicoAir] MTF-01.
My question is how optical flow and pixhawk calculate altitude. As far as I know, tof sensor calculates distance between underneath object and drone. So, I think drone goes up when the drone fly over object. For example, if I command pose.pose.position.z = 1, the drone can’t maintain 1m above ground if there is any object under the drone while flying.
Am I right? or does pixhawk can calculate absolute distance from the initial point?
I am considering using VIO instead of optical flow.
Thanks!