GCS PathPlan Editor does not correctly load (from saved file) a path plan that consists of NOT relative to home waypoints

Description

Found an issue with GCS PathPlan Editor when using waypoints NOT relative to home. User can create the plan and save it to file.

When trying to load it from the file, all the loaded waypoints get the same coordinates as current position (Home point?) instead of the saved coordinates and the GCS interface experiences a serious slowdown for a period ot time.

Traced the bug in the GCS code down to: \ground\gcs\src\libs\opmapcontrol\src\mapwidget\opmapwidget.cpp

WayPointItem *OPMapWidget::WPInsert(internals:ointLatLng const & coord, int const & altitude, QString const & description, const int &position)

Suggested fix:

Environment

None

Status

Assignee

Julian Lilov

Reporter

Julian Lilov

Labels

Components

Fix versions

Affects versions

Priority

Medium
Configure