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
e1deebcf
Commit
e1deebcf
authored
Dec 03, 2015
by
Don Gagne
Browse files
Merge pull request #2348 from DonLakeFlyer/RealativeAlt
Fix altitude relative to home default
parents
226e5a20
b17cf44f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/MissionManager/MissionItem.cc
View file @
e1deebcf
...
...
@@ -112,6 +112,7 @@ MissionItem::MissionItem(QObject* parent)
// Need a good command and frame before we start passing signals around
_commandFact
.
setRawValue
(
MAV_CMD_NAV_WAYPOINT
);
_frameFact
.
setRawValue
(
MAV_FRAME_GLOBAL_RELATIVE_ALT
);
_altitudeRelativeToHomeFact
.
setRawValue
(
true
);
_setupMetaData
();
_connectSignals
();
...
...
@@ -169,6 +170,7 @@ MissionItem::MissionItem(int sequenceNumber,
// Need a good command and frame before we start passing signals around
_commandFact
.
setRawValue
(
MAV_CMD_NAV_WAYPOINT
);
_frameFact
.
setRawValue
(
MAV_FRAME_GLOBAL_RELATIVE_ALT
);
_altitudeRelativeToHomeFact
.
setRawValue
(
true
);
_setupMetaData
();
_connectSignals
();
...
...
@@ -223,6 +225,7 @@ MissionItem::MissionItem(const MissionItem& other, QObject* parent)
// Need a good command and frame before we start passing signals around
_commandFact
.
setRawValue
(
MAV_CMD_NAV_WAYPOINT
);
_frameFact
.
setRawValue
(
MAV_FRAME_GLOBAL_RELATIVE_ALT
);
_altitudeRelativeToHomeFact
.
setRawValue
(
true
);
_setupMetaData
();
_connectSignals
();
...
...
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