Recently, I noticed one issue about the metadata.
When I read the metadata with vmeta() in the YUV callback function, sometimes the metadata is empty.
It happens here:
drone_info = yuv_frame.vmeta() if drone_info is not None: self.frame_quat = Quaternion(drone_info["frame_quat"]["w"], drone_info["frame_quat"]["x"], drone_info["frame_quat"]["y"], drone_info["frame_quat"]["z"])
If I don’t use the if function here, sometimes it will give a warning with None object.
I’m curious about how it happens. Is it caused by the mismatched image frame? Or the connection with the wifi? Or something else?
How to solve this problem? When I increase the frame rate to 60Hz, it happens a lot.
W vstrm: vstrm_rtp_h264_rx_au_complete: mismatch in macroblock ordering: mb_start=3600 mb_end=3600
Does it mean CPU is not enough?
And again, hope to open access to angular velocity and linear acceleration in Anafi soon.