Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
269ce521
Commit
269ce521
authored
Jun 23, 2016
by
Don Gagne
Browse files
Don't force guided mode on GoToLocation
parent
d90e7aa0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/FirmwarePlugin/APM/ArduCopterFirmwarePlugin.cc
View file @
269ce521
...
...
@@ -148,7 +148,6 @@ void ArduCopterFirmwarePlugin::guidedModeGotoLocation(Vehicle* vehicle, const QG
return
;
}
vehicle
->
setFlightMode
(
"Guided"
);
QGeoCoordinate
coordWithAltitude
=
gotoCoord
;
coordWithAltitude
.
setAltitude
(
vehicle
->
altitudeRelative
()
->
rawValue
().
toDouble
());
vehicle
->
missionManager
()
->
writeArduPilotGuidedMissionItem
(
coordWithAltitude
,
false
/* altChangeOnly */
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment