The code comes from livox_mapping, let me briefly say the conclusion:
The official SDK of DJI is rather lazy. It only wrote a general outline in the…