ArduPilot / MissionPlanner

Mission Planner Ground Control Station for ArduPilot (c# .net)
http://ardupilot.org/planner/
GNU General Public License v3.0
1.81k stars 2.43k forks source link

no Flight Modes when using ArduSub #1611

Open itayguy opened 7 years ago

itayguy commented 7 years ago

Issue details

there are not flight modes (it's empty) to choose from. 1.Action -> set mode 2.Configuration ->Mandatory -> Flight Modes 3.Unknown in HUD

Version

1.3.49.1

Platform

[ ] All [ ] AntennaTracker [ ] Copter [ ] Plane [ ] Rover [ X] Sub

Airframe type

What type of airframe (flying wing, glider, hex, Y6, octa etc)

Hardware type

pixhawk v2

Logs

Please provide a link to any relevant logs that show the issue

itayguy commented 7 years ago

missing in ParameterMetaDataBackup.xml line 7522:

<FLTMODE1>
  <DisplayName>FlightMode1</DisplayName>
  <Description>Flight mode for switch position 1 (910 to 1230 and above 2049)</Description>
  <Values>0:STABILIZE,1:ACRO,2:ALT_HOLD,3:AUTO,4:GUIDED,7:CIRCLE,9:SURFACE,16:POSHOLD,19:MANUAL</Values>
  <User>Standard</User>
</FLTMODE1>
<FLTMODE2>
  <DisplayName>FlightMode2</DisplayName>
  <Description>Flight mode for switch position 2 (1231 to 1360)</Description>
   <Values>0:STABILIZE,1:ACRO,2:ALT_HOLD,3:AUTO,4:GUIDED,7:CIRCLE,9:SURFACE,16:POSHOLD,19:MANUAL</Values>
  <User>Standard</User>
</FLTMODE2>
<FLTMODE3>
  <DisplayName>FlightMode3</DisplayName>
  <Description>Flight mode for switch position 3 (1361 to 1490)</Description>
   <Values>0:STABILIZE,1:ACRO,2:ALT_HOLD,3:AUTO,4:GUIDED,7:CIRCLE,9:SURFACE,16:POSHOLD,19:MANUAL</Values>
  <User>Standard</User>
</FLTMODE3>
<FLTMODE4>
  <DisplayName>FlightMode4</DisplayName>
  <Description>Flight mode for switch position 4 (1491 to 1620)</Description>
   <Values>0:STABILIZE,1:ACRO,2:ALT_HOLD,3:AUTO,4:GUIDED,7:CIRCLE,9:SURFACE,16:POSHOLD,19:MANUAL</Values>
  <User>Standard</User>
</FLTMODE4>
<FLTMODE5>
  <DisplayName>FlightMode5</DisplayName>
  <Description>Flight mode for switch position 5 (1621 to 1749)</Description>
   <Values>0:STABILIZE,1:ACRO,2:ALT_HOLD,3:AUTO,4:GUIDED,7:CIRCLE,9:SURFACE,16:POSHOLD,19:MANUAL</Values>
  <User>Standard</User>
</FLTMODE5>
<FLTMODE6>
  <DisplayName>FlightMode6</DisplayName>
  <Description>Flight mode for switch position 6 (1750 to 2049)</Description>
   <Values>0:STABILIZE,1:ACRO,2:ALT_HOLD,3:AUTO,4:GUIDED,7:CIRCLE,9:SURFACE,16:POSHOLD,19:MANUAL</Values>
  <User>Standard</User>
</FLTMODE6>
<INITIAL_MODE>
  <DisplayName>Initial flight mode</DisplayName>
  <Description>This selects the mode to start in on boot. This is useful for when you want to start in AUTO mode on boot without a receiver.</Description>
   <Values>0:STABILIZE,1:ACRO,2:ALT_HOLD,3:AUTO,4:GUIDED,7:CIRCLE,9:SURFACE,16:POSHOLD,19:MANUAL</Values>
  <User>Advanced</User>
</INITIAL_MODE>