This web application can be used to convert a Litchi mission CSV file into a DJI Fly (all models) of DJI Pilot 2 (all models) waypoint KMZ file. The instructions below were created after reading how others have uploaded missions to DJI Fly for their Mavic 3 / Air 3 / Mini 4 Pro. If you see any details that are not correct or incomplete, please let me know so that I can refine these instructions.
This web application can be used to convert a Litchi mission CSV file into a DJI Fly (all models) or DJI Pilot 2 (all models) waypoint KMZ file.
Once created, the KMZ file must be uploaded to the "waypoint" folder on the device running DJI Fly. If using DJI Pilot 2, the import function can be used to upload the KMZ file. Detailed instructions are available from the "Instructions" button above.
NOTE: If you encounter any abnormalities flying a converted Litchi mission, please let me know.
If your Litchi mission uses the "Above Ground" option, a call to the Google Elevation API must be made to convert the input heights into above ground (above take off) heights. These utilities use a shared Google Elevation API key which is limited to 5,000 free elevation API calls per month (roughtly 150 API calls per day. When the limit of 150 per day is reached, a Google Elevation API call error will be displayed. To prevent this from happening, you may obtain and provide your own Google Elevation API key so that you are not dependent on the shared API key. If you use Virtual Litchi Mission, this would be the same API key used with that application.
Litchi allows the path mode of waypoint missions to be set to either "Curved Turns" or "Straight Lines". The WPML language used in DJI Fly also allows either straight lines or curved turns to be specified. However, for unknown reasons, DJI's implementation of waypoints in DJI Fly does not allow one to specify either straight lines or curved turns and all waypoint missions created in DJI Fly are executed using curved turns. Therefore, by default, this converter will convert all missions to use curved turns.
This checkbox has been added to override this default behavior. By checking this checkbox, the "useStraightLine" parameter will be set to true in the WPML code of the KMZ file. However, doing so will cause the waypoint mission to be displayed incorrectly (wonky like a spiderweb [example 1, example 2]) in DJI Fly. Even so, I have been told by several users that the mission will be executed correctly with straight lines even though DJI Fly's display of the mission is incorrect.
When 'Toward POI or Interpolate' is selected, the existence of a POI for any waypoint will result in the heading mode being set to "toward POI" at that waypoint. Otherwise, the heading mode is set to "smooth transition" and the specified heading angle is used at that waypoint.
When 'Follow Wayline' is selected, every waypoint will have its heading mode set to "follow wayline" regardless of the existence of either a POI or heading angle defined at any waypoint.
When 'Manual' is selected, manual control of the aircraft heading will be allowed throughout the flight regardless of the existence of either a POI or heading angle defined at any waypoint.