Browse Source

APM Planner 1.1.93

fix armed/disarmed message
master
Michael Oborne 13 years ago
parent
commit
fb93d65457
  1. 6
      Tools/ArdupilotMegaPlanner/ArdupilotMega.csproj
  2. 2
      Tools/ArdupilotMegaPlanner/ArdupilotMega.csproj.user
  3. 2
      Tools/ArdupilotMegaPlanner/CurrentState.cs
  4. 2
      Tools/ArdupilotMegaPlanner/Properties/AssemblyInfo.cs

6
Tools/ArdupilotMegaPlanner/ArdupilotMega.csproj

@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ArdupilotMega</RootNamespace>
<AssemblyName>ArdupilotMegaPlanner</AssemblyName>
<AssemblyName>ArdupilotMegaPlanner10</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkProfile>
</TargetFrameworkProfile>
@ -42,7 +42,7 @@ @@ -42,7 +42,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG;MAVLINK10cra</DefineConstants>
<DefineConstants>TRACE;DEBUG;MAVLINK10</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
@ -58,7 +58,7 @@ @@ -58,7 +58,7 @@
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE;DEBUG;MAVLINK10cra</DefineConstants>
<DefineConstants>TRACE;DEBUG;MAVLINK10</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>

2
Tools/ArdupilotMegaPlanner/ArdupilotMega.csproj.user

@ -11,6 +11,6 @@ @@ -11,6 +11,6 @@
<UpdateUrlHistory />
</PropertyGroup>
<PropertyGroup>
<ReferencePath>C:\Users\hog\Desktop\DIYDrones\myquad\greatmaps_e1bb830a18a3\Demo.WindowsForms\bin\Debug\;C:\Users\hog\Desktop\DIYDrones\myquad\sharpkml\SharpKml\bin\Release\;C:\Users\hog\Desktop\DIYDrones\myquad\MetaDataExtractorCSharp240d\bin\Release\;C:\Users\hog\Documents\Visual Studio 2010\Projects\ArdupilotMega\ArdupilotMega\Lib\</ReferencePath>
<ReferencePath>C:\Users\hog\Desktop\DIYDrones\myquad\greatmaps_e1bb830a18a3\Demo.WindowsForms\bin\Debug\;C:\Users\hog\Desktop\DIYDrones\myquad\sharpkml\SharpKml\bin\Release\;C:\Users\hog\Desktop\DIYDrones\myquad\MetaDataExtractorCSharp240d\bin\Release\;C:\Users\hog\Documents\Visual Studio 2010\Projects\ArdupilotMega\ArdupilotMega\Lib\;C:\Users\meee\Desktop\ArduPilotMegaPlanner\</ReferencePath>
</PropertyGroup>
</Project>

2
Tools/ArdupilotMegaPlanner/CurrentState.cs

@ -449,6 +449,8 @@ namespace ArdupilotMega @@ -449,6 +449,8 @@ namespace ArdupilotMega
{
var hb = bytearray.ByteArrayToStructure<MAVLink.mavlink_heartbeat_t>(6);
armed = (hb.base_mode & (byte)MAVLink.MAV_MODE_FLAG.SAFETY_ARMED) == (byte)MAVLink.MAV_MODE_FLAG.SAFETY_ARMED ? 4 : 3;
string oldmode = mode;
mode = "Unknown";

2
Tools/ArdupilotMegaPlanner/Properties/AssemblyInfo.cs

@ -34,5 +34,5 @@ using System.Resources; @@ -34,5 +34,5 @@ using System.Resources;
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.1.*")]
[assembly: AssemblyFileVersion("1.1.92")]
[assembly: AssemblyFileVersion("1.1.93")]
[assembly: NeutralResourcesLanguageAttribute("")]

Loading…
Cancel
Save