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
ba3889ac
Commit
ba3889ac
authored
Jun 03, 2017
by
Don Gagne
Browse files
Fix IMAGE_START_CAPTURE usage for hover and capture
parent
25f07898
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/MissionManager/SurveyMissionItem.cc
View file @
ba3889ac
...
...
@@ -949,16 +949,18 @@ int SurveyMissionItem::_appendWaypointToMission(QList<MissionItem*>& items, int
item
=
new
MissionItem
(
seqNum
++
,
MAV_CMD_IMAGE_START_CAPTURE
,
MAV_FRAME_MISSION
,
0
,
// Interval
1
,
//
Take 1 photo
-
1
,
//
Mav resolution
0
,
0
,
// Param 4-5 unused
0
,
//
Camera ID
7
,
//
P
aram
7 un
used
true
,
// autoContinue
false
,
// isCurrentItem
0
,
// Camera ID, all cameras
0
,
//
Interval (none)
1
,
//
Take 1 photo
-
1
,
// Max horizontal resolution
-
1
,
//
Max vertical resolution
0
,
0
,
//
p
aram
6-7 not
used
true
,
// autoContinue
false
,
// isCurrentItem
missionItemParent
);
items
.
append
(
item
);
#if 0
// This generates too many commands. Pulling out for now, to see if image quality is still high enough.
item = new MissionItem(seqNum++,
MAV_CMD_NAV_DELAY,
MAV_FRAME_MISSION,
...
...
@@ -969,6 +971,7 @@ int SurveyMissionItem::_appendWaypointToMission(QList<MissionItem*>& items, int
false, // isCurrentItem
missionItemParent);
items.append(item);
#endif
default:
break
;
}
...
...
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