Commit f6ac9de0 authored by Larkin Heintzman's avatar Larkin Heintzman

waht

parent 024c86bf
...@@ -292,10 +292,10 @@ std::vector<DJI::OSDK::WayPointSettings> loadWaypoints() ...@@ -292,10 +292,10 @@ std::vector<DJI::OSDK::WayPointSettings> loadWaypoints()
WayPointSettings wp; WayPointSettings wp;
setWaypointDefaults(&wp); setWaypointDefaults(&wp);
wp.index = i; wp.index = i;
wp.latitude = wpt[2]; wp.latitude = wpt[1];
wp.longitude = wpt[3]; wp.longitude = wpt[2];
wp.altitude = wpt[4]; wp.altitude = wpt[3];
wp.yaw = wpt[5]; wp.yaw = wpt[4];
wp_list.push_back(wp); wp_list.push_back(wp);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment