diff --git a/ground/openpilotgcs/src/plugins/magicwaypoint/magicwaypointgadgetwidget.cpp b/ground/openpilotgcs/src/plugins/magicwaypoint/magicwaypointgadgetwidget.cpp index b15bf2063..c97d50b5d 100644 --- a/ground/openpilotgcs/src/plugins/magicwaypoint/magicwaypointgadgetwidget.cpp +++ b/ground/openpilotgcs/src/plugins/magicwaypoint/magicwaypointgadgetwidget.cpp @@ -133,7 +133,7 @@ void MagicWaypointGadgetWidget::positionSelected(double north, double east) { PathDesired::DataFields pathDesired = getPathDesired()->getData(); pathDesired.End[PathDesired::END_NORTH] = north * scale; pathDesired.End[PathDesired::END_EAST] = east * scale; - pathDesired.Mode = PathDesired::MODE_ENDPOINT; + pathDesired.Mode = PathDesired::MODE_FLYENDPOINT; getPathDesired()->setData(pathDesired); } diff --git a/ground/openpilotgcs/src/plugins/uavobjects/uavobjects.pro b/ground/openpilotgcs/src/plugins/uavobjects/uavobjects.pro index 508fe9815..eec72bef8 100644 --- a/ground/openpilotgcs/src/plugins/uavobjects/uavobjects.pro +++ b/ground/openpilotgcs/src/plugins/uavobjects/uavobjects.pro @@ -67,7 +67,9 @@ HEADERS += $$UAVOBJECT_SYNTHETICS/accessorydesired.h \ $$UAVOBJECT_SYNTHETICS/mixerstatus.h \ $$UAVOBJECT_SYNTHETICS/velocitydesired.h \ $$UAVOBJECT_SYNTHETICS/velocityactual.h \ - $$UAVOBJECT_SYNTHETICS/guidancesettings.h \ + $$UAVOBJECT_SYNTHETICS/fixedwingpathfollowersettings.h \ + $$UAVOBJECT_SYNTHETICS/fixedwingpathfollowerstatus.h \ + $$UAVOBJECT_SYNTHETICS/vtolpathfollowersettings.h \ $$UAVOBJECT_SYNTHETICS/ratedesired.h \ $$UAVOBJECT_SYNTHETICS/firmwareiapobj.h \ $$UAVOBJECT_SYNTHETICS/i2cstats.h \ @@ -135,7 +137,9 @@ SOURCES += $$UAVOBJECT_SYNTHETICS/accessorydesired.cpp \ $$UAVOBJECT_SYNTHETICS/mixerstatus.cpp \ $$UAVOBJECT_SYNTHETICS/velocitydesired.cpp \ $$UAVOBJECT_SYNTHETICS/velocityactual.cpp \ - $$UAVOBJECT_SYNTHETICS/guidancesettings.cpp \ + $$UAVOBJECT_SYNTHETICS/fixedwingpathfollowersettings.cpp \ + $$UAVOBJECT_SYNTHETICS/fixedwingpathfollowerstatus.cpp \ + $$UAVOBJECT_SYNTHETICS/vtolpathfollowersettings.cpp \ $$UAVOBJECT_SYNTHETICS/ratedesired.cpp \ $$UAVOBJECT_SYNTHETICS/firmwareiapobj.cpp \ $$UAVOBJECT_SYNTHETICS/i2cstats.cpp \