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)

Example:

Latitude,Longitude,AltitudeAMSL,Speed,Picture,WP,CameraTilt,UavYaw

1.331213958,103.7424341,130,1,FALSE,1

1.331433271,103.7422533,131.7965138,1,TRUE,2,0,-145.4353298

1.331479854,103.7421857,131.7965138,1,TRUE,3,0,-145.4353298

1.331539018,103.7422265,131.7965138,1,FALSE,4

1.331596448,103.7421663,131.7965138,1,TRUE,5,0,-145.4353298

1.331643031,103.7420987,131.7965138,1,TRUE,6,0,-145.4353298

1.33167128,103.7420184,131.7965138,1,TRUE,7,0,-145.4353298

1.33169557,103.7419354,131.7965138,1,TRUE,8,0,-145.4353298

1.33171277,103.7418475,131.7965138,1,TRUE,9,0,-145.4353298

1.331749747,103.741873,126.7965138,1,FALSE,10