Commit c66b9495 authored by Adyasha Dash's avatar Adyasha Dash

Merge remote-tracking branch 'upstream/master' into update/mission_stat_distance_calculation

parents fc0e560f f62ceec0
......@@ -27,19 +27,19 @@ install:
Write-Host "Installed" -ForegroundColor Green
- ps: |
Write-Host "Installing GStreamer..." -ForegroundColor Cyan
$msiPath = "$($env:USERPROFILE)\gstreamer-1.0-x86-1.8.1.msi"
$msiPath = "$($env:USERPROFILE)\gstreamer-1.0-x86-1.5.2.msi"
Write-Host "Downloading..."
(New-Object Net.WebClient).DownloadFile('https://s3-us-west-2.amazonaws.com/qgroundcontrol/dependencies/gstreamer-1.0-x86-1.8.1.msi', $msiPath)
(New-Object Net.WebClient).DownloadFile('https://s3-us-west-2.amazonaws.com/qgroundcontrol/dependencies/gstreamer-1.0-x86-1.5.2.msi', $msiPath)
Write-Host "Installing..."
cmd /c start /wait msiexec /package $msiPath /passive
cmd /c start /wait msiexec /package $msiPath /passive ADDLOCAL=ALL
Write-Host "Installed" -ForegroundColor Green
- ps: |
Write-Host "Installing GStreamer dev..." -ForegroundColor Cyan
$msiPath = "$($env:USERPROFILE)\gstreamer-1.0-devel-x86-1.8.1.msi"
$msiPath = "$($env:USERPROFILE)\gstreamer-1.0-devel-x86-1.5.2.msi"
Write-Host "Downloading..."
(New-Object Net.WebClient).DownloadFile('https://s3-us-west-2.amazonaws.com/qgroundcontrol/dependencies/gstreamer-1.0-devel-x86-1.8.1.msi', $msiPath)
(New-Object Net.WebClient).DownloadFile('https://s3-us-west-2.amazonaws.com/qgroundcontrol/dependencies/gstreamer-1.0-devel-x86-1.5.2.msi', $msiPath)
Write-Host "Installing..."
cmd /c start /wait msiexec /package $msiPath /passive
cmd /c start /wait msiexec /package $msiPath /passive ADDLOCAL=ALL
Write-Host "Installed" -ForegroundColor Green
build_script:
......
......@@ -14,10 +14,10 @@
</airframe>
</airframe_group>
<airframe_group image="FlyingWing" name="Flying Wing">
<airframe id="3031" maintainer="Simon Wilks &lt;simon@px4.io&gt;" name="Phantom FPV Flying Wing">
<airframe id="3030" maintainer="Simon Wilks &lt;simon@px4.io&gt;" name="IO Camflyer">
<maintainer>Simon Wilks &lt;simon@px4.io&gt;</maintainer>
<type>Flying Wing</type>
<url>https://pixhawk.org/platforms/planes/z-84_wing_wing</url>
<url>https://pixhawk.org/platforms/planes/bormatec_camflyer_q</url>
<output name="AUX1">feed-through of RC AUX1 channel</output>
<output name="AUX2">feed-through of RC AUX2 channel</output>
<output name="AUX3">feed-through of RC AUX3 channel</output>
......@@ -25,14 +25,10 @@
<output name="MAIN2">right aileron</output>
<output name="MAIN4">throttle</output>
</airframe>
<airframe id="3034" maintainer="Simon Wilks &lt;simon@px4.io&gt;" name="FX-79 Buffalo Flying Wing">
<maintainer>Simon Wilks &lt;simon@px4.io&gt;</maintainer>
<type>Flying Wing</type>
</airframe>
<airframe id="3030" maintainer="Simon Wilks &lt;simon@px4.io&gt;" name="IO Camflyer">
<airframe id="3031" maintainer="Simon Wilks &lt;simon@px4.io&gt;" name="Phantom FPV Flying Wing">
<maintainer>Simon Wilks &lt;simon@px4.io&gt;</maintainer>
<type>Flying Wing</type>
<url>https://pixhawk.org/platforms/planes/bormatec_camflyer_q</url>
<url>https://pixhawk.org/platforms/planes/z-84_wing_wing</url>
<output name="AUX1">feed-through of RC AUX1 channel</output>
<output name="AUX2">feed-through of RC AUX2 channel</output>
<output name="AUX3">feed-through of RC AUX3 channel</output>
......@@ -40,10 +36,6 @@
<output name="MAIN2">right aileron</output>
<output name="MAIN4">throttle</output>
</airframe>
<airframe id="3100" maintainer="Lorenz Meier &lt;lorenz@px4.io&gt;" name="TBS Caipirinha">
<maintainer>Lorenz Meier &lt;lorenz@px4.io&gt;</maintainer>
<type>Flying Wing</type>
</airframe>
<airframe id="3032" maintainer="Thomas Gubler &lt;thomas@px4.io&gt;, Julian Oes &lt;julian@px4.io&gt;" name="Skywalker X5 Flying Wing">
<maintainer>Thomas Gubler &lt;thomas@px4.io&gt;, Julian Oes &lt;julian@px4.io&gt;</maintainer>
<type>Flying Wing</type>
......@@ -66,6 +58,10 @@
<output name="MAIN2">right aileron</output>
<output name="MAIN4">throttle</output>
</airframe>
<airframe id="3034" maintainer="Simon Wilks &lt;simon@px4.io&gt;" name="FX-79 Buffalo Flying Wing">
<maintainer>Simon Wilks &lt;simon@px4.io&gt;</maintainer>
<type>Flying Wing</type>
</airframe>
<airframe id="3035" maintainer="Simon Wilks &lt;simon@px4.io&gt;" name="Viper">
<maintainer>Simon Wilks &lt;simon@px4.io&gt;</maintainer>
<type>Flying Wing</type>
......@@ -81,6 +77,10 @@
<output name="MAIN2">right aileron</output>
<output name="MAIN4">throttle</output>
</airframe>
<airframe id="3100" maintainer="Lorenz Meier &lt;lorenz@px4.io&gt;" name="TBS Caipirinha">
<maintainer>Lorenz Meier &lt;lorenz@px4.io&gt;</maintainer>
<type>Flying Wing</type>
</airframe>
</airframe_group>
<airframe_group image="HexaRotorPlus" name="Hexarotor +">
<airframe id="7001" maintainer="Anton Babushkin &lt;anton@px4.io&gt;" name="Generic Hexarotor + geometry">
......@@ -169,32 +169,39 @@
</airframe>
</airframe_group>
<airframe_group image="QuadRotorWide" name="Quadrotor Wide">
<airframe id="10018" maintainer="Simon Wilks &lt;simon@px4.io&gt;" name="Team Blacksheep Discovery Endurance">
<maintainer>Simon Wilks &lt;simon@px4.io&gt;</maintainer>
<airframe id="10015" maintainer="Anton Babushkin &lt;anton@px4.io&gt;, Simon Wilks &lt;simon@px4.io&gt;" name="Team Blacksheep Discovery">
<maintainer>Anton Babushkin &lt;anton@px4.io&gt;, Simon Wilks &lt;simon@px4.io&gt;</maintainer>
<type>Quadrotor Wide</type>
</airframe>
<airframe id="10019" maintainer="Anton Matosov &lt;anton.matosov@gmail.com&gt;" name="HobbyKing SK450 DeadCat modification">
<maintainer>Anton Matosov &lt;anton.matosov@gmail.com&gt;</maintainer>
<airframe id="10016" maintainer="Anton Babushkin &lt;anton@px4.io&gt;" name="3DR Iris Quadrotor">
<maintainer>Anton Babushkin &lt;anton@px4.io&gt;</maintainer>
<type>Quadrotor Wide</type>
</airframe>
<airframe id="10017" maintainer="Thomas Gubler &lt;thomas@px4.io&gt;" name="Steadidrone QU4D">
<maintainer>Thomas Gubler &lt;thomas@px4.io&gt;</maintainer>
<type>Quadrotor Wide</type>
</airframe>
<airframe id="10015" maintainer="Anton Babushkin &lt;anton@px4.io&gt;, Simon Wilks &lt;simon@px4.io&gt;" name="Team Blacksheep Discovery">
<maintainer>Anton Babushkin &lt;anton@px4.io&gt;, Simon Wilks &lt;simon@px4.io&gt;</maintainer>
<airframe id="10018" maintainer="Simon Wilks &lt;simon@px4.io&gt;" name="Team Blacksheep Discovery Endurance">
<maintainer>Simon Wilks &lt;simon@px4.io&gt;</maintainer>
<type>Quadrotor Wide</type>
</airframe>
<airframe id="10016" maintainer="Anton Babushkin &lt;anton@px4.io&gt;" name="3DR Iris Quadrotor">
<maintainer>Anton Babushkin &lt;anton@px4.io&gt;</maintainer>
<airframe id="10019" maintainer="Anton Matosov &lt;anton.matosov@gmail.com&gt;" name="HobbyKing SK450 DeadCat modification">
<maintainer>Anton Matosov &lt;anton.matosov@gmail.com&gt;</maintainer>
<type>Quadrotor Wide</type>
</airframe>
</airframe_group>
<airframe_group image="QuadRotorX" name="Quadrotor x">
<airframe id="4020" maintainer="Thomas Gubler &lt;thomas@px4.io&gt;" name="Hobbyking Micro PCB">
<maintainer>Thomas Gubler &lt;thomas@px4.io&gt;</maintainer>
<airframe id="10020" maintainer="Lorenz Meier &lt;lorenz@px4.io&gt;" name="3DR DIY Quad">
<maintainer>Lorenz Meier &lt;lorenz@px4.io&gt;</maintainer>
<type>Quadrotor x</type>
</airframe>
<airframe id="4001" maintainer="Lorenz Meier &lt;lorenz@px4.io&gt;" name="Generic Quadrotor X config">
<maintainer>Lorenz Meier &lt;lorenz@px4.io&gt;</maintainer>
<type>Quadrotor x</type>
<output name="AUX1">feed-through of RC AUX1 channel</output>
<output name="AUX2">feed-through of RC AUX2 channel</output>
<output name="AUX3">feed-through of RC AUX3 channel</output>
</airframe>
<airframe id="4002" maintainer="James Goppert &lt;james.goppert@gmail.com&gt;" name="Lumenier QAV-R (raceblade) 5&quot; arms">
<maintainer>James Goppert &lt;james.goppert@gmail.com&gt;</maintainer>
<type>Quadrotor x</type>
......@@ -202,8 +209,12 @@
<output name="AUX2">feed-through of RC AUX2 channel</output>
<output name="AUX3">feed-through of RC AUX3 channel</output>
</airframe>
<airframe id="4060" maintainer="James Goppert &lt;james.goppert@gmail.com&gt;" name="DJI Matrice 100">
<maintainer>James Goppert &lt;james.goppert@gmail.com&gt;</maintainer>
<airframe id="4008" maintainer="Lorenz Meier &lt;lorenz@px4.io&gt;" name="AR.Drone Frame">
<maintainer>Lorenz Meier &lt;lorenz@px4.io&gt;</maintainer>
<type>Quadrotor x</type>
</airframe>
<airframe id="4009" maintainer="Mark Whitehorn &lt;kd0aij@gmail.com&gt;" name="Lumenier QAV250">
<maintainer>Mark Whitehorn &lt;kd0aij@gmail.com&gt;</maintainer>
<type>Quadrotor x</type>
<output name="AUX1">feed-through of RC AUX1 channel</output>
<output name="AUX2">feed-through of RC AUX2 channel</output>
......@@ -216,24 +227,28 @@
<output name="AUX2">feed-through of RC AUX2 channel</output>
<output name="AUX3">feed-through of RC AUX3 channel</output>
</airframe>
<airframe id="4040" maintainer="Blankered" name="Reaper 500 Quad">
<maintainer>Blankered</maintainer>
<airframe id="4011" maintainer="Lorenz Meier &lt;lorenz@px4.io&gt;" name="DJI Flame Wheel F450">
<maintainer>Lorenz Meier &lt;lorenz@px4.io&gt;</maintainer>
<type>Quadrotor x</type>
<output name="AUX1">feed-through of RC AUX1 channel</output>
<output name="AUX2">feed-through of RC AUX2 channel</output>
<output name="AUX3">feed-through of RC AUX3 channel</output>
</airframe>
<airframe id="10020" maintainer="Lorenz Meier &lt;lorenz@px4.io&gt;" name="3DR DIY Quad">
<maintainer>Lorenz Meier &lt;lorenz@px4.io&gt;</maintainer>
<airframe id="4012" maintainer="Pavel Kirienko &lt;pavel@px4.io&gt;" name="F450-sized quadrotor with CAN">
<maintainer>Pavel Kirienko &lt;pavel@px4.io&gt;</maintainer>
<type>Quadrotor x</type>
</airframe>
<airframe id="4020" maintainer="Thomas Gubler &lt;thomas@px4.io&gt;" name="Hobbyking Micro PCB">
<maintainer>Thomas Gubler &lt;thomas@px4.io&gt;</maintainer>
<type>Quadrotor x</type>
</airframe>
<airframe id="4030" maintainer="Andreas Antener &lt;andreas@uaventure.com&gt;" name="3DR Solo">
<maintainer>Andreas Antener &lt;andreas@uaventure.com&gt;</maintainer>
<type>Quadrotor x</type>
</airframe>
<airframe id="4001" maintainer="Lorenz Meier &lt;lorenz@px4.io&gt;" name="Generic Quadrotor X config">
<maintainer>Lorenz Meier &lt;lorenz@px4.io&gt;</maintainer>
<airframe id="4040" maintainer="Blankered" name="Reaper 500 Quad">
<maintainer>Blankered</maintainer>
<type>Quadrotor x</type>
<output name="AUX1">feed-through of RC AUX1 channel</output>
<output name="AUX2">feed-through of RC AUX2 channel</output>
<output name="AUX3">feed-through of RC AUX3 channel</output>
</airframe>
<airframe id="4050" maintainer="Mark Whitehorn &lt;kd0aij@gmail.com&gt;" name="Generic 250 Racer">
<maintainer>Mark Whitehorn &lt;kd0aij@gmail.com&gt;</maintainer>
......@@ -242,28 +257,13 @@
<output name="AUX2">feed-through of RC AUX2 channel</output>
<output name="AUX3">feed-through of RC AUX3 channel</output>
</airframe>
<airframe id="4009" maintainer="Mark Whitehorn &lt;kd0aij@gmail.com&gt;" name="Lumenier QAV250">
<maintainer>Mark Whitehorn &lt;kd0aij@gmail.com&gt;</maintainer>
<type>Quadrotor x</type>
<output name="AUX1">feed-through of RC AUX1 channel</output>
<output name="AUX2">feed-through of RC AUX2 channel</output>
<output name="AUX3">feed-through of RC AUX3 channel</output>
</airframe>
<airframe id="4012" maintainer="Pavel Kirienko &lt;pavel@px4.io&gt;" name="F450-sized quadrotor with CAN">
<maintainer>Pavel Kirienko &lt;pavel@px4.io&gt;</maintainer>
<type>Quadrotor x</type>
</airframe>
<airframe id="4011" maintainer="Lorenz Meier &lt;lorenz@px4.io&gt;" name="DJI Flame Wheel F450">
<maintainer>Lorenz Meier &lt;lorenz@px4.io&gt;</maintainer>
<airframe id="4060" maintainer="James Goppert &lt;james.goppert@gmail.com&gt;" name="DJI Matrice 100">
<maintainer>James Goppert &lt;james.goppert@gmail.com&gt;</maintainer>
<type>Quadrotor x</type>
<output name="AUX1">feed-through of RC AUX1 channel</output>
<output name="AUX2">feed-through of RC AUX2 channel</output>
<output name="AUX3">feed-through of RC AUX3 channel</output>
</airframe>
<airframe id="4008" maintainer="Lorenz Meier &lt;lorenz@px4.io&gt;" name="AR.Drone Frame">
<maintainer>Lorenz Meier &lt;lorenz@px4.io&gt;</maintainer>
<type>Quadrotor x</type>
</airframe>
</airframe_group>
<airframe_group image="Rover" name="Rover">
<airframe id="50001" maintainer="John Doe &lt;john@example.com&gt;" name="Axial Racing AX10">
......@@ -271,14 +271,6 @@
</airframe>
</airframe_group>
<airframe_group image="AirframeSimulation" name="Simulation">
<airframe id="1003" maintainer="Anton Babushkin &lt;anton@px4.io&gt;" name="HIL Quadcopter +">
<maintainer>Anton Babushkin &lt;anton@px4.io&gt;</maintainer>
<type>Simulation</type>
</airframe>
<airframe id="1004" maintainer="Thomas Gubler &lt;thomas@px4.io&gt;" name="HIL Rascal 110 (Flightgear)">
<maintainer>Thomas Gubler &lt;thomas@px4.io&gt;</maintainer>
<type>Simulation</type>
</airframe>
<airframe id="1000" maintainer="Lorenz Meier &lt;lorenz@px4.io&gt;" name="HILStar (XPlane)">
<maintainer>Lorenz Meier &lt;lorenz@px4.io&gt;</maintainer>
<type>Simulation</type>
......@@ -291,27 +283,25 @@
<maintainer>Anton Babushkin &lt;anton@px4.io&gt;</maintainer>
<type>Simulation</type>
</airframe>
<airframe id="1003" maintainer="Anton Babushkin &lt;anton@px4.io&gt;" name="HIL Quadcopter +">
<maintainer>Anton Babushkin &lt;anton@px4.io&gt;</maintainer>
<type>Simulation</type>
</airframe>
<airframe id="1004" maintainer="Thomas Gubler &lt;thomas@px4.io&gt;" name="HIL Rascal 110 (Flightgear)">
<maintainer>Thomas Gubler &lt;thomas@px4.io&gt;</maintainer>
<type>Simulation</type>
</airframe>
<airframe id="1005" maintainer="Thomas Gubler &lt;thomas@px4.io&gt;" name="HIL Malolo 1 (Flightgear)">
<maintainer>Thomas Gubler &lt;thomas@px4.io&gt;</maintainer>
<type>Simulation</type>
</airframe>
</airframe_group>
<airframe_group image="Plane" name="Standard Plane">
<airframe id="2105" maintainer="Andreas Antener &lt;andreas@uaventure.com&gt;" name="Bormatec Maja">
<maintainer>Andreas Antener &lt;andreas@uaventure.com&gt;</maintainer>
<airframe id="2100" maintainer="Lorenz Meier &lt;lorenz@px4.io&gt;" name="Multiplex Easystar">
<maintainer>Lorenz Meier &lt;lorenz@px4.io&gt;</maintainer>
<type>Standard Plane</type>
<output name="AUX1">feed-through of RC AUX1 channel</output>
<output name="AUX2">feed-through of RC AUX2 channel</output>
<output name="AUX3">feed-through of RC AUX3 channel</output>
<output name="MAIN1">aileron</output>
<output name="MAIN2">aileron</output>
<output name="MAIN3">elevator</output>
<output name="MAIN4">rudder</output>
<output name="MAIN5">throttle</output>
<output name="MAIN6">wheel</output>
<output name="MAIN7">flaps</output>
</airframe>
<airframe id="2104" maintainer="Lorenz Meier &lt;lorenz@px4.io&gt;" name="Standard AETR Plane">
<airframe id="2101" maintainer="Lorenz Meier &lt;lorenz@px4.io&gt;" name="Standard AERT Plane">
<maintainer>Lorenz Meier &lt;lorenz@px4.io&gt;</maintainer>
<type>Standard Plane</type>
<output name="AUX1">feed-through of RC AUX1 channel</output>
......@@ -319,8 +309,8 @@
<output name="AUX3">feed-through of RC AUX3 channel</output>
<output name="MAIN1">aileron</output>
<output name="MAIN2">elevator</output>
<output name="MAIN3">throttle</output>
<output name="MAIN4">rudder</output>
<output name="MAIN3">rudder</output>
<output name="MAIN4">throttle</output>
<output name="MAIN5">flaps</output>
</airframe>
<airframe id="2102" maintainer="Lorenz Meier &lt;lorenz@px4.io&gt;" name="Skywalker (3DR Aero)">
......@@ -335,11 +325,17 @@
<output name="MAIN4">rudder</output>
<output name="MAIN5">flaps</output>
</airframe>
<airframe id="2100" maintainer="Lorenz Meier &lt;lorenz@px4.io&gt;" name="Multiplex Easystar">
<airframe id="2103" maintainer="Lorenz Meier &lt;lorenz@px4.io&gt;" name="Skyhunter 1800">
<maintainer>Lorenz Meier &lt;lorenz@px4.io&gt;</maintainer>
<type>Standard Plane</type>
<output name="AUX1">feed-through of RC AUX1 channel</output>
<output name="AUX2">feed-through of RC AUX2 channel</output>
<output name="AUX3">feed-through of RC AUX3 channel</output>
<output name="MAIN1">aileron</output>
<output name="MAIN2">elevator</output>
<output name="MAIN4">throttle</output>
</airframe>
<airframe id="2101" maintainer="Lorenz Meier &lt;lorenz@px4.io&gt;" name="Standard AERT Plane">
<airframe id="2104" maintainer="Lorenz Meier &lt;lorenz@px4.io&gt;" name="Standard AETR Plane">
<maintainer>Lorenz Meier &lt;lorenz@px4.io&gt;</maintainer>
<type>Standard Plane</type>
<output name="AUX1">feed-through of RC AUX1 channel</output>
......@@ -347,22 +343,30 @@
<output name="AUX3">feed-through of RC AUX3 channel</output>
<output name="MAIN1">aileron</output>
<output name="MAIN2">elevator</output>
<output name="MAIN3">rudder</output>
<output name="MAIN4">throttle</output>
<output name="MAIN3">throttle</output>
<output name="MAIN4">rudder</output>
<output name="MAIN5">flaps</output>
</airframe>
<airframe id="2103" maintainer="Lorenz Meier &lt;lorenz@px4.io&gt;" name="Skyhunter 1800">
<maintainer>Lorenz Meier &lt;lorenz@px4.io&gt;</maintainer>
<airframe id="2105" maintainer="Andreas Antener &lt;andreas@uaventure.com&gt;" name="Bormatec Maja">
<maintainer>Andreas Antener &lt;andreas@uaventure.com&gt;</maintainer>
<type>Standard Plane</type>
<output name="AUX1">feed-through of RC AUX1 channel</output>
<output name="AUX2">feed-through of RC AUX2 channel</output>
<output name="AUX3">feed-through of RC AUX3 channel</output>
<output name="MAIN1">aileron</output>
<output name="MAIN2">elevator</output>
<output name="MAIN4">throttle</output>
<output name="MAIN2">aileron</output>
<output name="MAIN3">elevator</output>
<output name="MAIN4">rudder</output>
<output name="MAIN5">throttle</output>
<output name="MAIN6">wheel</output>
<output name="MAIN7">flaps</output>
</airframe>
</airframe_group>
<airframe_group image="VTOLPlane" name="Standard VTOL">
<airframe id="13005" maintainer="Simon Wilks &lt;simon@uaventure.com&gt;" name="Fun Cub Quad VTOL.">
<maintainer>Simon Wilks &lt;simon@uaventure.com&gt;</maintainer>
<type>Standard VTOL</type>
</airframe>
<airframe id="13006" maintainer="Simon Wilks &lt;simon@uaventure.com&gt;" name="Generic quad delta VTOL.">
<maintainer>Simon Wilks &lt;simon@uaventure.com&gt;</maintainer>
<type>Standard VTOL</type>
......@@ -379,10 +383,6 @@
<maintainer>Andreas Antener &lt;andreas@uaventure.com&gt;</maintainer>
<type>Standard VTOL</type>
</airframe>
<airframe id="13005" maintainer="Simon Wilks &lt;simon@uaventure.com&gt;" name="Fun Cub Quad VTOL.">
<maintainer>Simon Wilks &lt;simon@uaventure.com&gt;</maintainer>
<type>Standard VTOL</type>
</airframe>
</airframe_group>
<airframe_group image="YPlus" name="Tricopter Y+">
<airframe id="14001" maintainer="Trent Lukaczyk &lt;aerialhedgehog@gmail.com&gt;" name="Generic Tricopter Y+ Geometry">
......@@ -407,11 +407,11 @@
</airframe>
</airframe_group>
<airframe_group image="VTOLQuadRotorTailSitter" name="VTOL Quad Tailsitter">
<airframe id="13004" maintainer="Roman Bapst &lt;roman@px4.io&gt;" name="Quadrotor + Tailsitter">
<airframe id="13003" maintainer="Roman Bapst &lt;roman@px4.io&gt;" name="Quadrotor X Tailsitter">
<maintainer>Roman Bapst &lt;roman@px4.io&gt;</maintainer>
<type>VTOL Quad Tailsitter</type>
</airframe>
<airframe id="13003" maintainer="Roman Bapst &lt;roman@px4.io&gt;" name="Quadrotor X Tailsitter">
<airframe id="13004" maintainer="Roman Bapst &lt;roman@px4.io&gt;" name="Quadrotor + Tailsitter">
<maintainer>Roman Bapst &lt;roman@px4.io&gt;</maintainer>
<type>VTOL Quad Tailsitter</type>
</airframe>
......
......@@ -193,6 +193,26 @@ Item {
indexModel: false
}
}
Row {
spacing: ScreenTools.defaultFontPixelWidth
property Fact fact: controller.getParameterFact(-1, "RC_MAP_TRANS_SW", false)
visible: (controller.vehicle.vtol && controller.parameterExists(-1, "RC_MAP_TRANS_SW"))
QGCLabel {
anchors.baseline: vtolCombo.baseline
text: "VTOL mode switch:"
color: parent.fact.value == 0 ? qgcPal.text : (controller.rcChannelValues[parent.fact.value - 1] >= 1500 ? "yellow" : qgcPal.text)
}
FactComboBox {
id: vtolCombo
width: _channelComboWidth
fact: parent.fact
indexModel: false
}
}
} // Column
} // Rectangle
......
......@@ -140,52 +140,52 @@
<group name="Attitude EKF estimator">
<parameter default="1e-4" name="EKF_ATT_V3_Q0" type="FLOAT">
<short_desc>Body angular rate process noise</short_desc>
<scope>modules/attitude_estimator_ekf</scope>
<scope>examples/attitude_estimator_ekf</scope>
</parameter>
<parameter default="0.08" name="EKF_ATT_V3_Q1" type="FLOAT">
<short_desc>Body angular acceleration process noise</short_desc>
<scope>modules/attitude_estimator_ekf</scope>
<scope>examples/attitude_estimator_ekf</scope>
</parameter>
<parameter default="0.009" name="EKF_ATT_V3_Q2" type="FLOAT">
<short_desc>Acceleration process noise</short_desc>
<scope>modules/attitude_estimator_ekf</scope>
<scope>examples/attitude_estimator_ekf</scope>
</parameter>
<parameter default="0.005" name="EKF_ATT_V3_Q3" type="FLOAT">
<short_desc>Magnet field vector process noise</short_desc>
<scope>modules/attitude_estimator_ekf</scope>
<scope>examples/attitude_estimator_ekf</scope>
</parameter>
<parameter default="0.0008" name="EKF_ATT_V4_R0" type="FLOAT">
<short_desc>Gyro measurement noise</short_desc>
<scope>modules/attitude_estimator_ekf</scope>
<scope>examples/attitude_estimator_ekf</scope>
</parameter>
<parameter default="10000.0" name="EKF_ATT_V4_R1" type="FLOAT">
<short_desc>Accel measurement noise</short_desc>
<scope>modules/attitude_estimator_ekf</scope>
<scope>examples/attitude_estimator_ekf</scope>
</parameter>
<parameter default="100.0" name="EKF_ATT_V4_R2" type="FLOAT">
<short_desc>Mag measurement noise</short_desc>
<scope>modules/attitude_estimator_ekf</scope>
<scope>examples/attitude_estimator_ekf</scope>
</parameter>
<parameter default="0.0018" name="ATT_J11" type="FLOAT">
<short_desc>Moment of inertia matrix diagonal entry (1, 1)</short_desc>
<unit>kg*m^2</unit>
<scope>modules/attitude_estimator_ekf</scope>
<scope>examples/attitude_estimator_ekf</scope>
</parameter>
<parameter default="0.0018" name="ATT_J22" type="FLOAT">
<short_desc>Moment of inertia matrix diagonal entry (2, 2)</short_desc>
<unit>kg*m^2</unit>
<scope>modules/attitude_estimator_ekf</scope>
<scope>examples/attitude_estimator_ekf</scope>
</parameter>
<parameter default="0.0037" name="ATT_J33" type="FLOAT">
<short_desc>Moment of inertia matrix diagonal entry (3, 3)</short_desc>
<unit>kg*m^2</unit>
<scope>modules/attitude_estimator_ekf</scope>
<scope>examples/attitude_estimator_ekf</scope>
</parameter>
<parameter default="0" name="ATT_J_EN" type="INT32">
<short_desc>Moment of inertia enabled in estimator</short_desc>
<long_desc>If set to != 0 the moment of inertia will be used in the estimator</long_desc>
<boolean />
<scope>modules/attitude_estimator_ekf</scope>
<scope>examples/attitude_estimator_ekf</scope>
</parameter>
</group>
<group name="Attitude Q estimator">
......@@ -393,6 +393,16 @@ velocity</short_desc>
</parameter>
</group>
<group name="Camera trigger">
<parameter default="2" name="TRIG_INTERFACE" type="INT32">
<short_desc>Camera trigger Interface</short_desc>
<long_desc>Selects the trigger interface</long_desc>
<reboot_required>true</reboot_required>
<scope>drivers/camera_trigger</scope>
<values>
<value code="1">GPIO</value>
<value code="2">Seagull MAP2 (PWM)</value>
</values>
</parameter>
<parameter default="40.0" name="TRIG_INTERVAL" type="FLOAT">
<short_desc>Camera trigger interval</short_desc>
<long_desc>This parameter sets the time between two consecutive trigger events</long_desc>
......@@ -417,7 +427,7 @@ velocity</short_desc>
<short_desc>Camera trigger activation time</short_desc>
<long_desc>This parameter sets the time the trigger needs to pulled high or low.</long_desc>
<min>0.1</min>
<max>3</max>
<max>3000</max>
<unit>ms</unit>
<decimal>1</decimal>
<scope>drivers/camera_trigger</scope>
......@@ -436,9 +446,9 @@ velocity</short_desc>
<value code="4">Distance, mission controlled</value>
</values>
</parameter>
<parameter default="12" name="TRIG_PINS" type="INT32">
<parameter default="6" name="TRIG_PINS" type="INT32">
<short_desc>Camera trigger pin</short_desc>
<long_desc>Selects which pin is used, ranges from 1 to 6 (AUX1-AUX6)</long_desc>
<long_desc>Selects which pin is used, ranges from 1 to 6 (AUX1-AUX6 on px4fmu-v2 and the rail pins on px4fmu-v4). The PWM interface takes two pins per camera, while relay triggers on every pin individually. Example: Value 34 would trigger on pins 3 and 4.</long_desc>
<min>1</min>
<max>123456</max>
<decimal>0</decimal>
......@@ -679,31 +689,6 @@ See COM_OBL_ACT and COM_OBL_RC_ACT to configure action</short_desc>
</parameter>
</group>
<group name="Data Link Loss">
<parameter default="-265847810" name="NAV_AH_LAT" type="INT32">
<short_desc>Airfield home Lat</short_desc>
<long_desc>Latitude of airfield home waypoint</long_desc>
<min>-900000000</min>
<max>900000000</max>
<unit>deg * 1e7</unit>
<scope>modules/navigator</scope>
</parameter>
<parameter default="1518423250" name="NAV_AH_LON" type="INT32">
<short_desc>Airfield home Lon</short_desc>
<long_desc>Longitude of airfield home waypoint</long_desc>
<min>-1800000000</min>
<max>1800000000</max>
<unit>deg * 1e7</unit>
<scope>modules/navigator</scope>
</parameter>
<parameter default="600.0" name="NAV_AH_ALT" type="FLOAT">
<short_desc>Airfield home alt</short_desc>
<long_desc>Altitude of airfield home waypoint</long_desc>
<min>-50</min>
<unit>m</unit>
<decimal>1</decimal>
<increment>0.5</increment>
<scope>modules/navigator</scope>
</parameter>
<parameter default="120.0" name="NAV_DLL_CH_T" type="FLOAT">
<short_desc>Comms hold wait time</short_desc>
<long_desc>The amount of time in seconds the system should wait at the comms hold waypoint</long_desc>
......@@ -763,6 +748,31 @@ See COM_OBL_ACT and COM_OBL_RC_ACT to configure action</short_desc>
<boolean />
<scope>modules/navigator</scope>
</parameter>
<parameter default="-265847810" name="NAV_AH_LAT" type="INT32">
<short_desc>Airfield home Lat</short_desc>
<long_desc>Latitude of airfield home waypoint</long_desc>
<min>-900000000</min>
<max>900000000</max>
<unit>deg * 1e7</unit>
<scope>modules/navigator</scope>
</parameter>
<parameter default="1518423250" name="NAV_AH_LON" type="INT32">
<short_desc>Airfield home Lon</short_desc>
<long_desc>Longitude of airfield home waypoint</long_desc>
<min>-1800000000</min>
<max>1800000000</max>
<unit>deg * 1e7</unit>
<scope>modules/navigator</scope>
</parameter>
<parameter default="600.0" name="NAV_AH_ALT" type="FLOAT">
<short_desc>Airfield home alt</short_desc>
<long_desc>Altitude of airfield home waypoint</long_desc>
<min>-50</min>
<unit>m</unit>
<decimal>1</decimal>
<increment>0.5</increment>
<scope>modules/navigator</scope>
</parameter>
</group>
<group name="EKF2">
<parameter default="0" name="EKF2_MAG_DELAY" type="FLOAT">
......@@ -1661,6 +1671,34 @@ value will determine the minimum airspeed which will still be fused</short_desc>
<value code="2">declare airspeed invalid</value>
</values>
</parameter>
<parameter default="1.0" name="FW_MAN_R_SC" type="FLOAT">
<short_desc>Manual roll scale</short_desc>
<long_desc>Scale factor applied to the desired roll actuator command in full manual mode. This parameter allows to adjust the throws of the control surfaces.</long_desc>
<min>0.0</min>
<max>1.0</max>
<unit>norm</unit>
<decimal>2</decimal>
<increment>0.01</increment>
<scope>modules/fw_att_control</scope>
</parameter>
<parameter default="1.0" name="FW_MAN_P_SC" type="FLOAT">
<short_desc>Manual pitch scale</short_desc>
<long_desc>Scale factor applied to the desired pitch actuator command in full manual mode. This parameter allows to adjust the throws of the control surfaces.</long_desc>
<min>0.0</min>
<unit>norm</unit>
<decimal>2</decimal>
<increment>0.01</increment>
<scope>modules/fw_att_control</scope>
</parameter>
<parameter default="1.0" name="FW_MAN_Y_SC" type="FLOAT">
<short_desc>Manual yaw scale</short_desc>
<long_desc>Scale factor applied to the desired yaw actuator command in full manual mode. This parameter allows to adjust the throws of the control surfaces.</long_desc>
<min>0.0</min>
<unit>norm</unit>
<decimal>2</decimal>
<increment>0.01</increment>
<scope>modules/fw_att_control</scope>
</parameter>
</group>
<group name="FW L1 Control">
<parameter default="20.0" name="FW_L1_PERIOD" type="FLOAT">
......@@ -2079,7 +2117,7 @@ but also ignore less noise</short_desc>
<group name="GPS">
<parameter default="0" name="GPS_DUMP_COMM" type="INT32">
<short_desc>Dump GPS communication to a file</short_desc>
<long_desc>If this is set to 1, all GPS communication data will be written to a file. Two files will be created, for reading and writing. All communication from startup until device disarm will be dumped.</long_desc>
<long_desc>If this is set to 1, all GPS communication data will be published via uORB, and written to the log file as gps_dump message.</long_desc>
<min>0</min>
<max>1</max>
<scope>drivers/gps</scope>
......@@ -2536,11 +2574,11 @@ EPV used if greater than this value</short_desc>
<decimal>8</decimal>
<scope>modules/local_position_estimator</scope>
</parameter>
<parameter default="1e-1" name="LPE_PN_T" type="FLOAT">
<short_desc>Terrain random walk noise density, hilly/outdoor (1e-1), flat/Indoor (1e-3)</short_desc>
<parameter default="1.0" name="LPE_T_MAX_GRADE" type="FLOAT">
<short_desc>Terrain maximum percent grade, hilly/outdoor (100 = 45 deg), flat/Indoor (0 = 0 deg)</short_desc>
<min>0</min>
<max>1</max>
<unit>m/s/sqrt(Hz)</unit>
<max>100</max>
<unit>%</unit>
<decimal>3</decimal>
<scope>modules/local_position_estimator</scope>
</parameter>
......@@ -2553,7 +2591,7 @@ EPV used if greater than this value</short_desc>
<scope>modules/local_position_estimator</scope>
</parameter>
<parameter default="40.430" name="LPE_LAT" type="FLOAT">
<short_desc>Home latitude for nav w/o GPS</short_desc>
<short_desc>Local origin latitude for nav w/o GPS</short_desc>
<min>-90</min>
<max>90</max>
<unit>deg</unit>
......@@ -2561,7 +2599,7 @@ EPV used if greater than this value</short_desc>
<scope>modules/local_position_estimator</scope>
</parameter>
<parameter default="-86.929" name="LPE_LON" type="FLOAT">
<short_desc>Home longitude for nav w/o GPS</short_desc>
<short_desc>Local origin longitude for nav w/o GPS</short_desc>
<min>-180</min>
<max>180</max>
<unit>deg</unit>
......@@ -2726,48 +2764,6 @@ EPV used if greater than this value</short_desc>
<value code="4">Land at current position</value>
</values>
</parameter>
<parameter default="50.0" name="NAV_LOITER_RAD" type="FLOAT">
<short_desc>Loiter radius (FW only)</short_desc>
<long_desc>Default value of loiter radius for missions, loiter, RTL, etc. (fixedwing only).</long_desc>
<min>25</min>
<max>1000</max>
<unit>m</unit>
<decimal>1</decimal>
<increment>0.5</increment>
<scope>modules/navigator</scope>
</parameter>
<parameter default="10.0" name="NAV_ACC_RAD" type="FLOAT">
<short_desc>Acceptance Radius</short_desc>
<long_desc>Default acceptance radius, overridden by acceptance radius of waypoint if set.</long_desc>
<min>0.05</min>
<max>200.0</max>
<unit>m</unit>
<decimal>1</decimal>
<increment>0.5</increment>
<scope>modules/navigator</scope>
</parameter>
<parameter default="0" name="NAV_DLL_ACT" type="INT32">
<short_desc>Set data link loss failsafe mode</short_desc>
<long_desc>The data link loss failsafe will only be entered after a timeout, set by COM_DL_LOSS_T in seconds. Once the timeout occurs the selected action will be executed. Setting this parameter to 4 will enable CASA Outback Challenge rules, which are only recommended to participants of that competition.</long_desc>
<scope>modules/navigator</scope>
<values>
<value code="1">Loiter</value>
<value code="0">Disabled</value>
<value code="3">Land at current position</value>
<value code="2">Return to Land</value>
</values>
</parameter>
<parameter default="2" name="NAV_RCL_ACT" type="INT32">
<short_desc>Set RC loss failsafe mode</short_desc>
<long_desc>The RC loss failsafe will only be entered after a timeout, set by COM_RC_LOSS_T in seconds. If RC input checks have been disabled by setting the COM_RC_IN_MODE param it will not be triggered. Setting this parameter to 4 will enable CASA Outback Challenge rules, which are only recommended to participants of that competition.</long_desc>
<scope>modules/navigator</scope>
<values>
<value code="1">Loiter</value>
<value code="0">Disabled</value>
<value code="3">Land at current position</value>
<value code="2">Return to Land</value>
</values>
</parameter>
<parameter default="10.0" name="MIS_TAKEOFF_ALT" type="FLOAT">
<short_desc>Take-off altitude</short_desc>
<long_desc>This is the minimum altitude the system will take off to.</long_desc>
......@@ -2857,117 +2853,308 @@ EPV used if greater than this value</short_desc>
<boolean />
<scope>modules/navigator</scope>
</parameter>
</group>
<group name="Multicopter Attitude Control">
<parameter default="0.2" name="MC_ROLL_TC" type="FLOAT">
<short_desc>Roll time constant</short_desc>
<long_desc>Reduce if the system is too twitchy, increase if the response is too slow and sluggish.</long_desc>
<min>0.15</min>
<max>0.25</max>
<unit>s</unit>
<decimal>2</decimal>
<increment>0.01</increment>
<scope>modules/mc_att_control</scope>
<parameter default="50.0" name="NAV_LOITER_RAD" type="FLOAT">
<short_desc>Loiter radius (FW only)</short_desc>
<long_desc>Default value of loiter radius for missions, loiter, RTL, etc. (fixedwing only).</long_desc>
<min>25</min>
<max>1000</max>
<unit>m</unit>
<decimal>1</decimal>
<increment>0.5</increment>
<scope>modules/navigator</scope>
</parameter>
<parameter default="0.2" name="MC_PITCH_TC" type="FLOAT">
<short_desc>Pitch time constant</short_desc>
<long_desc>Reduce if the system is too twitchy, increase if the response is too slow and sluggish.</long_desc>
<min>0.15</min>
<max>0.25</max>
<unit>s</unit>
<decimal>2</decimal>
<increment>0.01</increment>
<scope>modules/mc_att_control</scope>
<parameter default="10.0" name="NAV_ACC_RAD" type="FLOAT">
<short_desc>Acceptance Radius</short_desc>
<long_desc>Default acceptance radius, overridden by acceptance radius of waypoint if set. For fixed wing the L1 turning distance is used for horizontal acceptance.</long_desc>
<min>0.05</min>
<max>200.0</max>
<unit>m</unit>
<decimal>1</decimal>
<increment>0.5</increment>
<scope>modules/navigator</scope>
</parameter>
<parameter default="6.5" name="MC_ROLL_P" type="FLOAT">
<parameter default="10.0" name="NAV_FW_ALT_RAD" type="FLOAT">
<short_desc>FW Altitude Acceptance Radius</short_desc>
<long_desc>Acceptance radius for fixedwing altitude.</long_desc>
<min>0.05</min>
<max>200.0</max>
<unit>m</unit>
<decimal>1</decimal>
<increment>0.5</increment>
<scope>modules/navigator</scope>
</parameter>
<parameter default="3.0" name="NAV_MC_ALT_RAD" type="FLOAT">
<short_desc>MC Altitude Acceptance Radius</short_desc>
<long_desc>Acceptance radius for multicopter altitude.</long_desc>
<min>0.05</min>
<max>200.0</max>
<unit>m</unit>
<decimal>1</decimal>
<increment>0.5</increment>
<scope>modules/navigator</scope>
</parameter>
<parameter default="0" name="NAV_DLL_ACT" type="INT32">
<short_desc>Set data link loss failsafe mode</short_desc>
<long_desc>The data link loss failsafe will only be entered after a timeout, set by COM_DL_LOSS_T in seconds. Once the timeout occurs the selected action will be executed. Setting this parameter to 4 will enable CASA Outback Challenge rules, which are only recommended to participants of that competition.</long_desc>
<scope>modules/navigator</scope>
<values>
<value code="1">Loiter</value>
<value code="0">Disabled</value>
<value code="3">Land at current position</value>
<value code="2">Return to Land</value>
</values>
</parameter>
<parameter default="2" name="NAV_RCL_ACT" type="INT32">
<short_desc>Set RC loss failsafe mode</short_desc>
<long_desc>The RC loss failsafe will only be entered after a timeout, set by COM_RC_LOSS_T in seconds. If RC input checks have been disabled by setting the COM_RC_IN_MODE param it will not be triggered. Setting this parameter to 4 will enable CASA Outback Challenge rules, which are only recommended to participants of that competition.</long_desc>
<scope>modules/navigator</scope>
<values>
<value code="1">Loiter</value>
<value code="0">Disabled</value>
<value code="3">Land at current position</value>
<value code="2">Return to Land</value>
</values>
</parameter>
</group>
<group name="Multicopter Attitude Control">
<parameter default="6.0" name="MP_ROLL_P" type="FLOAT">
<short_desc>Roll P gain</short_desc>
<long_desc>Roll proportional gain, i.e. desired angular speed in rad/s for error 1 rad.</long_desc>
<min>0.0</min>
<max>8</max>
<decimal>2</decimal>
<increment>0.1</increment>
<scope>modules/mc_att_control</scope>
<scope>examples/mc_att_control_multiplatform</scope>
</parameter>
<parameter default="0.15" name="MC_ROLLRATE_P" type="FLOAT">
<parameter default="0.1" name="MP_ROLLRATE_P" type="FLOAT">
<short_desc>Roll rate P gain</short_desc>
<long_desc>Roll rate proportional gain, i.e. control output for angular speed error 1 rad/s.</long_desc>
<min>0.0</min>
<max>0.5</max>
<decimal>3</decimal>
<increment>0.01</increment>
<scope>modules/mc_att_control</scope>
<scope>examples/mc_att_control_multiplatform</scope>
</parameter>
<parameter default="0.05" name="MC_ROLLRATE_I" type="FLOAT">
<parameter default="0.0" name="MP_ROLLRATE_I" type="FLOAT">
<short_desc>Roll rate I gain</short_desc>
<long_desc>Roll rate integral gain. Can be set to compensate static thrust difference or gravity center offset.</long_desc>
<min>0.0</min>
<decimal>3</decimal>
<increment>0.01</increment>
<scope>modules/mc_att_control</scope>
<scope>examples/mc_att_control_multiplatform</scope>
</parameter>
<parameter default="0.003" name="MC_ROLLRATE_D" type="FLOAT">
<parameter default="0.002" name="MP_ROLLRATE_D" type="FLOAT">
<short_desc>Roll rate D gain</short_desc>
<long_desc>Roll rate differential gain. Small values help reduce fast oscillations. If value is too big oscillations will appear again.</long_desc>
<min>0.0</min>
<max>0.01</max>
<decimal>4</decimal>
<increment>0.0005</increment>
<scope>modules/mc_att_control</scope>
</parameter>
<parameter default="0.0" name="MC_ROLLRATE_FF" type="FLOAT">
<short_desc>Roll rate feedforward</short_desc>
<long_desc>Improves tracking performance.</long_desc>
<min>0.0</min>
<decimal>4</decimal>
<scope>modules/mc_att_control</scope>
<scope>examples/mc_att_control_multiplatform</scope>
</parameter>
<parameter default="6.5" name="MC_PITCH_P" type="FLOAT">
<parameter default="6.0" name="MP_PITCH_P" type="FLOAT">
<short_desc>Pitch P gain</short_desc>
<long_desc>Pitch proportional gain, i.e. desired angular speed in rad/s for error 1 rad.</long_desc>
<min>0.0</min>
<max>10</max>
<unit>1/s</unit>
<decimal>2</decimal>
<increment>0.0005</increment>
<scope>modules/mc_att_control</scope>
<scope>examples/mc_att_control_multiplatform</scope>
</parameter>
<parameter default="0.15" name="MC_PITCHRATE_P" type="FLOAT">
<parameter default="0.1" name="MP_PITCHRATE_P" type="FLOAT">
<short_desc>Pitch rate P gain</short_desc>
<long_desc>Pitch rate proportional gain, i.e. control output for angular speed error 1 rad/s.</long_desc>
<min>0.0</min>
<max>0.6</max>
<decimal>3</decimal>
<increment>0.01</increment>
<scope>modules/mc_att_control</scope>
<scope>examples/mc_att_control_multiplatform</scope>
</parameter>
<parameter default="0.05" name="MC_PITCHRATE_I" type="FLOAT">
<parameter default="0.0" name="MP_PITCHRATE_I" type="FLOAT">
<short_desc>Pitch rate I gain</short_desc>
<long_desc>Pitch rate integral gain. Can be set to compensate static thrust difference or gravity center offset.</long_desc>
<min>0.0</min>
<decimal>3</decimal>
<increment>0.01</increment>
<scope>modules/mc_att_control</scope>
<scope>examples/mc_att_control_multiplatform</scope>
</parameter>
<parameter default="0.003" name="MC_PITCHRATE_D" type="FLOAT">
<parameter default="0.002" name="MP_PITCHRATE_D" type="FLOAT">
<short_desc>Pitch rate D gain</short_desc>
<long_desc>Pitch rate differential gain. Small values help reduce fast oscillations. If value is too big oscillations will appear again.</long_desc>
<min>0.0</min>
<decimal>4</decimal>
<increment>0.0005</increment>
<scope>modules/mc_att_control</scope>
</parameter>
<parameter default="0.0" name="MC_PITCHRATE_FF" type="FLOAT">
<short_desc>Pitch rate feedforward</short_desc>
<long_desc>Improves tracking performance.</long_desc>
<min>0.0</min>
<decimal>4</decimal>
<scope>modules/mc_att_control</scope>
<scope>examples/mc_att_control_multiplatform</scope>
</parameter>
<parameter default="2.8" name="MC_YAW_P" type="FLOAT">
<parameter default="2.0" name="MP_YAW_P" type="FLOAT">
<short_desc>Yaw P gain</short_desc>
<long_desc>Yaw proportional gain, i.e. desired angular speed in rad/s for error 1 rad.</long_desc>
<min>0.0</min>
<max>5</max>
<unit>1/s</unit>
<scope>examples/mc_att_control_multiplatform</scope>
</parameter>
<parameter default="0.3" name="MP_YAWRATE_P" type="FLOAT">
<short_desc>Yaw rate P gain</short_desc>
<long_desc>Yaw rate proportional gain, i.e. control output for angular speed error 1 rad/s.</long_desc>
<min>0.0</min>
<scope>examples/mc_att_control_multiplatform</scope>
</parameter>
<parameter default="0.0" name="MP_YAWRATE_I" type="FLOAT">
<short_desc>Yaw rate I gain</short_desc>
<long_desc>Yaw rate integral gain. Can be set to compensate static thrust difference or gravity center offset.</long_desc>
<min>0.0</min>
<scope>examples/mc_att_control_multiplatform</scope>
</parameter>
<parameter default="0.0" name="MP_YAWRATE_D" type="FLOAT">
<short_desc>Yaw rate D gain</short_desc>
<long_desc>Yaw rate differential gain. Small values help reduce fast oscillations. If value is too big oscillations will appear again.</long_desc>
<min>0.0</min>
<scope>examples/mc_att_control_multiplatform</scope>
</parameter>
<parameter default="0.5" name="MP_YAW_FF" type="FLOAT">
<short_desc>Yaw feed forward</short_desc>
<long_desc>Feed forward weight for manual yaw control. 0 will give slow responce and no overshot, 1 - fast responce and big overshot.</long_desc>
<min>0.0</min>
<max>1.0</max>
<scope>examples/mc_att_control_multiplatform</scope>
</parameter>
<parameter default="60.0" name="MP_YAWRATE_MAX" type="FLOAT">
<short_desc>Max yaw rate</short_desc>
<long_desc>Limit for yaw rate, has effect for large rotations in autonomous mode, to avoid large control output and mixer saturation.</long_desc>
<min>0.0</min>
<max>360.0</max>
<unit>deg/s</unit>
<scope>examples/mc_att_control_multiplatform</scope>
</parameter>
<parameter default="35.0" name="MP_ACRO_R_MAX" type="FLOAT">
<short_desc>Max acro roll rate</short_desc>
<min>0.0</min>
<max>360.0</max>
<unit>deg/s</unit>
<scope>examples/mc_att_control_multiplatform</scope>
</parameter>
<parameter default="35.0" name="MP_ACRO_P_MAX" type="FLOAT">
<short_desc>Max acro pitch rate</short_desc>
<min>0.0</min>
<max>360.0</max>
<unit>deg/s</unit>
<scope>examples/mc_att_control_multiplatform</scope>
</parameter>
<parameter default="120.0" name="MP_ACRO_Y_MAX" type="FLOAT">
<short_desc>Max acro yaw rate</short_desc>
<min>0.0</min>
<unit>deg/s</unit>
<scope>examples/mc_att_control_multiplatform</scope>
</parameter>
<parameter default="35.0" name="MPP_MAN_R_MAX" type="FLOAT">
<short_desc>Max manual roll</short_desc>
<min>0.0</min>
<max>90.0</max>
<unit>deg</unit>
<scope>examples/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="35.0" name="MPP_MAN_P_MAX" type="FLOAT">
<short_desc>Max manual pitch</short_desc>
<min>0.0</min>
<max>90.0</max>
<unit>deg</unit>
<scope>examples/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="120.0" name="MPP_MAN_Y_MAX" type="FLOAT">
<short_desc>Max manual yaw rate</short_desc>
<min>0.0</min>
<unit>deg/s</unit>
<scope>examples/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="0.2" name="MC_ROLL_TC" type="FLOAT">
<short_desc>Roll time constant</short_desc>
<long_desc>Reduce if the system is too twitchy, increase if the response is too slow and sluggish.</long_desc>
<min>0.15</min>
<max>0.25</max>
<unit>s</unit>
<decimal>2</decimal>
<increment>0.01</increment>
<scope>modules/mc_att_control</scope>
</parameter>
<parameter default="0.2" name="MC_PITCH_TC" type="FLOAT">
<short_desc>Pitch time constant</short_desc>
<long_desc>Reduce if the system is too twitchy, increase if the response is too slow and sluggish.</long_desc>
<min>0.15</min>
<max>0.25</max>
<unit>s</unit>
<decimal>2</decimal>
<increment>0.01</increment>
<scope>modules/mc_att_control</scope>
</parameter>
<parameter default="6.5" name="MC_ROLL_P" type="FLOAT">
<short_desc>Roll P gain</short_desc>
<long_desc>Roll proportional gain, i.e. desired angular speed in rad/s for error 1 rad.</long_desc>
<min>0.0</min>
<max>8</max>
<decimal>2</decimal>
<increment>0.1</increment>
<scope>modules/mc_att_control</scope>
</parameter>
<parameter default="0.15" name="MC_ROLLRATE_P" type="FLOAT">
<short_desc>Roll rate P gain</short_desc>
<long_desc>Roll rate proportional gain, i.e. control output for angular speed error 1 rad/s.</long_desc>
<min>0.0</min>
<max>0.5</max>
<decimal>3</decimal>
<increment>0.01</increment>
<scope>modules/mc_att_control</scope>
</parameter>
<parameter default="0.05" name="MC_ROLLRATE_I" type="FLOAT">
<short_desc>Roll rate I gain</short_desc>
<long_desc>Roll rate integral gain. Can be set to compensate static thrust difference or gravity center offset.</long_desc>
<min>0.0</min>
<decimal>3</decimal>
<increment>0.01</increment>
<scope>modules/mc_att_control</scope>
</parameter>
<parameter default="0.003" name="MC_ROLLRATE_D" type="FLOAT">
<short_desc>Roll rate D gain</short_desc>
<long_desc>Roll rate differential gain. Small values help reduce fast oscillations. If value is too big oscillations will appear again.</long_desc>
<min>0.0</min>
<max>0.01</max>
<decimal>4</decimal>
<increment>0.0005</increment>
<scope>modules/mc_att_control</scope>
</parameter>
<parameter default="0.0" name="MC_ROLLRATE_FF" type="FLOAT">
<short_desc>Roll rate feedforward</short_desc>
<long_desc>Improves tracking performance.</long_desc>
<min>0.0</min>
<decimal>4</decimal>
<scope>modules/mc_att_control</scope>
</parameter>
<parameter default="6.5" name="MC_PITCH_P" type="FLOAT">
<short_desc>Pitch P gain</short_desc>
<long_desc>Pitch proportional gain, i.e. desired angular speed in rad/s for error 1 rad.</long_desc>
<min>0.0</min>
<max>10</max>
<unit>1/s</unit>
<decimal>2</decimal>
<increment>0.0005</increment>
<scope>modules/mc_att_control</scope>
</parameter>
<parameter default="0.15" name="MC_PITCHRATE_P" type="FLOAT">
<short_desc>Pitch rate P gain</short_desc>
<long_desc>Pitch rate proportional gain, i.e. control output for angular speed error 1 rad/s.</long_desc>
<min>0.0</min>
<max>0.6</max>
<decimal>3</decimal>
<increment>0.01</increment>
<scope>modules/mc_att_control</scope>
</parameter>
<parameter default="0.05" name="MC_PITCHRATE_I" type="FLOAT">
<short_desc>Pitch rate I gain</short_desc>
<long_desc>Pitch rate integral gain. Can be set to compensate static thrust difference or gravity center offset.</long_desc>
<min>0.0</min>
<decimal>3</decimal>
<increment>0.01</increment>
<scope>modules/mc_att_control</scope>
</parameter>
<parameter default="0.003" name="MC_PITCHRATE_D" type="FLOAT">
<short_desc>Pitch rate D gain</short_desc>
<long_desc>Pitch rate differential gain. Small values help reduce fast oscillations. If value is too big oscillations will appear again.</long_desc>
<min>0.0</min>
<decimal>4</decimal>
<increment>0.0005</increment>
<scope>modules/mc_att_control</scope>
</parameter>
<parameter default="0.0" name="MC_PITCHRATE_FF" type="FLOAT">
<short_desc>Pitch rate feedforward</short_desc>
<long_desc>Improves tracking performance.</long_desc>
<min>0.0</min>
<decimal>4</decimal>
<scope>modules/mc_att_control</scope>
</parameter>
<parameter default="2.8" name="MC_YAW_P" type="FLOAT">
<short_desc>Yaw P gain</short_desc>
<long_desc>Yaw proportional gain, i.e. desired angular speed in rad/s for error 1 rad.</long_desc>
<min>0.0</min>
<max>5</max>
<unit>1/s</unit>
<decimal>2</decimal>
<increment>0.1</increment>
......@@ -3091,137 +3278,114 @@ EPV used if greater than this value</short_desc>
<increment>0.01</increment>
<scope>modules/mc_att_control</scope>
</parameter>
<parameter default="6.0" name="MP_ROLL_P" type="FLOAT">
<short_desc>Roll P gain</short_desc>
<long_desc>Roll proportional gain, i.e. desired angular speed in rad/s for error 1 rad.</long_desc>
<min>0.0</min>
<scope>modules/mc_att_control_multiplatform</scope>
</parameter>
<parameter default="0.1" name="MP_ROLLRATE_P" type="FLOAT">
<short_desc>Roll rate P gain</short_desc>
<long_desc>Roll rate proportional gain, i.e. control output for angular speed error 1 rad/s.</long_desc>
<min>0.0</min>
<scope>modules/mc_att_control_multiplatform</scope>
</parameter>
<parameter default="0.0" name="MP_ROLLRATE_I" type="FLOAT">
<short_desc>Roll rate I gain</short_desc>
<long_desc>Roll rate integral gain. Can be set to compensate static thrust difference or gravity center offset.</long_desc>
<min>0.0</min>
<scope>modules/mc_att_control_multiplatform</scope>
</parameter>
<parameter default="0.002" name="MP_ROLLRATE_D" type="FLOAT">
<short_desc>Roll rate D gain</short_desc>
<long_desc>Roll rate differential gain. Small values help reduce fast oscillations. If value is too big oscillations will appear again.</long_desc>
</group>
<group name="Multicopter Position Control">
<parameter default="0.1" name="MPP_THR_MIN" type="FLOAT">
<short_desc>Minimum thrust</short_desc>
<long_desc>Minimum vertical thrust. It's recommended to set it &gt; 0 to avoid free fall with zero thrust.</long_desc>
<min>0.0</min>
<scope>modules/mc_att_control_multiplatform</scope>
<max>1.0</max>
<scope>examples/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="6.0" name="MP_PITCH_P" type="FLOAT">
<short_desc>Pitch P gain</short_desc>
<long_desc>Pitch proportional gain, i.e. desired angular speed in rad/s for error 1 rad.</long_desc>
<parameter default="1.0" name="MPP_THR_MAX" type="FLOAT">
<short_desc>Maximum thrust</short_desc>
<long_desc>Limit max allowed thrust.</long_desc>
<min>0.0</min>
<unit>1/s</unit>
<scope>modules/mc_att_control_multiplatform</scope>
<max>1.0</max>
<scope>examples/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="0.1" name="MP_PITCHRATE_P" type="FLOAT">
<short_desc>Pitch rate P gain</short_desc>
<long_desc>Pitch rate proportional gain, i.e. control output for angular speed error 1 rad/s.</long_desc>
<parameter default="1.0" name="MPP_Z_P" type="FLOAT">
<short_desc>Proportional gain for vertical position error</short_desc>
<min>0.0</min>
<scope>modules/mc_att_control_multiplatform</scope>
<scope>examples/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="0.0" name="MP_PITCHRATE_I" type="FLOAT">
<short_desc>Pitch rate I gain</short_desc>
<long_desc>Pitch rate integral gain. Can be set to compensate static thrust difference or gravity center offset.</long_desc>
<parameter default="0.1" name="MPP_Z_VEL_P" type="FLOAT">
<short_desc>Proportional gain for vertical velocity error</short_desc>
<min>0.0</min>
<scope>modules/mc_att_control_multiplatform</scope>
<scope>examples/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="0.002" name="MP_PITCHRATE_D" type="FLOAT">
<short_desc>Pitch rate D gain</short_desc>
<long_desc>Pitch rate differential gain. Small values help reduce fast oscillations. If value is too big oscillations will appear again.</long_desc>
<parameter default="0.02" name="MPP_Z_VEL_I" type="FLOAT">
<short_desc>Integral gain for vertical velocity error</short_desc>
<long_desc>Non zero value allows hovering thrust estimation on stabilized or autonomous takeoff.</long_desc>
<min>0.0</min>
<scope>modules/mc_att_control_multiplatform</scope>
<scope>examples/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="2.0" name="MP_YAW_P" type="FLOAT">
<short_desc>Yaw P gain</short_desc>
<long_desc>Yaw proportional gain, i.e. desired angular speed in rad/s for error 1 rad.</long_desc>
<parameter default="0.0" name="MPP_Z_VEL_D" type="FLOAT">
<short_desc>Differential gain for vertical velocity error</short_desc>
<min>0.0</min>
<unit>1/s</unit>
<scope>modules/mc_att_control_multiplatform</scope>
<scope>examples/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="0.3" name="MP_YAWRATE_P" type="FLOAT">
<short_desc>Yaw rate P gain</short_desc>
<long_desc>Yaw rate proportional gain, i.e. control output for angular speed error 1 rad/s.</long_desc>
<parameter default="5.0" name="MPP_Z_VEL_MAX" type="FLOAT">
<short_desc>Maximum vertical velocity</short_desc>
<long_desc>Maximum vertical velocity in AUTO mode and endpoint for stabilized modes (ALTCTRL).</long_desc>
<min>0.0</min>
<scope>modules/mc_att_control_multiplatform</scope>
<unit>m/s</unit>
<scope>examples/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="0.0" name="MP_YAWRATE_I" type="FLOAT">
<short_desc>Yaw rate I gain</short_desc>
<long_desc>Yaw rate integral gain. Can be set to compensate static thrust difference or gravity center offset.</long_desc>
<parameter default="0.5" name="MPP_Z_FF" type="FLOAT">
<short_desc>Vertical velocity feed forward</short_desc>
<long_desc>Feed forward weight for altitude control in stabilized modes (ALTCTRL). 0 will give slow responce and no overshot, 1 - fast responce and big overshot.</long_desc>
<min>0.0</min>
<scope>modules/mc_att_control_multiplatform</scope>
<max>1.0</max>
<scope>examples/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="0.0" name="MP_YAWRATE_D" type="FLOAT">
<short_desc>Yaw rate D gain</short_desc>
<long_desc>Yaw rate differential gain. Small values help reduce fast oscillations. If value is too big oscillations will appear again.</long_desc>
<parameter default="1.0" name="MPP_XY_P" type="FLOAT">
<short_desc>Proportional gain for horizontal position error</short_desc>
<min>0.0</min>
<scope>modules/mc_att_control_multiplatform</scope>
<scope>examples/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="0.5" name="MP_YAW_FF" type="FLOAT">
<short_desc>Yaw feed forward</short_desc>
<long_desc>Feed forward weight for manual yaw control. 0 will give slow responce and no overshot, 1 - fast responce and big overshot.</long_desc>
<parameter default="0.1" name="MPP_XY_VEL_P" type="FLOAT">
<short_desc>Proportional gain for horizontal velocity error</short_desc>
<min>0.0</min>
<max>1.0</max>
<scope>modules/mc_att_control_multiplatform</scope>
<scope>examples/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="60.0" name="MP_YAWRATE_MAX" type="FLOAT">
<short_desc>Max yaw rate</short_desc>
<long_desc>Limit for yaw rate, has effect for large rotations in autonomous mode, to avoid large control output and mixer saturation.</long_desc>
<parameter default="0.02" name="MPP_XY_VEL_I" type="FLOAT">
<short_desc>Integral gain for horizontal velocity error</short_desc>
<long_desc>Non-zero value allows to resist wind.</long_desc>
<min>0.0</min>
<max>360.0</max>
<unit>deg/s</unit>
<scope>modules/mc_att_control_multiplatform</scope>
<scope>examples/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="35.0" name="MP_ACRO_R_MAX" type="FLOAT">
<short_desc>Max acro roll rate</short_desc>
<parameter default="0.01" name="MPP_XY_VEL_D" type="FLOAT">
<short_desc>Differential gain for horizontal velocity error. Small values help reduce fast oscillations. If value is too big oscillations will appear again</short_desc>
<min>0.0</min>
<max>360.0</max>
<unit>deg/s</unit>
<scope>modules/mc_att_control_multiplatform</scope>
<scope>examples/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="35.0" name="MP_ACRO_P_MAX" type="FLOAT">
<short_desc>Max acro pitch rate</short_desc>
<parameter default="5.0" name="MPP_XY_VEL_MAX" type="FLOAT">
<short_desc>Maximum horizontal velocity</short_desc>
<long_desc>Maximum horizontal velocity in AUTO mode and endpoint for position stabilized mode (POSCTRL).</long_desc>
<min>0.0</min>
<max>360.0</max>
<unit>deg/s</unit>
<scope>modules/mc_att_control_multiplatform</scope>
<unit>m/s</unit>
<scope>examples/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="120.0" name="MP_ACRO_Y_MAX" type="FLOAT">
<short_desc>Max acro yaw rate</short_desc>
<parameter default="0.5" name="MPP_XY_FF" type="FLOAT">
<short_desc>Horizontal velocity feed forward</short_desc>
<long_desc>Feed forward weight for position control in position control mode (POSCTRL). 0 will give slow responce and no overshot, 1 - fast responce and big overshot.</long_desc>
<min>0.0</min>
<unit>deg/s</unit>
<scope>modules/mc_att_control_multiplatform</scope>
<max>1.0</max>
<scope>examples/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="35.0" name="MPP_MAN_R_MAX" type="FLOAT">
<short_desc>Max manual roll</short_desc>
<parameter default="45.0" name="MPP_TILTMAX_AIR" type="FLOAT">
<short_desc>Maximum tilt angle in air</short_desc>
<long_desc>Limits maximum tilt in AUTO and POSCTRL modes during flight.</long_desc>
<min>0.0</min>
<max>90.0</max>
<unit>deg</unit>
<scope>modules/mc_pos_control_multiplatform</scope>
<scope>examples/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="35.0" name="MPP_MAN_P_MAX" type="FLOAT">
<short_desc>Max manual pitch</short_desc>
<parameter default="15.0" name="MPP_TILTMAX_LND" type="FLOAT">
<short_desc>Maximum tilt during landing</short_desc>
<long_desc>Limits maximum tilt angle on landing.</long_desc>
<min>0.0</min>
<max>90.0</max>
<unit>deg</unit>
<scope>modules/mc_pos_control_multiplatform</scope>
<scope>examples/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="120.0" name="MPP_MAN_Y_MAX" type="FLOAT">
<short_desc>Max manual yaw rate</short_desc>
<parameter default="1.0" name="MPP_LAND_SPEED" type="FLOAT">
<short_desc>Landing descend rate</short_desc>
<min>0.0</min>
<unit>deg/s</unit>
<scope>modules/mc_pos_control_multiplatform</scope>
<unit>m/s</unit>
<scope>examples/mc_pos_control_multiplatform</scope>
</parameter>
</group>
<group name="Multicopter Position Control">
<parameter default="0.12" name="MPC_THR_MIN" type="FLOAT">
<short_desc>Minimum thrust in auto thrust control</short_desc>
<long_desc>It's recommended to set it &gt; 0 to avoid free fall with zero thrust.</long_desc>
......@@ -3351,7 +3515,7 @@ EPV used if greater than this value</short_desc>
<decimal>2</decimal>
<scope>modules/mc_pos_control</scope>
</parameter>
<parameter default="1.25" name="MPC_XY_P" type="FLOAT">
<parameter default="0.95" name="MPC_XY_P" type="FLOAT">
<short_desc>Proportional gain for horizontal position error</short_desc>
<min>0.0</min>
<max>2.0</max>
......@@ -3496,186 +3660,68 @@ EPV used if greater than this value</short_desc>
<decimal>2</decimal>
<scope>modules/mc_pos_control</scope>
</parameter>
<parameter default="10.0" name="MPC_ACC_HOR_MAX" type="FLOAT">
<parameter default="5.0" name="MPC_ACC_HOR_MAX" type="FLOAT">
<short_desc>Maximum horizonal acceleration in velocity controlled modes</short_desc>
<min>2.0</min>
<max>15.0</max>
<unit>m/s/s</unit>
<decimal>2</decimal>
<increment>1</increment>
<scope>modules/mc_pos_control</scope>
</parameter>
<parameter default="0" name="MPC_ALT_MODE" type="INT32">
<short_desc>Altitude control mode, note mode 1 only tested with LPE</short_desc>
<min>0</min>
<max>1</max>
<scope>modules/mc_pos_control</scope>
<values>
<value code="1">Terrain following</value>
<value code="0">Altitude following</value>
</values>
</parameter>
<parameter default="0.1" name="MPP_THR_MIN" type="FLOAT">
<short_desc>Minimum thrust</short_desc>
<long_desc>Minimum vertical thrust. It's recommended to set it &gt; 0 to avoid free fall with zero thrust.</long_desc>
<min>0.0</min>
<max>1.0</max>
<scope>modules/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="1.0" name="MPP_THR_MAX" type="FLOAT">
<short_desc>Maximum thrust</short_desc>
<long_desc>Limit max allowed thrust.</long_desc>
<min>0.0</min>
<max>1.0</max>
<scope>modules/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="1.0" name="MPP_Z_P" type="FLOAT">
<short_desc>Proportional gain for vertical position error</short_desc>
<min>0.0</min>
<scope>modules/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="0.1" name="MPP_Z_VEL_P" type="FLOAT">
<short_desc>Proportional gain for vertical velocity error</short_desc>
<min>0.0</min>
<scope>modules/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="0.02" name="MPP_Z_VEL_I" type="FLOAT">
<short_desc>Integral gain for vertical velocity error</short_desc>
<long_desc>Non zero value allows hovering thrust estimation on stabilized or autonomous takeoff.</long_desc>
<min>0.0</min>
<scope>modules/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="0.0" name="MPP_Z_VEL_D" type="FLOAT">
<short_desc>Differential gain for vertical velocity error</short_desc>
<min>0.0</min>
<scope>modules/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="5.0" name="MPP_Z_VEL_MAX" type="FLOAT">
<short_desc>Maximum vertical velocity</short_desc>
<long_desc>Maximum vertical velocity in AUTO mode and endpoint for stabilized modes (ALTCTRL).</long_desc>
<min>0.0</min>
<unit>m/s</unit>
<scope>modules/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="0.5" name="MPP_Z_FF" type="FLOAT">
<short_desc>Vertical velocity feed forward</short_desc>
<long_desc>Feed forward weight for altitude control in stabilized modes (ALTCTRL). 0 will give slow responce and no overshot, 1 - fast responce and big overshot.</long_desc>
<min>0.0</min>
<max>1.0</max>
<scope>modules/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="1.0" name="MPP_XY_P" type="FLOAT">
<short_desc>Proportional gain for horizontal position error</short_desc>
<min>0.0</min>
<scope>modules/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="0.1" name="MPP_XY_VEL_P" type="FLOAT">
<short_desc>Proportional gain for horizontal velocity error</short_desc>
<min>0.0</min>
<scope>modules/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="0.02" name="MPP_XY_VEL_I" type="FLOAT">
<short_desc>Integral gain for horizontal velocity error</short_desc>
<long_desc>Non-zero value allows to resist wind.</long_desc>
<min>0.0</min>
<scope>modules/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="0.01" name="MPP_XY_VEL_D" type="FLOAT">
<short_desc>Differential gain for horizontal velocity error. Small values help reduce fast oscillations. If value is too big oscillations will appear again</short_desc>
<min>0.0</min>
<scope>modules/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="5.0" name="MPP_XY_VEL_MAX" type="FLOAT">
<short_desc>Maximum horizontal velocity</short_desc>
<long_desc>Maximum horizontal velocity in AUTO mode and endpoint for position stabilized mode (POSCTRL).</long_desc>
<min>0.0</min>
<unit>m/s</unit>
<scope>modules/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="0.5" name="MPP_XY_FF" type="FLOAT">
<short_desc>Horizontal velocity feed forward</short_desc>
<long_desc>Feed forward weight for position control in position control mode (POSCTRL). 0 will give slow responce and no overshot, 1 - fast responce and big overshot.</long_desc>
<min>0.0</min>
<max>1.0</max>
<scope>modules/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="45.0" name="MPP_TILTMAX_AIR" type="FLOAT">
<short_desc>Maximum tilt angle in air</short_desc>
<long_desc>Limits maximum tilt in AUTO and POSCTRL modes during flight.</long_desc>
<min>0.0</min>
<max>90.0</max>
<unit>deg</unit>
<scope>modules/mc_pos_control_multiplatform</scope>
</parameter>
<parameter default="15.0" name="MPP_TILTMAX_LND" type="FLOAT">
<short_desc>Maximum tilt during landing</short_desc>
<long_desc>Limits maximum tilt angle on landing.</long_desc>
<min>0.0</min>
<max>90.0</max>
<unit>deg</unit>
<scope>modules/mc_pos_control_multiplatform</scope>
<decimal>2</decimal>
<increment>1</increment>
<scope>modules/mc_pos_control</scope>
</parameter>
<parameter default="1.0" name="MPP_LAND_SPEED" type="FLOAT">
<short_desc>Landing descend rate</short_desc>
<min>0.0</min>
<unit>m/s</unit>
<scope>modules/mc_pos_control_multiplatform</scope>
<parameter default="0" name="MPC_ALT_MODE" type="INT32">
<short_desc>Altitude control mode, note mode 1 only tested with LPE</short_desc>
<min>0</min>
<max>1</max>
<scope>modules/mc_pos_control</scope>
<values>
<value code="1">Terrain following</value>
<value code="0">Altitude following</value>
</values>
</parameter>
</group>
<group name="PWM Outputs">
<parameter default="1000" name="PWM_MIN" type="INT32">
<short_desc>Set the minimum PWM for the MAIN outputs</short_desc>
<long_desc>IMPORTANT: CHANGING THIS PARAMETER REQUIRES A COMPLETE SYSTEM REBOOT IN ORDER TO APPLY THE CHANGES. COMPLETELY POWER-CYCLE THE SYSTEM TO PUT CHANGES INTO EFFECT. Set to 1000 for industry default or 900 to increase servo travel.</long_desc>
<min>800</min>
<max>1400</max>
<unit>us</unit>
<parameter default="0" name="PWM_AUX_REV1" type="INT32">
<short_desc>Invert direction of aux output channel 1</short_desc>
<long_desc>Set to 1 to invert the channel, 0 for default direction.</long_desc>
<boolean />
<reboot_required>true</reboot_required>
<scope>modules/sensors</scope>
<scope>drivers/px4fmu</scope>
</parameter>
<parameter default="2000" name="PWM_MAX" type="INT32">
<short_desc>Set the maximum PWM for the MAIN outputs</short_desc>
<long_desc>IMPORTANT: CHANGING THIS PARAMETER REQUIRES A COMPLETE SYSTEM REBOOT IN ORDER TO APPLY THE CHANGES. COMPLETELY POWER-CYCLE THE SYSTEM TO PUT CHANGES INTO EFFECT. Set to 2000 for industry default or 2100 to increase servo travel.</long_desc>
<min>1600</min>
<max>2200</max>
<unit>us</unit>
<parameter default="0" name="PWM_AUX_REV2" type="INT32">
<short_desc>Invert direction of aux output channel 2</short_desc>
<long_desc>Set to 1 to invert the channel, 0 for default direction.</long_desc>
<boolean />
<reboot_required>true</reboot_required>
<scope>modules/sensors</scope>
<scope>drivers/px4fmu</scope>
</parameter>
<parameter default="0" name="PWM_DISARMED" type="INT32">
<short_desc>Set the disarmed PWM for MAIN outputs</short_desc>
<long_desc>IMPORTANT: CHANGING THIS PARAMETER REQUIRES A COMPLETE SYSTEM REBOOT IN ORDER TO APPLY THE CHANGES. COMPLETELY POWER-CYCLE THE SYSTEM TO PUT CHANGES INTO EFFECT. This is the PWM pulse the autopilot is outputting if not armed. The main use of this parameter is to silence ESCs when they are disarmed.</long_desc>
<min>0</min>
<max>2200</max>
<unit>us</unit>
<parameter default="0" name="PWM_AUX_REV3" type="INT32">
<short_desc>Invert direction of aux output channel 3</short_desc>
<long_desc>Set to 1 to invert the channel, 0 for default direction.</long_desc>
<boolean />
<reboot_required>true</reboot_required>
<scope>modules/sensors</scope>
<scope>drivers/px4fmu</scope>
</parameter>
<parameter default="1000" name="PWM_AUX_MIN" type="INT32">
<short_desc>Set the minimum PWM for the MAIN outputs</short_desc>
<long_desc>IMPORTANT: CHANGING THIS PARAMETER REQUIRES A COMPLETE SYSTEM REBOOT IN ORDER TO APPLY THE CHANGES. COMPLETELY POWER-CYCLE THE SYSTEM TO PUT CHANGES INTO EFFECT. Set to 1000 for default or 900 to increase servo travel</long_desc>
<min>800</min>
<max>1400</max>
<unit>us</unit>
<parameter default="0" name="PWM_AUX_REV4" type="INT32">
<short_desc>Invert direction of aux output channel 4</short_desc>
<long_desc>Set to 1 to invert the channel, 0 for default direction.</long_desc>
<boolean />
<reboot_required>true</reboot_required>
<scope>modules/sensors</scope>
<scope>drivers/px4fmu</scope>
</parameter>
<parameter default="2000" name="PWM_AUX_MAX" type="INT32">
<short_desc>Set the maximum PWM for the MAIN outputs</short_desc>
<long_desc>IMPORTANT: CHANGING THIS PARAMETER REQUIRES A COMPLETE SYSTEM REBOOT IN ORDER TO APPLY THE CHANGES. COMPLETELY POWER-CYCLE THE SYSTEM TO PUT CHANGES INTO EFFECT. Set to 2000 for default or 2100 to increase servo travel</long_desc>
<min>1600</min>
<max>2200</max>
<unit>us</unit>
<parameter default="0" name="PWM_AUX_REV5" type="INT32">
<short_desc>Invert direction of aux output channel 5</short_desc>
<long_desc>Set to 1 to invert the channel, 0 for default direction.</long_desc>
<boolean />
<reboot_required>true</reboot_required>
<scope>modules/sensors</scope>
<scope>drivers/px4fmu</scope>
</parameter>
<parameter default="1000" name="PWM_AUX_DISARMED" type="INT32">
<short_desc>Set the disarmed PWM for AUX outputs</short_desc>
<long_desc>IMPORTANT: CHANGING THIS PARAMETER REQUIRES A COMPLETE SYSTEM REBOOT IN ORDER TO APPLY THE CHANGES. COMPLETELY POWER-CYCLE THE SYSTEM TO PUT CHANGES INTO EFFECT. This is the PWM pulse the autopilot is outputting if not armed. The main use of this parameter is to silence ESCs when they are disarmed.</long_desc>
<min>0</min>
<max>2200</max>
<unit>us</unit>
<parameter default="0" name="PWM_AUX_REV6" type="INT32">
<short_desc>Invert direction of aux output channel 6</short_desc>
<long_desc>Set to 1 to invert the channel, 0 for default direction.</long_desc>
<boolean />
<reboot_required>true</reboot_required>
<scope>modules/sensors</scope>
<scope>drivers/px4fmu</scope>
</parameter>
<parameter default="0" name="PWM_MAIN_REV1" type="INT32">
<short_desc>Invert direction of main output channel 1</short_desc>
......@@ -3739,47 +3785,59 @@ EPV used if greater than this value</short_desc>
<boolean />
<scope>drivers/px4io</scope>
</parameter>
<parameter default="0" name="PWM_AUX_REV1" type="INT32">
<short_desc>Invert direction of aux output channel 1</short_desc>
<long_desc>Set to 1 to invert the channel, 0 for default direction.</long_desc>
<boolean />
<parameter default="1000" name="PWM_MIN" type="INT32">
<short_desc>Set the minimum PWM for the MAIN outputs</short_desc>
<long_desc>IMPORTANT: CHANGING THIS PARAMETER REQUIRES A COMPLETE SYSTEM REBOOT IN ORDER TO APPLY THE CHANGES. COMPLETELY POWER-CYCLE THE SYSTEM TO PUT CHANGES INTO EFFECT. Set to 1000 for industry default or 900 to increase servo travel.</long_desc>
<min>800</min>
<max>1400</max>
<unit>us</unit>
<reboot_required>true</reboot_required>
<scope>drivers/px4fmu</scope>
<scope>modules/sensors</scope>
</parameter>
<parameter default="0" name="PWM_AUX_REV2" type="INT32">
<short_desc>Invert direction of aux output channel 2</short_desc>
<long_desc>Set to 1 to invert the channel, 0 for default direction.</long_desc>
<boolean />
<parameter default="2000" name="PWM_MAX" type="INT32">
<short_desc>Set the maximum PWM for the MAIN outputs</short_desc>
<long_desc>IMPORTANT: CHANGING THIS PARAMETER REQUIRES A COMPLETE SYSTEM REBOOT IN ORDER TO APPLY THE CHANGES. COMPLETELY POWER-CYCLE THE SYSTEM TO PUT CHANGES INTO EFFECT. Set to 2000 for industry default or 2100 to increase servo travel.</long_desc>
<min>1600</min>
<max>2200</max>
<unit>us</unit>
<reboot_required>true</reboot_required>
<scope>drivers/px4fmu</scope>
<scope>modules/sensors</scope>
</parameter>
<parameter default="0" name="PWM_AUX_REV3" type="INT32">
<short_desc>Invert direction of aux output channel 3</short_desc>
<long_desc>Set to 1 to invert the channel, 0 for default direction.</long_desc>
<boolean />
<parameter default="0" name="PWM_DISARMED" type="INT32">
<short_desc>Set the disarmed PWM for MAIN outputs</short_desc>
<long_desc>IMPORTANT: CHANGING THIS PARAMETER REQUIRES A COMPLETE SYSTEM REBOOT IN ORDER TO APPLY THE CHANGES. COMPLETELY POWER-CYCLE THE SYSTEM TO PUT CHANGES INTO EFFECT. This is the PWM pulse the autopilot is outputting if not armed. The main use of this parameter is to silence ESCs when they are disarmed.</long_desc>
<min>0</min>
<max>2200</max>
<unit>us</unit>
<reboot_required>true</reboot_required>
<scope>drivers/px4fmu</scope>
<scope>modules/sensors</scope>
</parameter>
<parameter default="0" name="PWM_AUX_REV4" type="INT32">
<short_desc>Invert direction of aux output channel 4</short_desc>
<long_desc>Set to 1 to invert the channel, 0 for default direction.</long_desc>
<boolean />
<parameter default="1000" name="PWM_AUX_MIN" type="INT32">
<short_desc>Set the minimum PWM for the MAIN outputs</short_desc>
<long_desc>IMPORTANT: CHANGING THIS PARAMETER REQUIRES A COMPLETE SYSTEM REBOOT IN ORDER TO APPLY THE CHANGES. COMPLETELY POWER-CYCLE THE SYSTEM TO PUT CHANGES INTO EFFECT. Set to 1000 for default or 900 to increase servo travel</long_desc>
<min>800</min>
<max>1400</max>
<unit>us</unit>
<reboot_required>true</reboot_required>
<scope>drivers/px4fmu</scope>
<scope>modules/sensors</scope>
</parameter>
<parameter default="0" name="PWM_AUX_REV5" type="INT32">
<short_desc>Invert direction of aux output channel 5</short_desc>
<long_desc>Set to 1 to invert the channel, 0 for default direction.</long_desc>
<boolean />
<parameter default="2000" name="PWM_AUX_MAX" type="INT32">
<short_desc>Set the maximum PWM for the MAIN outputs</short_desc>
<long_desc>IMPORTANT: CHANGING THIS PARAMETER REQUIRES A COMPLETE SYSTEM REBOOT IN ORDER TO APPLY THE CHANGES. COMPLETELY POWER-CYCLE THE SYSTEM TO PUT CHANGES INTO EFFECT. Set to 2000 for default or 2100 to increase servo travel</long_desc>
<min>1600</min>
<max>2200</max>
<unit>us</unit>
<reboot_required>true</reboot_required>
<scope>drivers/px4fmu</scope>
<scope>modules/sensors</scope>
</parameter>
<parameter default="0" name="PWM_AUX_REV6" type="INT32">
<short_desc>Invert direction of aux output channel 6</short_desc>
<long_desc>Set to 1 to invert the channel, 0 for default direction.</long_desc>
<boolean />
<parameter default="1000" name="PWM_AUX_DISARMED" type="INT32">
<short_desc>Set the disarmed PWM for AUX outputs</short_desc>
<long_desc>IMPORTANT: CHANGING THIS PARAMETER REQUIRES A COMPLETE SYSTEM REBOOT IN ORDER TO APPLY THE CHANGES. COMPLETELY POWER-CYCLE THE SYSTEM TO PUT CHANGES INTO EFFECT. This is the PWM pulse the autopilot is outputting if not armed. The main use of this parameter is to silence ESCs when they are disarmed.</long_desc>
<min>0</min>
<max>2200</max>
<unit>us</unit>
<reboot_required>true</reboot_required>
<scope>drivers/px4fmu</scope>
<scope>modules/sensors</scope>
</parameter>
</group>
<group name="Payload drop">
......@@ -3837,7 +3895,7 @@ EPV used if greater than this value</short_desc>
<min>0</min>
<max>1000</max>
<unit>ms</unit>
<scope>modules/ekf_att_pos_estimator</scope>
<scope>examples/ekf_att_pos_estimator</scope>
</parameter>
<parameter default="210" name="PE_POS_DELAY_MS" type="INT32">
<short_desc>Position estimate delay</short_desc>
......@@ -3845,7 +3903,7 @@ EPV used if greater than this value</short_desc>
<min>0</min>
<max>1000</max>
<unit>ms</unit>
<scope>modules/ekf_att_pos_estimator</scope>
<scope>examples/ekf_att_pos_estimator</scope>
</parameter>
<parameter default="350" name="PE_HGT_DELAY_MS" type="INT32">
<short_desc>Height estimate delay</short_desc>
......@@ -3853,7 +3911,7 @@ EPV used if greater than this value</short_desc>
<min>0</min>
<max>1000</max>
<unit>ms</unit>
<scope>modules/ekf_att_pos_estimator</scope>
<scope>examples/ekf_att_pos_estimator</scope>
</parameter>
<parameter default="30" name="PE_MAG_DELAY_MS" type="INT32">
<short_desc>Mag estimate delay</short_desc>
......@@ -3861,7 +3919,7 @@ EPV used if greater than this value</short_desc>
<min>0</min>
<max>1000</max>
<unit>ms</unit>
<scope>modules/ekf_att_pos_estimator</scope>
<scope>examples/ekf_att_pos_estimator</scope>
</parameter>
<parameter default="210" name="PE_TAS_DELAY_MS" type="INT32">
<short_desc>True airspeeed estimate delay</short_desc>
......@@ -3869,126 +3927,126 @@ EPV used if greater than this value</short_desc>
<min>0</min>
<max>1000</max>
<unit>ms</unit>
<scope>modules/ekf_att_pos_estimator</scope>
<scope>examples/ekf_att_pos_estimator</scope>
</parameter>
<parameter default="0.9" name="PE_GPS_ALT_WGT" type="FLOAT">
<short_desc>GPS vs. barometric altitude update weight</short_desc>
<long_desc>RE-CHECK this.</long_desc>
<min>0.0</min>
<max>1.0</max>
<scope>modules/ekf_att_pos_estimator</scope>
<scope>examples/ekf_att_pos_estimator</scope>
</parameter>
<parameter default="1.4" name="PE_EAS_NOISE" type="FLOAT">
<short_desc>Airspeed measurement noise</short_desc>
<long_desc>Increasing this value will make the filter trust this sensor less and trust other sensors more.</long_desc>
<min>0.5</min>
<max>5.0</max>
<scope>modules/ekf_att_pos_estimator</scope>
<scope>examples/ekf_att_pos_estimator</scope>
</parameter>
<parameter default="0.3" name="PE_VELNE_NOISE" type="FLOAT">
<short_desc>Velocity measurement noise in north-east (horizontal) direction</short_desc>
<long_desc>Generic default: 0.3, multicopters: 0.5, ground vehicles: 0.5</long_desc>
<min>0.05</min>
<max>5.0</max>
<scope>modules/ekf_att_pos_estimator</scope>
<scope>examples/ekf_att_pos_estimator</scope>
</parameter>
<parameter default="0.3" name="PE_VELD_NOISE" type="FLOAT">
<short_desc>Velocity noise in down (vertical) direction</short_desc>
<long_desc>Generic default: 0.3, multicopters: 0.4, ground vehicles: 0.7</long_desc>
<min>0.2</min>
<max>3.0</max>
<scope>modules/ekf_att_pos_estimator</scope>
<scope>examples/ekf_att_pos_estimator</scope>
</parameter>
<parameter default="0.5" name="PE_POSNE_NOISE" type="FLOAT">
<short_desc>Position noise in north-east (horizontal) direction</short_desc>
<long_desc>Generic defaults: 0.5, multicopters: 0.5, ground vehicles: 0.5</long_desc>
<min>0.1</min>
<max>10.0</max>
<scope>modules/ekf_att_pos_estimator</scope>
<scope>examples/ekf_att_pos_estimator</scope>
</parameter>
<parameter default="1.25" name="PE_POSD_NOISE" type="FLOAT">
<short_desc>Position noise in down (vertical) direction</short_desc>
<long_desc>Generic defaults: 1.25, multicopters: 1.0, ground vehicles: 1.0</long_desc>
<min>0.5</min>
<max>3.0</max>
<scope>modules/ekf_att_pos_estimator</scope>
<scope>examples/ekf_att_pos_estimator</scope>
</parameter>
<parameter default="0.05" name="PE_MAG_NOISE" type="FLOAT">
<short_desc>Magnetometer measurement noise</short_desc>
<long_desc>Generic defaults: 0.05, multicopters: 0.05, ground vehicles: 0.05</long_desc>
<min>0.01</min>
<max>1.0</max>
<scope>modules/ekf_att_pos_estimator</scope>
<scope>examples/ekf_att_pos_estimator</scope>
</parameter>
<parameter default="0.015" name="PE_GYRO_PNOISE" type="FLOAT">
<short_desc>Gyro process noise</short_desc>
<long_desc>Generic defaults: 0.015, multicopters: 0.015, ground vehicles: 0.015. This noise controls how much the filter trusts the gyro measurements. Increasing it makes the filter trust the gyro less and other sensors more.</long_desc>
<min>0.001</min>
<max>0.05</max>
<scope>modules/ekf_att_pos_estimator</scope>
<scope>examples/ekf_att_pos_estimator</scope>
</parameter>
<parameter default="0.125" name="PE_ACC_PNOISE" type="FLOAT">
<short_desc>Accelerometer process noise</short_desc>
<long_desc>Generic defaults: 0.25, multicopters: 0.25, ground vehicles: 0.25. Increasing this value makes the filter trust the accelerometer less and other sensors more.</long_desc>
<min>0.05</min>
<max>1.0</max>
<scope>modules/ekf_att_pos_estimator</scope>
<scope>examples/ekf_att_pos_estimator</scope>
</parameter>
<parameter default="1e-07" name="PE_GBIAS_PNOISE" type="FLOAT">
<short_desc>Gyro bias estimate process noise</short_desc>
<long_desc>Generic defaults: 1e-07f, multicopters: 1e-07f, ground vehicles: 1e-07f. Increasing this value will make the gyro bias converge faster but noisier.</long_desc>
<min>0.00000005</min>
<max>0.00001</max>
<scope>modules/ekf_att_pos_estimator</scope>
<scope>examples/ekf_att_pos_estimator</scope>
</parameter>
<parameter default="1e-05" name="PE_ABIAS_PNOISE" type="FLOAT">
<short_desc>Accelerometer bias estimate process noise</short_desc>
<long_desc>Generic defaults: 0.00001f, multicopters: 0.00001f, ground vehicles: 0.00001f. Increasing this value makes the bias estimation faster and noisier.</long_desc>
<min>0.00001</min>
<max>0.001</max>
<scope>modules/ekf_att_pos_estimator</scope>
<scope>examples/ekf_att_pos_estimator</scope>
</parameter>
<parameter default="0.0003" name="PE_MAGE_PNOISE" type="FLOAT">
<short_desc>Magnetometer earth frame offsets process noise</short_desc>
<long_desc>Generic defaults: 0.0001, multicopters: 0.0001, ground vehicles: 0.0001. Increasing this value makes the magnetometer earth bias estimate converge faster but also noisier.</long_desc>
<min>0.0001</min>
<max>0.01</max>
<scope>modules/ekf_att_pos_estimator</scope>
<scope>examples/ekf_att_pos_estimator</scope>
</parameter>
<parameter default="0.0003" name="PE_MAGB_PNOISE" type="FLOAT">
<short_desc>Magnetometer body frame offsets process noise</short_desc>
<long_desc>Generic defaults: 0.0003, multicopters: 0.0003, ground vehicles: 0.0003. Increasing this value makes the magnetometer body bias estimate converge faster but also noisier.</long_desc>
<min>0.0001</min>
<max>0.01</max>
<scope>modules/ekf_att_pos_estimator</scope>
<scope>examples/ekf_att_pos_estimator</scope>
</parameter>
<parameter default="0.0" name="PE_MAGB_X" type="FLOAT">
<short_desc>Magnetometer X bias</short_desc>
<long_desc>The magnetometer bias. This bias is learnt by the filter over time and persists between boots.</long_desc>
<min>-0.6</min>
<max>0.6</max>
<scope>modules/ekf_att_pos_estimator</scope>
<scope>examples/ekf_att_pos_estimator</scope>
</parameter>
<parameter default="0.0" name="PE_MAGB_Y" type="FLOAT">
<short_desc>Magnetometer Y bias</short_desc>
<long_desc>The magnetometer bias. This bias is learnt by the filter over time and persists between boots.</long_desc>
<min>-0.6</min>
<max>0.6</max>
<scope>modules/ekf_att_pos_estimator</scope>
<scope>examples/ekf_att_pos_estimator</scope>
</parameter>
<parameter default="0.0" name="PE_MAGB_Z" type="FLOAT">
<short_desc>Magnetometer Z bias</short_desc>
<long_desc>The magnetometer bias. This bias is learnt by the filter over time and persists between boots.</long_desc>
<min>-0.6</min>
<max>0.6</max>
<scope>modules/ekf_att_pos_estimator</scope>
<scope>examples/ekf_att_pos_estimator</scope>
</parameter>
<parameter default="5.0" name="PE_POSDEV_INIT" type="FLOAT">
<short_desc>Threshold for filter initialization</short_desc>
<long_desc>If the standard deviation of the GPS position estimate is below this threshold in meters, the filter will initialize.</long_desc>
<min>0.3</min>
<max>10.0</max>
<scope>modules/ekf_att_pos_estimator</scope>
<scope>examples/ekf_att_pos_estimator</scope>
</parameter>
</group>
<group name="Position Estimator INAV">
......@@ -4198,6 +4256,33 @@ EPV used if greater than this value</short_desc>
</parameter>
</group>
<group name="Radio Calibration">
<parameter default="0.0" name="TRIM_ROLL" type="FLOAT">
<short_desc>Roll trim</short_desc>
<long_desc>The trim value is the actuator control value the system needs for straight and level flight. It can be calibrated by flying manually straight and level using the RC trims and copying them using the GCS.</long_desc>
<min>-0.25</min>
<max>0.25</max>
<decimal>2</decimal>
<increment>0.01</increment>
<scope>modules/commander</scope>
</parameter>
<parameter default="0.0" name="TRIM_PITCH" type="FLOAT">
<short_desc>Pitch trim</short_desc>
<long_desc>The trim value is the actuator control value the system needs for straight and level flight. It can be calibrated by flying manually straight and level using the RC trims and copying them using the GCS.</long_desc>
<min>-0.25</min>
<max>0.25</max>
<decimal>2</decimal>
<increment>0.01</increment>
<scope>modules/commander</scope>
</parameter>
<parameter default="0.0" name="TRIM_YAW" type="FLOAT">
<short_desc>Yaw trim</short_desc>
<long_desc>The trim value is the actuator control value the system needs for straight and level flight. It can be calibrated by flying manually straight and level using the RC trims and copying them using the GCS.</long_desc>
<min>-0.25</min>
<max>0.25</max>
<decimal>2</decimal>
<increment>0.01</increment>
<scope>modules/commander</scope>
</parameter>
<parameter default="1000.0" name="RC1_MIN" type="FLOAT">
<short_desc>RC Channel 1 Minimum</short_desc>
<long_desc>Minimum value for RC channel 1</long_desc>
......@@ -5304,33 +5389,6 @@ EPV used if greater than this value</short_desc>
<max>2000</max>
<scope>modules/sensors</scope>
</parameter>
<parameter default="0.0" name="TRIM_ROLL" type="FLOAT">
<short_desc>Roll trim</short_desc>
<long_desc>The trim value is the actuator control value the system needs for straight and level flight. It can be calibrated by flying manually straight and level using the RC trims and copying them using the GCS.</long_desc>
<min>-0.25</min>
<max>0.25</max>
<decimal>2</decimal>
<increment>0.01</increment>
<scope>modules/commander</scope>
</parameter>
<parameter default="0.0" name="TRIM_PITCH" type="FLOAT">
<short_desc>Pitch trim</short_desc>
<long_desc>The trim value is the actuator control value the system needs for straight and level flight. It can be calibrated by flying manually straight and level using the RC trims and copying them using the GCS.</long_desc>
<min>-0.25</min>
<max>0.25</max>
<decimal>2</decimal>
<increment>0.01</increment>
<scope>modules/commander</scope>
</parameter>
<parameter default="0.0" name="TRIM_YAW" type="FLOAT">
<short_desc>Yaw trim</short_desc>
<long_desc>The trim value is the actuator control value the system needs for straight and level flight. It can be calibrated by flying manually straight and level using the RC trims and copying them using the GCS.</long_desc>
<min>-0.25</min>
<max>0.25</max>
<decimal>2</decimal>
<increment>0.01</increment>
<scope>modules/commander</scope>
</parameter>
</group>
<group name="Radio Signal Loss">
<parameter default="120.0" name="NAV_RCL_LT" type="FLOAT">
......@@ -5616,6 +5674,33 @@ EPV used if greater than this value</short_desc>
<value code="8">Channel 8</value>
</values>
</parameter>
<parameter default="0" name="RC_MAP_TRANS_SW" type="INT32">
<short_desc>VTOL transition switch channel mapping</short_desc>
<min>0</min>
<max>18</max>
<scope>modules/sensors</scope>
<values>
<value code="11">Channel 11</value>
<value code="10">Channel 10</value>
<value code="13">Channel 13</value>
<value code="12">Channel 12</value>
<value code="15">Channel 15</value>
<value code="14">Channel 14</value>
<value code="17">Channel 17</value>
<value code="16">Channel 16</value>
<value code="18">Channel 18</value>
<value code="1">Channel 1</value>
<value code="0">Unassigned</value>
<value code="3">Channel 3</value>
<value code="2">Channel 2</value>
<value code="5">Channel 5</value>
<value code="4">Channel 4</value>
<value code="7">Channel 7</value>
<value code="6">Channel 6</value>
<value code="9">Channel 9</value>
<value code="8">Channel 8</value>
</values>
</parameter>
<parameter default="0.25" name="RC_ASSIST_TH" type="FLOAT">
<short_desc>Threshold for selecting assist mode</short_desc>
<long_desc>0-1 indicate where in the full channel range the threshold sits 0 : min 1 : max sign indicates polarity of comparison positive : true when channel&gt;th negative : true when channel&lt;th</long_desc>
......@@ -5679,6 +5764,13 @@ EPV used if greater than this value</short_desc>
<max>1</max>
<scope>modules/sensors</scope>
</parameter>
<parameter default="0.25" name="RC_TRANS_TH" type="FLOAT">
<short_desc>Threshold for the VTOL transition switch</short_desc>
<long_desc>0-1 indicate where in the full channel range the threshold sits 0 : min 1 : max sign indicates polarity of comparison positive : true when channel&gt;th negative : true when channel&lt;th</long_desc>
<min>-1</min>
<max>1</max>
<scope>modules/sensors</scope>
</parameter>
</group>
<group name="Return To Land">
<parameter default="60" name="RTL_RETURN_ALT" type="FLOAT">
......@@ -6445,6 +6537,26 @@ This is used for gathering replay logs for the ekf2 module</short_desc>
<reboot_required>true</reboot_required>
<scope>modules/sensors</scope>
</parameter>
<parameter default="0" name="SENS_EN_MB12XX" type="INT32">
<short_desc>Maxbotix Soanr (mb12xx)</short_desc>
<boolean />
<reboot_required>true</reboot_required>
<scope>modules/sensors</scope>
</parameter>
<parameter default="0" name="SENS_EN_SF1XX" type="INT32">
<short_desc>Lightware SF1xx laser rangefinder</short_desc>
<min>0</min>
<max>4</max>
<reboot_required>true</reboot_required>
<scope>modules/sensors</scope>
<values>
<value code="1">SF10/a</value>
<value code="0">Disabled</value>
<value code="3">SF10/c</value>
<value code="2">SF10/b</value>
<value code="4">SF11/c</value>
</values>
</parameter>
</group>
<group name="Snapdragon UART ESC">
<parameter default="2" name="UART_ESC_MODEL" type="INT32">
......@@ -6491,6 +6603,13 @@ This is used for gathering replay logs for the ekf2 module</short_desc>
</parameter>
</group>
<group name="System">
<parameter default="15" name="LED_RGB_MAXBRT" type="INT32">
<short_desc>RGB Led brightness limit</short_desc>
<long_desc>Set to 0 to disable, 1 for minimum brightness up to 15 (max)</long_desc>
<min>0</min>
<max>15</max>
<scope>drivers/rgbled</scope>
</parameter>
<parameter default="0" name="SYS_AUTOSTART" type="INT32">
<short_desc>Auto-start script index</short_desc>
<long_desc>CHANGING THIS VALUE REQUIRES A RESTART. Defines the auto-start script used to bootstrap the system.</long_desc>
......@@ -6530,7 +6649,7 @@ This is used for gathering replay logs for the ekf2 module</short_desc>
<value code="2">Data does not survive reset</value>
</values>
</parameter>
<parameter default="0" name="SYS_MC_EST_GROUP" type="INT32">
<parameter default="1" name="SYS_MC_EST_GROUP" type="INT32">
<short_desc>Set multicopter estimator group</short_desc>
<long_desc>Set the group of estimators used for multicopters and vtols</long_desc>
<min>0</min>
......@@ -6574,23 +6693,12 @@ This is used for gathering replay logs for the ekf2 module</short_desc>
<reboot_required>true</reboot_required>
<scope>modules/systemlib</scope>
<values>
<value code="1">new logger (experimental)</value>
<value code="1">new logger</value>
<value code="0">sdlog2 (default)</value>
</values>
</parameter>
<parameter default="15" name="LED_RGB_MAXBRT" type="INT32">
<short_desc>RGB Led brightness limit</short_desc>
<long_desc>Set to 0 to disable, 1 for minimum brightness up to 15 (max)</long_desc>
<min>0</min>
<max>15</max>
<scope>drivers/rgbled</scope>
</parameter>
</group>
<group name="Testing">
<parameter default="12345678" name="TEST_PARAMS" type="INT32">
<short_desc>TEST_PARAMS</short_desc>
<scope>systemcmds/tests</scope>
</parameter>
<parameter default="-1.0" name="TEST_MIN" type="FLOAT">
<short_desc>TEST_MIN</short_desc>
<scope>modules/controllib_test</scope>
......@@ -6639,6 +6747,10 @@ This is used for gathering replay logs for the ekf2 module</short_desc>
<short_desc>TEST_DEV</short_desc>
<scope>modules/controllib_test</scope>
</parameter>
<parameter default="12345678" name="TEST_PARAMS" type="INT32">
<short_desc>TEST_PARAMS</short_desc>
<scope>systemcmds/tests</scope>
</parameter>
</group>
<group name="UAVCAN">
<parameter default="0" name="UAVCAN_ENABLE" type="INT32">
......@@ -6670,6 +6782,71 @@ This is used for gathering replay logs for the ekf2 module</short_desc>
</parameter>
</group>
<group name="VTOL Attitude Control">
<parameter default="0.6" name="VT_TRANS_THR" type="FLOAT">
<short_desc>Target throttle value for pusher/puller motor during the transition to fw mode</short_desc>
<min>0.0</min>
<max>1.0</max>
<decimal>3</decimal>
<increment>0.01</increment>
<scope>modules/vtol_att_control</scope>
</parameter>
<parameter default="5.0" name="VT_DWN_PITCH_MAX" type="FLOAT">
<short_desc>Maximum allowed down-pitch the controller is able to demand. This prevents large, negative
lift values being created when facing strong winds. The vehicle will use the pusher motor
to accelerate forward if necessary</short_desc>
<min>0.0</min>
<max>45.0</max>
<scope>modules/vtol_att_control</scope>
</parameter>
<parameter default="0.0" name="VT_FWD_THRUST_SC" type="FLOAT">
<short_desc>Fixed wing thrust scale for hover forward flight</short_desc>
<long_desc>Scale applied to fixed wing thrust being used as source for forward acceleration in multirotor mode. This technique can be used to avoid the plane having to pitch down a lot in order to move forward. Setting this value to 0 (default) will disable this strategy.</long_desc>
<min>0.0</min>
<max>2.0</max>
<scope>modules/vtol_att_control</scope>
</parameter>
<parameter default="0.0" name="VT_TILT_MC" type="FLOAT">
<short_desc>Position of tilt servo in mc mode</short_desc>
<min>0.0</min>
<max>1.0</max>
<decimal>3</decimal>
<increment>0.01</increment>
<scope>modules/vtol_att_control</scope>
</parameter>
<parameter default="0.3" name="VT_TILT_TRANS" type="FLOAT">
<short_desc>Position of tilt servo in transition mode</short_desc>
<min>0.0</min>
<max>1.0</max>
<decimal>3</decimal>
<increment>0.01</increment>
<scope>modules/vtol_att_control</scope>
</parameter>
<parameter default="1.0" name="VT_TILT_FW" type="FLOAT">
<short_desc>Position of tilt servo in fw mode</short_desc>
<min>0.0</min>
<max>1.0</max>
<decimal>3</decimal>
<increment>0.01</increment>
<scope>modules/vtol_att_control</scope>
</parameter>
<parameter default="0.5" name="VT_TRANS_P2_DUR" type="FLOAT">
<short_desc>Duration of front transition phase 2</short_desc>
<long_desc>Time in seconds it should take for the rotors to rotate forward completely from the point when the plane has picked up enough airspeed and is ready to go into fixed wind mode.</long_desc>
<min>0.1</min>
<max>5.0</max>
<unit>s</unit>
<decimal>3</decimal>
<increment>0.01</increment>
<scope>modules/vtol_att_control</scope>
</parameter>
<parameter default="0" name="VT_FW_MOT_OFFID" type="INT32">
<short_desc>The channel number of motors that must be turned off in fixed wing mode</short_desc>
<min>0</min>
<max>12345678</max>
<decimal>0</decimal>
<increment>1</increment>
<scope>modules/vtol_att_control</scope>
</parameter>
<parameter default="0" name="VT_MOT_COUNT" type="INT32">
<short_desc>VTOL number of engines</short_desc>
<min>0</min>
......@@ -6856,71 +7033,6 @@ This is used for gathering replay logs for the ekf2 module</short_desc>
<max>1</max>
<scope>modules/vtol_att_control</scope>
</parameter>
<parameter default="0.0" name="VT_TILT_MC" type="FLOAT">
<short_desc>Position of tilt servo in mc mode</short_desc>
<min>0.0</min>
<max>1.0</max>
<decimal>3</decimal>
<increment>0.01</increment>
<scope>modules/vtol_att_control</scope>
</parameter>
<parameter default="0.3" name="VT_TILT_TRANS" type="FLOAT">
<short_desc>Position of tilt servo in transition mode</short_desc>
<min>0.0</min>
<max>1.0</max>
<decimal>3</decimal>
<increment>0.01</increment>
<scope>modules/vtol_att_control</scope>
</parameter>
<parameter default="1.0" name="VT_TILT_FW" type="FLOAT">
<short_desc>Position of tilt servo in fw mode</short_desc>
<min>0.0</min>
<max>1.0</max>
<decimal>3</decimal>
<increment>0.01</increment>
<scope>modules/vtol_att_control</scope>
</parameter>
<parameter default="0.5" name="VT_TRANS_P2_DUR" type="FLOAT">
<short_desc>Duration of front transition phase 2</short_desc>
<long_desc>Time in seconds it should take for the rotors to rotate forward completely from the point when the plane has picked up enough airspeed and is ready to go into fixed wind mode.</long_desc>
<min>0.1</min>
<max>5.0</max>
<unit>s</unit>
<decimal>3</decimal>
<increment>0.01</increment>
<scope>modules/vtol_att_control</scope>
</parameter>
<parameter default="0" name="VT_FW_MOT_OFFID" type="INT32">
<short_desc>The channel number of motors that must be turned off in fixed wing mode</short_desc>
<min>0</min>
<max>12345678</max>
<decimal>0</decimal>
<increment>1</increment>
<scope>modules/vtol_att_control</scope>
</parameter>
<parameter default="0.6" name="VT_TRANS_THR" type="FLOAT">
<short_desc>Target throttle value for pusher/puller motor during the transition to fw mode</short_desc>
<min>0.0</min>
<max>1.0</max>
<decimal>3</decimal>
<increment>0.01</increment>
<scope>modules/vtol_att_control</scope>
</parameter>
<parameter default="5.0" name="VT_DWN_PITCH_MAX" type="FLOAT">
<short_desc>Maximum allowed down-pitch the controller is able to demand. This prevents large, negative
lift values being created when facing strong winds. The vehicle will use the pusher motor
to accelerate forward if necessary</short_desc>
<min>0.0</min>
<max>45.0</max>
<scope>modules/vtol_att_control</scope>
</parameter>
<parameter default="0.0" name="VT_FWD_THRUST_SC" type="FLOAT">
<short_desc>Fixed wing thrust scale for hover forward flight</short_desc>
<long_desc>Scale applied to fixed wing thrust being used as source for forward acceleration in multirotor mode. This technique can be used to avoid the plane having to pitch down a lot in order to move forward. Setting this value to 0 (default) will disable this strategy.</long_desc>
<min>0.0</min>
<max>2.0</max>
<scope>modules/vtol_att_control</scope>
</parameter>
<parameter default="0.0" name="VT_FW_MIN_ALT" type="FLOAT">
<short_desc>QuadChute</short_desc>
<long_desc>Minimum altitude for fixed wing flight, when in fixed wing the altitude drops below this altitude the vehicle will transition back to MC mode and enter failsafe RTL</long_desc>
......@@ -7185,49 +7297,21 @@ Maps the change of airspeed error to the acceleration setpoint</short_desc>
</parameter>
</group>
<group name="Miscellaneous">
<parameter default="10.0" name="SEG_TH2V_P" type="FLOAT">
<short_desc>SEG_TH2V_P</short_desc>
<scope>modules/segway</scope>
</parameter>
<parameter default="0.0" name="SEG_TH2V_I" type="FLOAT">
<short_desc>SEG_TH2V_I</short_desc>
<scope>modules/segway</scope>
<parameter default="0.1" name="EXFW_HDNG_P" type="FLOAT">
<short_desc>EXFW_HDNG_P</short_desc>
<scope>examples/fixedwing_control</scope>
</parameter>
<parameter default="0.0" name="SEG_TH2V_I_MAX" type="FLOAT">
<short_desc>SEG_TH2V_I_MAX</short_desc>
<scope>modules/segway</scope>
<parameter default="0.2" name="EXFW_ROLL_P" type="FLOAT">
<short_desc>EXFW_ROLL_P</short_desc>
<scope>examples/fixedwing_control</scope>
</parameter>
<parameter default="1.0" name="SEG_Q2V" type="FLOAT">
<short_desc>SEG_Q2V</short_desc>
<scope>modules/segway</scope>
<parameter default="0.2" name="EXFW_PITCH_P" type="FLOAT">
<short_desc>EXFW_PITCH_P</short_desc>
<scope>examples/fixedwing_control</scope>
</parameter>
<parameter default="0" name="RC_MAP_FAILSAFE" type="INT32">
<short_desc>Failsafe channel mapping</short_desc>
<long_desc>The RC mapping index indicates which channel is used for failsafe If 0, whichever channel is mapped to throttle is used otherwise the value indicates the specific rc channel to use</long_desc>
<min>0</min>
<max>18</max>
<scope>modules/sensors</scope>
<values>
<value code="11">Channel 11</value>
<value code="10">Channel 10</value>
<value code="13">Channel 13</value>
<value code="12">Channel 12</value>
<value code="15">Channel 15</value>
<value code="14">Channel 14</value>
<value code="17">Channel 17</value>
<value code="16">Channel 16</value>
<value code="18">Channel 18</value>
<value code="1">Channel 1</value>
<value code="0">Unassigned</value>
<value code="3">Channel 3</value>
<value code="2">Channel 2</value>
<value code="5">Channel 5</value>
<value code="4">Channel 4</value>
<value code="7">Channel 7</value>
<value code="6">Channel 6</value>
<value code="9">Channel 9</value>
<value code="8">Channel 8</value>
</values>
<parameter default="0.1" name="RV_YAW_P" type="FLOAT">
<short_desc>RV_YAW_P</short_desc>
<scope>examples/rover_steering_control</scope>
</parameter>
<parameter default="-1" name="COM_FLTMODE1" type="INT32">
<short_desc>First flightmode slot (1000-1160)</short_desc>
......@@ -7355,21 +7439,49 @@ Maps the change of airspeed error to the acceleration setpoint</short_desc>
<value code="8">Stabilized</value>
</values>
</parameter>
<parameter default="0.1" name="EXFW_HDNG_P" type="FLOAT">
<short_desc>EXFW_HDNG_P</short_desc>
<scope>examples/fixedwing_control</scope>
<parameter default="10.0" name="SEG_TH2V_P" type="FLOAT">
<short_desc>SEG_TH2V_P</short_desc>
<scope>modules/segway</scope>
</parameter>
<parameter default="0.2" name="EXFW_ROLL_P" type="FLOAT">
<short_desc>EXFW_ROLL_P</short_desc>
<scope>examples/fixedwing_control</scope>
<parameter default="0.0" name="SEG_TH2V_I" type="FLOAT">
<short_desc>SEG_TH2V_I</short_desc>
<scope>modules/segway</scope>
</parameter>
<parameter default="0.2" name="EXFW_PITCH_P" type="FLOAT">
<short_desc>EXFW_PITCH_P</short_desc>
<scope>examples/fixedwing_control</scope>
<parameter default="0.0" name="SEG_TH2V_I_MAX" type="FLOAT">
<short_desc>SEG_TH2V_I_MAX</short_desc>
<scope>modules/segway</scope>
</parameter>
<parameter default="0.1" name="RV_YAW_P" type="FLOAT">
<short_desc>RV_YAW_P</short_desc>
<scope>examples/rover_steering_control</scope>
<parameter default="1.0" name="SEG_Q2V" type="FLOAT">
<short_desc>SEG_Q2V</short_desc>
<scope>modules/segway</scope>
</parameter>
<parameter default="0" name="RC_MAP_FAILSAFE" type="INT32">
<short_desc>Failsafe channel mapping</short_desc>
<long_desc>The RC mapping index indicates which channel is used for failsafe If 0, whichever channel is mapped to throttle is used otherwise the value indicates the specific rc channel to use</long_desc>
<min>0</min>
<max>18</max>
<scope>modules/sensors</scope>
<values>
<value code="11">Channel 11</value>
<value code="10">Channel 10</value>
<value code="13">Channel 13</value>
<value code="12">Channel 12</value>
<value code="15">Channel 15</value>
<value code="14">Channel 14</value>
<value code="17">Channel 17</value>
<value code="16">Channel 16</value>
<value code="18">Channel 18</value>
<value code="1">Channel 1</value>
<value code="0">Unassigned</value>
<value code="3">Channel 3</value>
<value code="2">Channel 2</value>
<value code="5">Channel 5</value>
<value code="4">Channel 4</value>
<value code="7">Channel 7</value>
<value code="6">Channel 6</value>
<value code="9">Channel 9</value>
<value code="8">Channel 8</value>
</values>
</parameter>
</group>
</parameters>
......@@ -66,6 +66,7 @@ QGCView {
FlightDisplayViewController { id: _controller }
function setStates() {
QGroundControl.saveBoolGlobalSetting(_mainIsMapKey, _mainIsMap)
if(_mainIsMap) {
//-- Adjust Margins
_flightMapContainer.state = "fullMode"
......
......@@ -51,7 +51,7 @@ Rectangle {
anchors.leftMargin: _topBottomMargin
anchors.left: parent.left
size: _innerRadius * 2
active: active
active: root.active
anchors.verticalCenter: parent.verticalCenter
}
......@@ -60,7 +60,7 @@ Rectangle {
anchors.leftMargin: _spacing
anchors.left: attitude.right
size: _innerRadius * 2
active: active
active: root.active
anchors.verticalCenter: parent.verticalCenter
}
}
......@@ -278,6 +278,7 @@ public:
Q_PROPERTY(bool supportsManualControl READ supportsManualControl CONSTANT)
Q_PROPERTY(bool supportsThrottleModeCenterZero READ supportsThrottleModeCenterZero CONSTANT)
Q_PROPERTY(bool supportsJSButton READ supportsJSButton CONSTANT)
Q_PROPERTY(bool supportsRadio READ supportsRadio CONSTANT)
Q_PROPERTY(bool sub READ sub CONSTANT)
Q_PROPERTY(bool autoDisconnect MEMBER _autoDisconnect NOTIFY autoDisconnectChanged)
Q_PROPERTY(QString prearmError READ prearmError WRITE setPrearmError NOTIFY prearmErrorChanged)
......
......@@ -61,13 +61,15 @@ public:
bool reboot(QextSerialPort* port);
// Supported bootloader board ids
static const int boardIDPX4FMUV1 = 5; ///< PX4 V1 board
static const int boardIDPX4FMUV2 = 9; ///< PX4 V2 board
static const int boardIDPX4FMUV4 = 11; ///< PX4 V4 board
static const int boardIDPX4Flow = 6; ///< PX4 Flow board
static const int boardIDAeroCore = 98; ///< Gumstix AeroCore board
static const int boardID3DRRadio = 78; ///< 3DR Radio
static const int boardIDMINDPXFMUV2 = 88; ///< MindPX V2 board
static const int boardIDPX4FMUV1 = 5; ///< PX4 V1 board, as from USB PID
static const int boardIDPX4FMUV2 = 9; ///< PX4 V2 board, as from USB PID
static const int boardIDPX4FMUV4 = 11; ///< PX4 V4 board, as from USB PID
static const int boardIDPX4Flow = 6; ///< PX4 Flow board, as from USB PID
static const int boardIDAeroCore = 98; ///< Gumstix AeroCore board, as from USB PID
static const int boardID3DRRadio = 78; ///< 3DR Radio. This is an arbitrary value unrelated to the PID
static const int boardIDMINDPXFMUV2 = 88; ///< MindPX V2 board, as from USB PID
static const int boardIDTAPV1 = 64; ///< TAP V1 board, as from USB PID
static const int boardIDASCV1 = 65; ///< ASC V1 board, as from USB PID
signals:
/// @brief Signals progress indicator for long running bootloader utility routines
......
......@@ -97,7 +97,7 @@ QGCView {
} else {
// We end up here when we detect a board plugged in after we've started upgrade
statusTextArea.append(highlightPrefix + qsTr("Found device") + highlightSuffix + ": " + controller.boardType)
if (controller.boardType == "Pixhawk" || controller.boardType == "AeroCore" || controller.boardType == "PX4 Flow" || controller.boardType == "PX4 FMU V1" || controller.boardType == "MindPX") {
if (controller.boardType == "Pixhawk" || controller.boardType == "AeroCore" || controller.boardType == "PX4 Flow" || controller.boardType == "PX4 FMU V1" || controller.boardType == "MindPX" || controller.boardType == "TAP V1" || controller.boardType == "ASC V1") {
showDialog(pixhawkFirmwareSelectDialogComponent, title, qgcView.showDialogDefaultWidth, StandardButton.Ok | StandardButton.Cancel)
}
}
......
......@@ -139,6 +139,14 @@ void FirmwareUpgradeController::_foundBoard(bool firstAttempt, const QSerialPort
_foundBoardTypeName = "MindPX";
_startFlashWhenBootloaderFound = false;
break;
case QGCSerialPortInfo::BoardTypeTAPV1:
_foundBoardTypeName = "TAP V1";
_startFlashWhenBootloaderFound = false;
break;
case QGCSerialPortInfo::BoardTypeASCV1:
_foundBoardTypeName = "ASC V1";
_startFlashWhenBootloaderFound = false;
break;
case QGCSerialPortInfo::BoardTypePX4Flow:
_foundBoardTypeName = "PX4 Flow";
_startFlashWhenBootloaderFound = false;
......@@ -344,6 +352,18 @@ void FirmwareUpgradeController::_initFirmwareHash()
{ AutoPilotStackPX4, BetaFirmware, DefaultVehicleFirmware, "http://px4-travis.s3.amazonaws.com/Firmware/beta/mindpx-v2_default.px4"},
{ AutoPilotStackPX4, DeveloperFirmware, DefaultVehicleFirmware, "http://px4-travis.s3.amazonaws.com/Firmware/master/mindpx-v2_default.px4"},
};
//////////////////////////////////// TAPV1 firmwares //////////////////////////////////////////////////
FirmwareToUrlElement_t rgTAPV1FirmwareArray[] = {
{ AutoPilotStackPX4, StableFirmware, DefaultVehicleFirmware, "http://px4-travis.s3.amazonaws.com/Firmware/stable/tap-v1_default.px4"},
{ AutoPilotStackPX4, BetaFirmware, DefaultVehicleFirmware, "http://px4-travis.s3.amazonaws.com/Firmware/beta/tap-v1_default.px4"},
{ AutoPilotStackPX4, DeveloperFirmware, DefaultVehicleFirmware, "http://px4-travis.s3.amazonaws.com/Firmware/master/tap-v1_default.px4"},
};
//////////////////////////////////// ASCV1 firmwares //////////////////////////////////////////////////
FirmwareToUrlElement_t rgASCV1FirmwareArray[] = {
{ AutoPilotStackPX4, StableFirmware, DefaultVehicleFirmware, "http://px4-travis.s3.amazonaws.com/Firmware/stable/asc-v1_default.px4"},
{ AutoPilotStackPX4, BetaFirmware, DefaultVehicleFirmware, "http://px4-travis.s3.amazonaws.com/Firmware/beta/asc-v1_default.px4"},
{ AutoPilotStackPX4, DeveloperFirmware, DefaultVehicleFirmware, "http://px4-travis.s3.amazonaws.com/Firmware/master/asc-v1_default.px4"},
};
/////////////////////////////// px4flow firmwares ///////////////////////////////////////
FirmwareToUrlElement_t rgPX4FLowFirmwareArray[] = {
{ PX4Flow, StableFirmware, DefaultVehicleFirmware, "http://px4-travis.s3.amazonaws.com/Flow/master/px4flow.px4" },
......@@ -385,6 +405,18 @@ void FirmwareUpgradeController::_initFirmwareHash()
_rgMindPXFMUV2Firmware.insert(FirmwareIdentifier(element.stackType, element.firmwareType, element.vehicleType), element.url);
}
size = sizeof(rgTAPV1FirmwareArray)/sizeof(rgTAPV1FirmwareArray[0]);
for (int i = 0; i < size; i++) {
const FirmwareToUrlElement_t& element = rgTAPV1FirmwareArray[i];
_rgTAPV1Firmware.insert(FirmwareIdentifier(element.stackType, element.firmwareType, element.vehicleType), element.url);
}
size = sizeof(rgASCV1FirmwareArray)/sizeof(rgASCV1FirmwareArray[0]);
for (int i = 0; i < size; i++) {
const FirmwareToUrlElement_t& element = rgASCV1FirmwareArray[i];
_rgASCV1Firmware.insert(FirmwareIdentifier(element.stackType, element.firmwareType, element.vehicleType), element.url);
}
size = sizeof(rgPX4FLowFirmwareArray)/sizeof(rgPX4FLowFirmwareArray[0]);
for (int i = 0; i < size; i++) {
const FirmwareToUrlElement_t& element = rgPX4FLowFirmwareArray[i];
......@@ -420,6 +452,10 @@ QHash<FirmwareUpgradeController::FirmwareIdentifier, QString>* FirmwareUpgradeCo
return &_rgAeroCoreFirmware;
case Bootloader::boardIDMINDPXFMUV2:
return &_rgMindPXFMUV2Firmware;
case Bootloader::boardIDTAPV1:
return &_rgTAPV1Firmware;
case Bootloader::boardIDASCV1:
return &_rgASCV1Firmware;
case Bootloader::boardID3DRRadio:
return &_rg3DRRadioFirmware;
default:
......@@ -447,6 +483,12 @@ QHash<FirmwareUpgradeController::FirmwareIdentifier, QString>* FirmwareUpgradeCo
case QGCSerialPortInfo::BoardTypeMINDPXFMUV2:
boardId = Bootloader::boardIDMINDPXFMUV2;
break;
case QGCSerialPortInfo::BoardTypeTAPV1:
boardId = Bootloader::boardIDTAPV1;
break;
case QGCSerialPortInfo::BoardTypeASCV1:
boardId = Bootloader::boardIDASCV1;
break;
case QGCSerialPortInfo::BoardTypePX4Flow:
boardId = Bootloader::boardIDPX4Flow;
break;
......
......@@ -194,6 +194,8 @@ private:
QHash<FirmwareIdentifier, QString> _rgAeroCoreFirmware;
QHash<FirmwareIdentifier, QString> _rgPX4FMUV1Firmware;
QHash<FirmwareIdentifier, QString> _rgMindPXFMUV2Firmware;
QHash<FirmwareIdentifier, QString> _rgTAPV1Firmware;
QHash<FirmwareIdentifier, QString> _rgASCV1Firmware;
QHash<FirmwareIdentifier, QString> _rgPX4FLowFirmware;
QHash<FirmwareIdentifier, QString> _rg3DRRadioFirmware;
......
......@@ -38,7 +38,7 @@ The build system is setup to use pkgconfig and it will find the necessary header
### Mac OS
Download the gstreamer framework from here: http://gstreamer.freedesktop.org/data/pkg/osx. The current version, as this is written is 1.5.2.
Download the gstreamer framework from here: http://gstreamer.freedesktop.org/data/pkg/osx. Supported version is 1.5.2. QGC may work with newer version, but it is untested.
You need two packages:
- [gstreamer-1.0-devel-1.5.2-x86_64.pkg](http://gstreamer.freedesktop.org/data/pkg/osx/1.5.2/gstreamer-1.0-devel-1.5.2-x86_64.pkg)
......@@ -72,6 +72,10 @@ qgroundcontrol
### Windows
TODO: Binaries found in http://gstreamer.freedesktop.org/data/pkg/windows
(work in progress)
Download the gstreamer framework from here: http://gstreamer.freedesktop.org/data/pkg/windows. Supported version is 1.5.2. QGC may work with newer version, but it is untested.
You need two packages:
- [gstreamer-1.0-devel-x86-1.5.2.msi](https://gstreamer.freedesktop.org/data/pkg/windows/1.5.2/gstreamer-1.0-devel-x86-1.5.2.msi)
- [gstreamer-1.0-x86-1.5.2.msi](https://gstreamer.freedesktop.org/data/pkg/windows/1.5.2/gstreamer-1.0-x86-1.5.2.msi)
The installer places them under c:\gstreamer, which is where the QGC build system will look for it.
......@@ -42,8 +42,7 @@
#endif
#if defined(QGC_GST_STREAMING)
#if defined(__macos__)
#ifdef QGC_INSTALL_RELEASE
#if (defined(__macos__) && defined(QGC_INSTALL_RELEASE)) || defined(Q_OS_WIN)
static void qgcputenv(const QString& key, const QString& root, const QString& path)
{
QString value = root + path;
......@@ -51,7 +50,6 @@ static void qgcputenv(const QString& key, const QString& root, const QString& pa
}
#endif
#endif
#endif
void initializeVideoStreaming(int &argc, char* argv[])
{
......@@ -67,6 +65,9 @@ void initializeVideoStreaming(int &argc, char* argv[])
qgcputenv("GST_PLUGIN_PATH_1_0", currentDir, "/../Frameworks/GStreamer.framework/Versions/Current/lib/gstreamer-1.0");
qgcputenv("GST_PLUGIN_PATH", currentDir, "/../Frameworks/GStreamer.framework/Versions/Current/lib/gstreamer-1.0");
#endif
#elif defined(Q_OS_WIN)
QString currentDir = QCoreApplication::applicationDirPath();
qgcputenv("GST_PLUGIN_PATH", currentDir, "/gstreamer-plugins");
#endif
// Initialize GStreamer
GError* error = NULL;
......
......@@ -51,29 +51,26 @@ LinuxBuild {
GST_ROOT = c:/gstreamer/1.0/x86
exists($$GST_ROOT) {
CONFIG += VideoEnabled
LIBS += -L$$GST_ROOT/lib/gstreamer-1.0/static -lgstreamer-1.0 -lgstvideo-1.0 -lgstbase-1.0
LIBS += -L$$GST_ROOT/lib -lglib-2.0 -lintl -lgobject-2.0
LIBS += -L$$GST_ROOT/lib -lgstreamer-1.0 -lgstvideo-1.0 -lgstbase-1.0
LIBS += -lglib-2.0 -lintl -lgobject-2.0
INCLUDEPATH += \
$$GST_ROOT/include/gstreamer-1.0 \
$$GST_ROOT/include/glib-2.0 \
$$GST_ROOT/lib/gstreamer-1.0/include \
$$GST_ROOT/lib/glib-2.0/include
COPY_FILE_LIST = \
$$GST_ROOT\\bin\\libffi-6.dll \
$$GST_ROOT\\bin\\libglib-2.0-0.dll \
$$GST_ROOT\\bin\\libgmodule-2.0-0.dll \
$$GST_ROOT\\bin\\libgobject-2.0-0.dll \
$$GST_ROOT\\bin\\libgstbase-1.0-0.dll \
$$GST_ROOT\\bin\\libgstreamer-1.0-0.dll \
$$GST_ROOT\\bin\\libgstvideo-1.0-0.dll \
$$GST_ROOT\\bin\\libintl-8.dll \
$$GST_ROOT\\bin\\liborc-0.4-0.dll \
$$GST_ROOT\\bin\\libwinpthread-1.dll
$$GST_ROOT/lib/glib-2.0/include
DESTDIR_WIN = $$replace(DESTDIR, "/", "\\")
for(COPY_FILE, COPY_FILE_LIST) {
QMAKE_POST_LINK += $$escape_expand(\\n) $$QMAKE_COPY \"$$COPY_FILE\" \"$$DESTDIR_WIN\"
}
QMAKE_POST_LINK += $$escape_expand(\\n)
GST_ROOT_WIN = $$replace(GST_ROOT, "/", "\\")
# Copy main GStreamer runtime files
QMAKE_POST_LINK += $$escape_expand(\\n) xcopy \"$$GST_ROOT_WIN\\bin\*.dll\" \"$$DESTDIR_WIN\" /S/Y $$escape_expand(\\n)
QMAKE_POST_LINK += xcopy \"$$GST_ROOT_WIN\\bin\*.\" \"$$DESTDIR_WIN\" /S/Y $$escape_expand(\\n)
# Copy GStreamer plugins
QMAKE_POST_LINK += $$escape_expand(\\n) xcopy \"$$GST_ROOT_WIN\\lib\\gstreamer-1.0\\*.dll\" \"$$DESTDIR_WIN\\gstreamer-plugins\\\" /Y $$escape_expand(\\n)
QMAKE_POST_LINK += $$escape_expand(\\n) xcopy \"$$GST_ROOT_WIN\\lib\\gstreamer-1.0\\validate\\*.dll\" \"$$DESTDIR_WIN\\gstreamer-plugins\\validate\\\" /Y $$escape_expand(\\n)
}
} else:AndroidBuild {
#- gstreamer assumed to be installed in $$PWD/../../android/gstreamer-1.0-android-armv7-1.5.2
......
......@@ -15,6 +15,7 @@
#include "UAS.h"
#include "QGCApplication.h"
#include "QGCToolbox.h"
#include "QGCMapEngine.h"
#include "Vehicle.h"
#include "MainWindow.h"
......@@ -31,7 +32,6 @@
QGC_LOGGING_CATEGORY(LogDownloadLog, "LogDownloadLog")
static QLocale kLocale;
//-----------------------------------------------------------------------------
struct LogDownloadData {
LogDownloadData(QGCLogEntry* entry);
......@@ -42,6 +42,8 @@ struct LogDownloadData {
uint ID;
QGCLogEntry* entry;
uint written;
size_t rate_bytes;
qreal rate_avg;
QElapsedTimer elapsed;
void advanceChunk()
......@@ -76,6 +78,8 @@ LogDownloadData::LogDownloadData(QGCLogEntry* entry_)
: ID(entry_->id())
, entry(entry_)
, written(0)
, rate_bytes(0)
, rate_avg(0)
{
}
......@@ -95,7 +99,7 @@ QGCLogEntry::QGCLogEntry(uint logId, const QDateTime& dateTime, uint logSize, bo
QString
QGCLogEntry::sizeStr() const
{
return kLocale.toString(_logSize);
return QGCMapEngine::bigSizeToString(_logSize);
}
//----------------------------------------------------------------------------------------
......@@ -332,10 +336,18 @@ LogDownloadController::_logData(UASInterface* uas, uint32_t ofs, uint16_t id, ui
//-- Write chunk to file
if(_downloadData->file.write((const char*)data, count)) {
_downloadData->written += count;
_downloadData->rate_bytes += count;
if (_downloadData->elapsed.elapsed() >= kGUIRateMilliseconds) {
//-- Update download rate
qreal rrate = _downloadData->rate_bytes/(_downloadData->elapsed.elapsed()/1000.0);
_downloadData->rate_avg = _downloadData->rate_avg*0.95 + rrate*0.05;
_downloadData->rate_bytes = 0;
//-- Update status
QString comma_value = kLocale.toString(_downloadData->written);
_downloadData->entry->setStatus(comma_value);
const QString status = QString("%1 (%2/s)").arg(QGCMapEngine::bigSizeToString(_downloadData->written),
QGCMapEngine::bigSizeToString(_downloadData->rate_avg));
_downloadData->entry->setStatus(status);
_downloadData->elapsed.start();
}
result = true;
......
......@@ -335,7 +335,7 @@ void LinkManager::saveLinkConfigurationList()
linkConfig->saveSettings(settings, root);
}
} else {
qWarning() << "Internal error";
qWarning() << "Internal error for link configuration in LinkManager";
}
}
QString root(LinkConfiguration::settingsRoot());
......@@ -542,6 +542,18 @@ void LinkManager::_updateAutoConnectLinks(void)
pSerialConfig->setUsbDirect(true);
}
break;
case QGCSerialPortInfo::BoardTypeTAPV1:
if (_autoconnectPixhawk) {
pSerialConfig = new SerialConfiguration(QString("TAP on %1").arg(portInfo.portName().trimmed()));
pSerialConfig->setUsbDirect(true);
}
break;
case QGCSerialPortInfo::BoardTypeASCV1:
if (_autoconnectPixhawk) {
pSerialConfig = new SerialConfiguration(QString("ASC on %1").arg(portInfo.portName().trimmed()));
pSerialConfig->setUsbDirect(true);
}
break;
case QGCSerialPortInfo::BoardTypePX4Flow:
if (_autoconnectPX4Flow) {
pSerialConfig = new SerialConfiguration(QString("PX4Flow on %1").arg(portInfo.portName().trimmed()));
......
......@@ -25,6 +25,8 @@ static const struct VIDPIDMapInfo_s {
{ QGCSerialPortInfo::px4VendorId, QGCSerialPortInfo::px4FlowProductId, QGCSerialPortInfo::BoardTypePX4Flow, "Found PX4 Flow" },
{ QGCSerialPortInfo::px4VendorId, QGCSerialPortInfo::AeroCoreProductId, QGCSerialPortInfo::BoardTypeAeroCore, "Found AeroCore" },
{ QGCSerialPortInfo::px4VendorId, QGCSerialPortInfo::MindPXFMUV2ProductId, QGCSerialPortInfo::BoardTypeMINDPXFMUV2,"Found MindPX FMU V2" },
{ QGCSerialPortInfo::px4VendorId, QGCSerialPortInfo::TAPV1ProductId, QGCSerialPortInfo::BoardTypeTAPV1, "Found TAP V1" },
{ QGCSerialPortInfo::px4VendorId, QGCSerialPortInfo::ASCV1ProductId, QGCSerialPortInfo::BoardTypeASCV1, "Found ASC V1" },
{ QGCSerialPortInfo::threeDRRadioVendorId, QGCSerialPortInfo::threeDRRadioProductId, QGCSerialPortInfo::BoardTypeSikRadio, "Found SiK Radio" },
{ QGCSerialPortInfo::siLabsRadioVendorId, QGCSerialPortInfo::siLabsRadioProductId, QGCSerialPortInfo::BoardTypeSikRadio, "Found SiK Radio" },
{ QGCSerialPortInfo::ubloxRTKVendorId, QGCSerialPortInfo::ubloxRTKProductId, QGCSerialPortInfo::BoardTypeRTKGPS, "Found RTK GPS" },
......@@ -81,6 +83,12 @@ QGCSerialPortInfo::BoardType_t QGCSerialPortInfo::boardType(void) const
} else if (description() == "MindPX FMU v2.x" || description() == "MindPX BL FMU v2.x") {
qCDebug(QGCSerialPortInfoLog) << "Found MindPX FMU V2 (by name matching fallback)";
boardType = BoardTypeMINDPXFMUV2;
} else if (description() == "PX4 TAP v1.x" || description() == "PX4 BL TAP v1.x") {
qCDebug(QGCSerialPortInfoLog) << "Found TAP V1 (by name matching fallback)";
boardType = BoardTypeTAPV1;
} else if (description() == "PX4 ASC v1.x" || description() == "PX4 BL ASC v1.x") {
qCDebug(QGCSerialPortInfoLog) << "Found ASC V1 (by name matching fallback)";
boardType = BoardTypeASCV1;
} else if (description() == "FT231X USB UART") {
qCDebug(QGCSerialPortInfoLog) << "Found possible Radio (by name matching fallback)";
boardType = BoardTypeSikRadio;
......@@ -114,7 +122,8 @@ bool QGCSerialPortInfo::boardTypePixhawk(void) const
return boardType == BoardTypePX4FMUV1 || boardType == BoardTypePX4FMUV2
|| boardType == BoardTypePX4FMUV4 || boardType == BoardTypeAeroCore
|| boardType == BoardTypeMINDPXFMUV2;
|| boardType == BoardTypeMINDPXFMUV2 || boardType == BoardTypeTAPV1
|| boardType == BoardTypeASCV1;
}
bool QGCSerialPortInfo::isBootloader(void) const
......
......@@ -35,6 +35,8 @@ public:
BoardTypeAeroCore,
BoardTypeRTKGPS,
BoardTypeMINDPXFMUV2,
BoardTypeTAPV1,
BoardTypeASCV1,
BoardTypeUnknown
} BoardType_t;
......@@ -52,6 +54,8 @@ public:
static const int px4FlowProductId = 21; ///< Product ID for PX4 Flow board
static const int MindPXFMUV2ProductId = 48; ///< Product ID for the MindPX V2 board
static const int TAPV1ProductId = 64; ///< Product ID for the TAP V1 board
static const int ASCV1ProductId = 65; ///< Product ID for the ASC V1 board
static const int threeDRRadioVendorId = 1027; ///< Vendor ID for 3DR Radio
static const int threeDRRadioProductId = 24597; ///< Product ID for 3DR Radio
......
......@@ -168,6 +168,7 @@ Row {
id: rcRssi
width: rssiRow.width * 1.1
height: mainWindow.tbCellHeight
visible: activeVehicle ? activeVehicle.supportsRadio : true
Row {
id: rssiRow
height: parent.height
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment