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
b334b289
Commit
b334b289
authored
Jul 09, 2016
by
Daniel Agar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PX4 LOITER_TO_ALT and metadata update
parent
87fc7f57
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
109 additions
and
32 deletions
+109
-32
MavCmdInfoFixedWing.json
src/FirmwarePlugin/APM/MavCmdInfoFixedWing.json
+53
-4
MavCmdInfoFixedWing.json
src/FirmwarePlugin/PX4/MavCmdInfoFixedWing.json
+52
-21
PX4FirmwarePlugin.cc
src/FirmwarePlugin/PX4/PX4FirmwarePlugin.cc
+3
-4
MavCmdInfoCommon.json
src/MissionManager/MavCmdInfoCommon.json
+1
-3
No files found.
src/FirmwarePlugin/APM/MavCmdInfoFixedWing.json
View file @
b334b289
...
...
@@ -33,7 +33,7 @@
"param3"
:
{
"label"
:
"Radius:"
,
"units"
:
"m"
,
"default"
:
10
0
,
"default"
:
5
0
,
"decimalPlaces"
:
0
},
"param7"
:
{
...
...
@@ -59,9 +59,16 @@
"param3"
:
{
"label"
:
"Radius:"
,
"units"
:
"m"
,
"default"
:
10
0
,
"default"
:
5
0
,
"decimalPlaces"
:
0
},
"param4"
:
{
"label"
:
"Next waypoint start:"
,
"enumStrings"
:
"Center,On Loiter"
,
"enumValues"
:
"0,1"
,
"default"
:
1
,
"decimalPlaces"
:
0
},
"param7"
:
{
"label"
:
"Altitude:"
,
"units"
:
"m"
,
...
...
@@ -86,9 +93,16 @@
"param3"
:
{
"label"
:
"Radius:"
,
"units"
:
"m"
,
"default"
:
10
0
,
"default"
:
5
0
,
"decimalPlaces"
:
0
},
"param4"
:
{
"label"
:
"Next waypoint start:"
,
"enumStrings"
:
"Center,On Loiter"
,
"enumValues"
:
"0,1"
,
"default"
:
1
,
"decimalPlaces"
:
0
},
"param7"
:
{
"label"
:
"Altitude:"
,
"units"
:
"m"
,
...
...
@@ -134,7 +148,7 @@
"param1"
:
{
"label"
:
"Pitch:"
,
"units"
:
"degrees"
,
"default"
:
0
,
"default"
:
1
0
,
"decimalPlaces"
:
0
},
"param4"
:
{
...
...
@@ -150,6 +164,41 @@
"decimalPlaces"
:
0
}
},
{
"id"
:
31
,
"rawName"
:
"MAV_CMD_NAV_LOITER_TO_ALT"
,
"friendlyName"
:
"Loiter (altitude)"
,
"description"
:
"Travel to a position and Loiter around the specified radius until the given altitude."
,
"specifiesCoordinate"
:
true
,
"friendlyEdit"
:
true
,
"category"
:
"Loiter"
,
"param1"
:
{
"label"
:
"Heading wait:"
,
"enumStrings"
:
"False,True"
,
"enumValues"
:
"0,1"
,
"default"
:
1
,
"decimalPlaces"
:
0
},
"param2"
:
{
"label"
:
"Radius:"
,
"units"
:
"m"
,
"default"
:
50
,
"decimalPlaces"
:
0
},
"param4"
:
{
"label"
:
"Next waypoint start:"
,
"enumStrings"
:
"Center,On Loiter"
,
"enumValues"
:
"0,1"
,
"default"
:
1
,
"decimalPlaces"
:
0
},
"param7"
:
{
"label"
:
"Altitude:"
,
"units"
:
"m"
,
"default"
:
50
,
"decimalPlaces"
:
0
}
},
{
"id"
:
206
,
"rawName"
:
"MAV_CMD_DO_SET_CAM_TRIGG_DIST"
,
...
...
src/FirmwarePlugin/PX4/MavCmdInfoFixedWing.json
View file @
b334b289
...
...
@@ -33,7 +33,7 @@
"param3"
:
{
"label"
:
"Radius:"
,
"units"
:
"m"
,
"default"
:
10
0
,
"default"
:
5
0
,
"decimalPlaces"
:
0
},
"param7"
:
{
...
...
@@ -59,9 +59,16 @@
"param3"
:
{
"label"
:
"Radius:"
,
"units"
:
"m"
,
"default"
:
10
0
,
"default"
:
5
0
,
"decimalPlaces"
:
0
},
"param4"
:
{
"label"
:
"Next waypoint start:"
,
"enumStrings"
:
"Center,On Loiter"
,
"enumValues"
:
"0,1"
,
"default"
:
1
,
"decimalPlaces"
:
0
},
"param7"
:
{
"label"
:
"Altitude:"
,
"units"
:
"m"
,
...
...
@@ -86,9 +93,16 @@
"param3"
:
{
"label"
:
"Radius:"
,
"units"
:
"m"
,
"default"
:
10
0
,
"default"
:
5
0
,
"decimalPlaces"
:
0
},
"param4"
:
{
"label"
:
"Next waypoint start:"
,
"enumStrings"
:
"Center,On Loiter"
,
"enumValues"
:
"0,1"
,
"default"
:
1
,
"decimalPlaces"
:
0
},
"param7"
:
{
"label"
:
"Altitude:"
,
"units"
:
"m"
,
...
...
@@ -104,18 +118,6 @@
"specifiesCoordinate"
:
true
,
"friendlyEdit"
:
true
,
"category"
:
"Basic"
,
"param1"
:
{
"label"
:
"Abort Alt:"
,
"units"
:
"m"
,
"default"
:
25
,
"decimalPlaces"
:
0
},
"param4"
:
{
"label"
:
"Heading:"
,
"units"
:
"radians"
,
"default"
:
0
,
"decimalPlaces"
:
2
},
"param7"
:
{
"label"
:
"Altitude:"
,
"units"
:
"m"
,
...
...
@@ -134,19 +136,48 @@
"param1"
:
{
"label"
:
"Pitch:"
,
"units"
:
"degrees"
,
"default"
:
0
,
"default"
:
10
,
"decimalPlaces"
:
0
},
"param7"
:
{
"label"
:
"Altitude:"
,
"units"
:
"m"
,
"default"
:
25
,
"decimalPlaces"
:
0
}
},
{
"id"
:
31
,
"rawName"
:
"MAV_CMD_NAV_LOITER_TO_ALT"
,
"friendlyName"
:
"Loiter (altitude)"
,
"description"
:
"Travel to a position and Loiter around the specified radius until the given altitude."
,
"specifiesCoordinate"
:
true
,
"friendlyEdit"
:
true
,
"category"
:
"Loiter"
,
"param1"
:
{
"label"
:
"Heading wait:"
,
"enumStrings"
:
"False,True"
,
"enumValues"
:
"0,1"
,
"default"
:
1
,
"decimalPlaces"
:
0
},
"param2"
:
{
"label"
:
"Radius:"
,
"units"
:
"m"
,
"default"
:
50
,
"decimalPlaces"
:
0
},
"param4"
:
{
"label"
:
"Heading:"
,
"units"
:
"radians"
,
"default"
:
0
,
"decimalPlaces"
:
1
"label"
:
"Next waypoint start:"
,
"enumStrings"
:
"Center,On Loiter"
,
"enumValues"
:
"0,1"
,
"default"
:
1
,
"decimalPlaces"
:
0
},
"param7"
:
{
"label"
:
"Altitude:"
,
"units"
:
"m"
,
"default"
:
25
,
"default"
:
50
,
"decimalPlaces"
:
0
}
},
...
...
src/FirmwarePlugin/PX4/PX4FirmwarePlugin.cc
View file @
b334b289
...
...
@@ -199,7 +199,7 @@ QList<MAV_CMD> PX4FirmwarePlugin::supportedMissionCommands(void)
QList
<
MAV_CMD
>
list
;
list
<<
MAV_CMD_NAV_WAYPOINT
<<
MAV_CMD_NAV_LOITER_UNLIM
<<
MAV_CMD_NAV_LOITER_TIME
<<
MAV_CMD_NAV_LOITER_UNLIM
<<
MAV_CMD_NAV_LOITER_TIME
<<
MAV_CMD_NAV_LOITER_TO_ALT
<<
MAV_CMD_NAV_LAND
<<
MAV_CMD_NAV_TAKEOFF
<<
MAV_CMD_DO_JUMP
<<
MAV_CMD_DO_VTOL_TRANSITION
<<
MAV_CMD_NAV_VTOL_TAKEOFF
<<
MAV_CMD_NAV_VTOL_LAND
...
...
@@ -207,10 +207,9 @@ QList<MAV_CMD> PX4FirmwarePlugin::supportedMissionCommands(void)
<<
MAV_CMD_DO_SET_CAM_TRIGG_DIST
<<
MAV_CMD_DO_SET_SERVO
<<
MAV_CMD_DO_CHANGE_SPEED
<<
MAV_CMD_DO_
SET_ROI
<<
MAV_CMD_DO_
LAND_START
<<
MAV_CMD_DO_MOUNT_CONFIGURE
<<
MAV_CMD_DO_MOUNT_CONTROL
<<
MAV_CMD_NAV_PATHPLANNING
;
<<
MAV_CMD_DO_MOUNT_CONTROL
;
return
list
;
}
...
...
src/MissionManager/MavCmdInfoCommon.json
View file @
b334b289
...
...
@@ -543,10 +543,8 @@
"rawName"
:
"MAV_CMD_DO_LAND_START"
,
"friendlyName"
:
"Land start"
,
"description"
:
"Marker to indicate start of landing sequence."
,
"specifiesCoordinate"
:
true
,
"standaloneCoordinate"
:
true
,
"friendlyEdit"
:
true
,
"category"
:
"
Basic
"
"category"
:
"
Flight control
"
},
{
"id"
:
190
,
"rawName"
:
"MAV_CMD_DO_RALLY_LAND", "friendlyName"
:
"Rally land"
},
{
"id"
:
191
,
"rawName"
:
"MAV_CMD_DO_GO_AROUND", "friendlyName"
:
"Go around"
},
...
...
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