Import route from CSV

From UgCS
Jump to: navigation, search

Main Page UgCS UgCS desktop User Manual Standard operations

Download this subcategory as PDF file
UgCS is able to import CSV files. In order to import CSV files, click on the "Add new route" button (plus sign). Choose “Import from file”, click “Browse”, to locate the CSV file and confirm with “Select” and confirm with “Next”.

Import CSV file

In the next window, select the preferable vehicle profile.

There are two ways to describe data in CSV:

•without column names (headers) - in that case, a column order defines a data meaning;
•with column names (header) - in that case, column names (headers) a data meaning.

CSV schema without column names (header):
CSV file must have 3 mandatory fields: "Latitude", "Longitude", "AltitudeAGL". The fourth field "Speed" is optional. Please note the header is ignored if it contains letters.

CSV schema with column nsmes (header):
To recognize data column names are used. CSV file can contain any number of columns, but only columns with the following names are used to get data from:

Column name Values Required Data meaning
WP int No The waypoint number in the route.

If not specified then the waypoints are ordered by row number.

Latitude double Yes The latitude of the waypoint.
Longitude double Yes The longitude of the waypoint.
AltitudeAGL double Required if AltitudeAMSL not specified The AGL altitude of the waypoint.
AltitudeAMSL double Required if AltitudeAGL not specified The AMSL altitude of the waypoint.
Speed double No "Flight speed" attribute value of the waypoint. If not specified then 5 m/s.
Picture false (case insensitive) No If true then "Set camera mode" action with option "Shot" is created for the waypoint.
UavYaw double 0.00-360.00 If the value is out of the range then it is automatically converted to the value in the range No

Drone Yaw (degrees relative to the north).

If specified then the "Change yaw" action with corresponding "Yaw" relative to the north is created for the waypoint.

CameraTilt double 0.00-360.00 If the value is out of the range then it is automatically converted to the value in the range No Camera till (degrees). If specified then the "Set camera attitude" action with corresponding "Tilt" is created for the waypoint.
WaitTime double No Wait time (seconds). If specified then the "Wait" action with corresponding "Wait duration, s" is created for the waypoint.

Separator - ',' (comma)