Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
f830ce50
Commit
f830ce50
authored
Jan 14, 2018
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to new ROI command
parent
1ed4ee03
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
50 additions
and
8 deletions
+50
-8
v2.0
libs/mavlink/include/mavlink/v2.0
+1
-1
PX4FirmwarePlugin.cc
src/FirmwarePlugin/PX4/PX4FirmwarePlugin.cc
+1
-1
MavCmdInfoCommon.json
src/MissionManager/MavCmdInfoCommon.json
+46
-0
MockLink.cc
src/comm/MockLink.cc
+2
-6
No files found.
v2.0
@
a31f7d98
Subproject commit
5be9f5bf6002d58199cafafb5d416929fb8d8bcd
Subproject commit
a31f7d989dffc2e554c26ad2c22c2a432a48fa74
src/FirmwarePlugin/PX4/PX4FirmwarePlugin.cc
View file @
f830ce50
...
...
@@ -290,7 +290,7 @@ QList<MAV_CMD> PX4FirmwarePlugin::supportedMissionCommands(void)
<<
MAV_CMD_DO_SET_SERVO
<<
MAV_CMD_DO_CHANGE_SPEED
<<
MAV_CMD_DO_LAND_START
<<
MAV_CMD_DO_SET_ROI
<<
MAV_CMD_DO_SET_ROI
_LOCATION
<<
MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET
<<
MAV_CMD_DO_SET_ROI_NONE
<<
MAV_CMD_DO_MOUNT_CONFIGURE
<<
MAV_CMD_DO_MOUNT_CONTROL
<<
MAV_CMD_SET_CAMERA_MODE
...
...
src/MissionManager/MavCmdInfoCommon.json
View file @
f830ce50
...
...
@@ -624,6 +624,52 @@
"default"
:
0
}
},
{
"id"
:
195
,
"rawName"
:
"MAV_CMD_DO_SET_ROI_LOCATION"
,
"friendlyName"
:
"Region of interest (ROI)"
,
"description"
:
"Sets the region of interest for cameras."
,
"specifiesCoordinate"
:
true
,
"standaloneCoordinate"
:
true
,
"friendlyEdit"
:
true
,
"category"
:
"Camera"
},
{
"id"
:
196
,
"rawName"
:
"MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET"
,
"friendlyName"
:
"ROI to next waypoint"
,
"description"
:
"Sets the region of interest to point towards the next waypoint with optional offsets."
,
"specifiesCoordinate"
:
false
,
"friendlyEdit"
:
true
,
"category"
:
"Camera"
,
"param5"
:
{
"label"
:
"Pitch offset"
,
"default"
:
0
,
"units"
:
"deg"
,
"decimalPlaces"
:
0
},
"param6"
:
{
"label"
:
"Roll offset"
,
"default"
:
0
,
"units"
:
"deg"
,
"decimalPlaces"
:
0
},
"param7"
:
{
"label"
:
"Yaw offset"
,
"default"
:
0
,
"units"
:
"deg"
,
"decimalPlaces"
:
0
}
},
{
"id"
:
197
,
"rawName"
:
"MAV_CMD_DO_SET_ROI_NONE"
,
"friendlyName"
:
"Cancel ROI"
,
"description"
:
"Cancels the region of interest."
,
"specifiesCoordinate"
:
false
,
"friendlyEdit"
:
true
,
"category"
:
"Camera"
},
{
"id"
:
200
,
"rawName"
:
"MAV_CMD_DO_CONTROL_VIDEO", "friendlyName"
:
"Control video"
},
{
"id"
:
201
,
...
...
src/comm/MockLink.cc
View file @
f830ce50
...
...
@@ -914,12 +914,8 @@ void MockLink::_respondWithAutopilotVersion(void)
(
uint8_t
*
)
&
customVersion
,
// os_custom_version,
0
,
// vendor_id,
0
,
// product_id,
0
// uid
#if defined(NO_ARDUPILOT_DIALECT)
//-- Once the MAVLink module is updated, this should show up. In the mean time, it's disabled.
,
0
// uid2
#endif
);
0
,
// uid
0
);
// uid2
respondWithMavlinkMessage
(
msg
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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