Giter Club home page Giter Club logo

ardupilot / missionplanner Goto Github PK

View Code? Open in Web Editor NEW
1.6K 198.0 2.3K 299.1 MB

Mission Planner Ground Control Station for ArduPilot (c# .net)

Home Page: http://ardupilot.org/planner/

License: GNU General Public License v3.0

C# 73.34% C++ 0.02% C 0.02% XSLT 0.14% Python 1.16% Shell 0.01% HTML 0.35% Batchfile 0.02% Smalltalk 0.03% JavaScript 19.65% CSS 0.07% PowerShell 0.01% Lua 5.19%
gcs ardupilot uav autopilot planner mission ros open-source missionplanner c-sharp autonomous pixhawk cube ground control station

missionplanner's Introduction

MissionPlanner

Dot Net Android OSX/IOS

Website : http://ardupilot.org/planner/

Forum : http://discuss.ardupilot.org/c/ground-control-software/mission-planner

Download latest stable version : http://firmware.ardupilot.org/Tools/MissionPlanner/MissionPlanner-latest.msi

Changelog : https://github.com/ArduPilot/MissionPlanner/blob/master/ChangeLog.txt

License : https://github.com/ArduPilot/MissionPlanner/blob/master/COPYING.txt

How to compile

On Windows (Recommended)

1. Install software

Main requirements

Currently, Mission Planner needs:

Visual Studio 2022

IDE

Visual Studio Community

To compile Mission Planner, we recommend using Visual Studio. You can download Visual Studio Community from the Visual Studio Download page.

Visual Studio is a comprehensive suite with built-in Git support, but it can be overwhelming due to its complexity. To streamline the installation process, you can customize your installation by selecting the relevant "Workloads" and "Individual components" based on your software development needs.

To simplify this selection process, we have provided a configuration file that specifies the components required for MissionPlanner development. Here's how you can use it:

  1. Go to "More" in the Visual Studio installer.
  2. Select "Import configuration."
  3. Use the following file: vs2022.vsconfig.

By following these steps, you'll have the necessary components installed and ready for Mission Planner development.

VSCode

Currently VSCode with C# plugin is able to parse the code but cannot build.

2. Get the code

If you get Visual Studio Community, you should be able to use Git from the IDE. Clone https://github.com/ArduPilot/MissionPlanner.git to get the full code.

In case you didn't install an IDE, you will need to manually install Git. Please follow instruction in https://ardupilot.org/dev/docs/where-to-get-the-code.html#downloading-the-code-using-git

Open a git bash terminal in the MissionPlanner directory and type, "git submodule update --init" to download all submodules

3. Build

To build the code:

  • Open MissionPlanner.sln with Visual Studio
  • From the Build menu, select "Build MissionPlanner"

On other systems

Building Mission Planner on other systems isn't support currently.

Launching Mission Planner on other system

Mission Planner is available for Android via the Play Store. https://play.google.com/store/apps/details?id=com.michaeloborne.MissionPlanner Mission Planner can be used with Mono on Linux systems. Be aware that not all functions are available on Linux. Native MacOS and iOS support is experimental and not recommended for inexperienced users. https://github.com/ArduPilot/MissionPlanner/releases/tag/osxlatest For MacOS users it is recommended to use Mission Planner for Windows via Boot Camp or Parallels (or equivalent).

On Linux

Requirements

Those instructions were tested on Ubuntu 20.04. Please install Mono, either :

  • sudo apt install mono-complete mono-runtime libmono-system-windows-forms4.0-cil libmono-system-core4.0-cil libmono-winforms4.0-cil libmono-corlib4.0-cil libmono-system-management4.0-cil libmono-system-xml-linq4.0-cil

Launching

You can debug Mission Planner on Mono with MONO_LOG_LEVEL=debug mono MissionPlanner.exe

External Services Used

Source Use How to disable Custodian
https://firmware.oborne.me used as a global cdn for checking for MP update check - checked once per day at startup edit missionplanner.exe.config Michael Oborne
https://firmware.ardupilot.org used for updates to stable, firmware metadata, firmware, user alerts, gstreamer, SRTM, SITL updates to stable (edit missionplanner.exe.config) - all others Not possible Ardupilot Team
https://github.com/ used for updates to beta edit missionplanner.exe.config Michael Oborne
https://raw.githubusercontent.com old param metadata, sitl config files Not possible Ardupilot Team
https://api.github.com/ ardupilot preload param files Not possible Ardupilot Team
https://raw.oborne.me/ used as glocal cdn for parameter metadata generator, no longer primary source only used at user request to regenerate, edit missionplanner.exe.config Michael Oborne
https://maps.google.com used for elevation api - removed due to abuse N/A N/A
https://discuss.cubepilot.org/ use for SB2 reporting - only on affected boards when user enters details only used at user request CubePilot
https://altitudeangel.com utm data - user enabled only used at user request Altitude Angel
https://autotest.ardupilot.org dataflash log meta data, parameter metadata Not Possible Ardupilot Team
Many your choice of map provider google/bing/openstreetmap/etc User selectable User/Many
https://www.cloudflare.com geo location provider - for NFZ selection Not Possible Michael Oborne
https://esua.cad.gov.hk HK no fly zones - user enabled User selectable HK Gov
https://ssl.google-analytics.com Google Analytics Anonymous Stats - Screen Loads, Exceptions/Crashs, Events (Connect), Startup Timing, FW upload (FW Type and Board Type) disable in Config > Planner > OptOut Anon Stats Michael Oborne
https://api.dronelogbook.com logging - disabled N/A N/A
https://ardupilot.org help urls on many pages User Initiated ArduPilot Team
https://www.youtube.com help videos on many pages User Initiated ArduPilot Team
https://files.rfdesign.com.au RFD firmwares User Initiated RFDesign
https://teck.airmarket.io airmarket - disabled N/A N/A

Offline Use - No Internet

Location Use Transferable between pcs
C:\ProgramData\Mission Planner\gmapcache Map cache yes
C:\ProgramData\Mission Planner\srtm Elevation data cache yes
C:\ProgramData\Mission Planner\*.pdef.xml Parameter cache yes
C:\ProgramData\Mission Planner\LogMessages*.xml DF Log metadata cache yes

on linux this is in /home//.local/share/Mission Planner/

Offline Data Supported

Elevation

  • SRTM Cache
  • GeoTiff's in WGS84/EGM96
  • DTED

Images

  • Map Cache
  • WMS
  • WMTS
  • GDAL

Paths used - Default

Location Use
C:\ProgramData\Mission Planner All cross user content
C:\Users\USERNAME\Documents\Mission Planner All per user content

on linux this is in /home//.local/share/Mission Planner/

CA Cert

A CA cert is installed to the root store and used to sign the windows serial port drivers, and is installed as part of the MSI install.

FlagCounter

missionplanner's People

Contributors

bys1123 avatar chobitsfan avatar davidbuzz avatar dependabot[bot] avatar ellissu avatar eosbandi avatar gediminasgu avatar hendjoshsr71 avatar iampete1 avatar irissam avatar jwangaeronavics avatar kjeremy avatar lovettchris avatar lukemike avatar magicrub avatar meee1 avatar muramura avatar oxinarf avatar rmackay9 avatar robertlong13 avatar sborenstein-ift avatar sergeybokhantsev avatar skitisu avatar stephendade avatar stevenhatrfdesign avatar tajisoft avatar tatsuy avatar tridge avatar ustramooner avatar zeropointgaming avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

missionplanner's Issues

Send waypoint range to mav

It would be very useful for environmental mapping to select a waypoint range wich is send to the mav.

An additional button "Send Waypoint Range" wich opens a window where you can select the first and last waypoint to be send. Maybe a dialog which asks for "RTL after last waypoint?"

So its very easy to split the whole mission into small missions for each lipo.

SET_MODE in flight data screen sent with wrong values for Rover

Hi Michael,
When connected to a Rover, the "set mode" button always sends this packet regardless of the mode selected:

2013-05-09 11:12:04.69: SET_MODE {target_system : 1, base_mode : 0, custom_mode : 0}

It needs to fill in custom_mode and also set MAV_MODE_FLAG_CUSTOM_MODE_ENABLED in base_mode.

Cheers, Tridge
PS: Tested with MP 1.2.50

Mission Planner no longer works on Linux

Mission Planner has worked really well on linux using Mono for most of its history.

Every once in a while one of the updates breaks it. I just tried to upgrade from 1.2.33, which worked great, to 1.2.38. Now I get the following error:

aaron@thunkpad:~/arducopter/Mission Planner 1.2.38$ mono ArdupilotMegaPlanner10.exe
If your error is about Microsoft.DirectX.DirectInput, please install the latest directx redist from here http://www.microsoft.com/en-us/download/details.aspx?id=35

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.TypeLoadException: Could not load type 'System.Configuration.Internal.ConfigurationManagerInternal, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
at (wrapper managed-to-native) System.Type:internal_from_name (string,bool,bool)
at System.Type.GetType (System.String typeName, Boolean throwOnError) [0x00000] in :0
at System.Configuration.TypeUtil.CreateInstanceWithReflectionPermission (System.String typeString) [0x00000] in :0
at System.Configuration.ConfigurationManagerInternalFactory.get_Instance () [0x00000] in :0
at System.Diagnostics.DiagnosticsConfiguration.Initialize () [0x00000] in :0
at System.Diagnostics.DiagnosticsConfiguration.get_Sources () [0x00000] in :0
at System.Diagnostics.TraceSource.Initialize () [0x00000] in :0
at System.Diagnostics.TraceSource.get_Switch () [0x00000] in :0
at System.Net.Logging.InitializeLogging () [0x00000] in :0
at System.Net.Logging.get_On () [0x00000] in :0
at System.Net.Sockets.Socket..ctor (AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType) [0x00000] in :0
at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000] in :0
at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in :0
at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in :0
at System.Windows.Forms.XplatUI..cctor () [0x00000] in :0
--- End of inner exception stack trace ---
at System.Windows.Forms.Application.EnableVisualStyles () [0x00000] in :0
at ArdupilotMega.Program.Main () [0x00000] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.TypeLoadException: Could not load type 'System.Configuration.Internal.ConfigurationManagerInternal, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
at (wrapper managed-to-native) System.Type:internal_from_name (string,bool,bool)
at System.Type.GetType (System.String typeName, Boolean throwOnError) [0x00000] in :0
at System.Configuration.TypeUtil.CreateInstanceWithReflectionPermission (System.String typeString) [0x00000] in :0
at System.Configuration.ConfigurationManagerInternalFactory.get_Instance () [0x00000] in :0
at System.Diagnostics.DiagnosticsConfiguration.Initialize () [0x00000] in :0
at System.Diagnostics.DiagnosticsConfiguration.get_Sources () [0x00000] in :0
at System.Diagnostics.TraceSource.Initialize () [0x00000] in :0
at System.Diagnostics.TraceSource.get_Switch () [0x00000] in :0
at System.Net.Logging.InitializeLogging () [0x00000] in :0
at System.Net.Logging.get_On () [0x00000] in :0
at System.Net.Sockets.Socket..ctor (AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType) [0x00000] in :0
at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000] in :0
at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in :0
at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in :0
at System.Windows.Forms.XplatUI..cctor () [0x00000] in :0
--- End of inner exception stack trace ---
at System.Windows.Forms.Application.EnableVisualStyles () [0x00000] in :0
at ArdupilotMega.Program.Main () [0x00000] in :0

Display Sonar distance in mission planner

It would be helpful for people to be able to see the sonar distance on the mission planner. This distance is separate from altitude so similar to other sensor's it would be good to see it's output separately.

TCP server pass-trought

A TCP pass-trought would be realy good for the DroidPlanner Android app. Just redirecting the received serial data to a client on a TCP link.

Mission planner works as the TCP host with the click of a button (and shows the current IP address), and all the data received by serial is passed to the TCP port.

Would that be to hard to implement?

Mission Planner: video device input setting not stored permanently.

For the last couple of versions of mission planner (since about 1.2.28 I think) the option to embed video into the HUD is broken on my machines (3 of them, running XP, 32 and 64 bit Win7). It works fine after initialization in the configuration tab - but once any tab other than flight data is selected the video is replaced with a white box and the desired input device needs to be selected again.

No option to set up shutter triggering in Grid, only GridV2

Starting somewhere around version 1.2.47 or so of the Mission Planner, the sequence of steps in Auto WP > Grid diverged from the sequence in Auto WP > GridV2. Specifically, Grid no longer presents a dialog box asking about Shutter Triggering - that question is only asked by the GridV2 setup. These two sequences should be the same, i.e., it should be possible to set up shutter triggering in both Grid and GridV2.

After prefetching map data, mission planner moves map around and sets waypoint.

What steps will reproduce the problem?

  1. Hold down ALT key and draw a rectangle on the map in the flight data screen.
  2. Right click in rectangle and select prefetch of map.
  3. After finishing prefetching, map moves around if mouse is moved. If clicked on the map to stop the movement, mp sets a waypoint.

What is the expected output? What do you see instead?
Map should not move around after prefetching, first click on the rectangle or somewhere else should not set a waypoint.

What version of the product are you using? On what operating system?
Using MP version 1.2.36 MAV 1.0 on Windows 7 and Windows 8

3DR Power Module with 4s LiPo: the voltage is shown wrong off 0.8V

With 3DR Power Module and 4s LiPo full charged the planner show "16.0V" instead of "16.8V" (the right value).
I spoke with other users and all have this problem with 4s LiPo, the average is "0.8V".
Possible "bug" of the default VOLT_DIVIDER value.
Tested with the latest Mission Planer V1.2.50.

Marco Robustini

Missionplanner does not run under mono (ubuntu 12.10)

Hello,
When I start Mission planner 1.2.45 I get:

..$ mono ArdupilotMegaPlanner10.exe

Unhandled Exception: System.TypeLoadException: Could not load type 'ArdupilotMega.Program' from assembly 'ArdupilotMegaPlanner10, Version=1.1.4856.13370, Culture=neutral, PublicKeyToken=null'.
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type 'ArdupilotMega.Program' from assembly 'ArdupilotMegaPlanner10, Version=1.1.4856.13370, Culture=neutral, PublicKeyToken=null'.

This started from MP 1.2.43

Draw a circle of defined radius around home to set maximum distance.

Feature that you'd like us to add or change you'd like us to make:
Before mission or flight starts, one could draw a circle with defined radius to mark the limit of fpv or telemetry tx range. If the airplane/copter comes close to the limit, a spoken warning and text should be displayed to inform the pilot.
Future enhancements could be to submit a command to the aircraft to turn around to prevent flying out of range.

Mission planner accelerometer calibration can't be run more than once

If you attempt to run the accelerometer calibration more than once, it does run in the background but doesn't ask the user to move the copter to it's various positions.

Note: this behavior exposes a bug in the arducopter code in which it will save an uninitialized roll/pitch trim to the AHRS_TRIM_X and Y parameters.

The temporary solution is for the user to restart the mission planner and do the calibration again.

Here is a video demo: http://www.youtube.com/watch?v=OJ3EgkuOHB4

Half of the menu items missing from configuration screen under mono

A recent update (1.2.43, I believe, I can check later when I have more time) caused a bug which only occurs for me when running Planner on linux under Mono (Ubuntu 12.10 x64). In the configuration screen, I have Radio Calibration, Flight Modes, FailSafe, ArduCopter Level, > Hardware Options, + Battery Monitor, but then the rest of the menu items are missing. I've attached a screenshot.

mpConfigMenuBug

Spoken warning of low batt/no capacity is almost always false alarm

If speech is enabled in the Mission Planner and the battery warning is checked, it is quite common to get an occasional announcement of "WARNING - battery at zero volt, zero per cent remaining" or words to that effect, even with a freshly charged battery. This occurs with telemetry connection when APM 2.5 is powered by a battery. The HUD in the MP never shows zero volts when this occurs - it shows a steady reading of the actual battery voltage. I have noted this behavior in MP version 1.2.47 and 1.2.48. It appears as if the MP simply missed a read of the battery voltage from the telemetry link, and the property transiently took on a default value of zero, kicking off the warning. Suggestion: average multiple reads of the voltage, or do an outlier rejection from a short sequence of reads, and don't give the voice warning unless the voltage is below the threshold for several readings in a row. Whatever, don't give the voice warning if only one reading is zero.

Setting up camera gimbal causes crash and freeze

I'm setting up a tilt gimbal using MPv1.2.36 connected with a 3DR 433MHz radio.
I've set up the servo limits and angle limits, however when I change the Input Ch from 'disabled' to 'Ch6' the following errors come up, (I am connected to the 'net so not sure about the second one).
Also at this point my APM2 becomes completely unresponsive, requiring a cold reboot.
Ch6 Opt in ArduCopter Config is set to CH6_0NONE.

2013-03-19_1045
2013-03-19_1046

Repo broken - It is not possible to build because of missing files

Hi,
it is not possible to build, because there are files missing in the repo.
Sorry it is German, error message mean "The file XX could not be found"

c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.CSharp.targets(67,9): error MSB3041: Für "SerialOutputPass.resx" kann kein Manifestressourcenname erstellt werden. Die Datei "XXXX\Documents\GitHub\MissionPlanner\SerialOutputPass.cs" konnte nicht gefunden werden.
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.CSharp.targets(67,9): error MSB3041: Für "SerialOutputMD.resx" kann kein Manifestressourcenname erstellt werden. Die Datei "XXXX\Documents\GitHub\MissionPlanner\SerialOutputMD.cs" konnte nicht gefunden werden.
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.CSharp.targets(67,9): error MSB3041: Für "SerialOutputNMEA.resx" kann kein Manifestressourcenname erstellt werden. Die Datei "XXXX\Documents\GitHub\MissionPlanner\SerialOutputNMEA.cs" konnte nicht gefunden werden.
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.CSharp.targets(67,9): error MSB3041: Für "Swarm\FollowLeaderControl.resx" kann kein Manifestressourcenname erstellt werden. Die Datei "XXXX\Documents\GitHub\MissionPlanner\Swarm\FollowLeaderControl.cs" konnte nicht gefunden werden.
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.CSharp.targets(67,9): error MSB3041: Für "Swarm\Grid.resx" kann kein Manifestressourcenname erstellt werden. Die Datei "XXXX\Documents\GitHub\MissionPlanner\Swarm\Grid.cs" konnte nicht gefunden werden.

2.9 Calibration button "Done" misleading

Reopened here. One would think, this here being a rather sophisticated ticket management system, that admins/mods could easily move tickets from one folder to another. Apparently not.

The Calibration procedure displays a button with the caption "Done" and the message "Calibration successful". Clicking that button sends you into a new round of calibrations. I fell for that. After 6 steps of "Done, turn drone" that button entices you to click it...can you remove the button or catch the click into a "yay, you done it" page?

This is not a repeat of the "calibration starts again in the background" issue. You have to manually repeat the entire set of calibration steps, which themselves work fine.

2 9failannotated

Request: Provide mAh display and handling for battery consumption

I am using several batteries and different capacities based on the payload and mission on the same plane and would love to have an option to monitor the battery consumption in mAh. Please consider adding a configurable option to handle and display all consumption figures in mAh in addition or instead of percentages.

cheers
-mikko

Request: speech audio warning on GPS below thresholds

Similar to the battery warning, can we please have GPS warning?

It would work the same way, but instead of the user inputting their preferred low volts and battery percentage, you would input min satellite count (e.g. 6) and max hdop (e.g 3).

I've had intermittent GPS interference on a new build recently, and it would have been great to know when it is not safe to use LOITER and other modes that rely on a solid GPS lock.

Update does not work on linux (1.2.33)

On windows, i get an update warning and MP gets updated to 1.2.35 as usual.

On linux I don't get this warning (from 1.2.33) and when updating by hand through the help menu there is an error message:
Update: Failed error getting response stream (Write: The authentication or decryption has failed.): Sendfailure.

Camera trigger option "trigger when 3m from waypoint" not working. Please implement!!

I just found out that after months of testing this option does not work. Its a drop down selection for camera trigger method at the top of the standard parameters menu.

This is a very important feature for those doing aerial mapping and having it work would cut n hour out of setup time as now you have to manually put each camera trigger point in the waypoints section, then set each one's PWM and CH number every time.

Please! Can someone make this happen?

Image Georeferencing

Geo-reference (CTRL+F>Geo Ref Images) function on Mission Planner needs to be modified to project the photos on the ground correctly.

Right now it rotates and sets the photo at the right spot on the KMZ file. But the projection is not calculated, the photo is just centered on the spot with the size entered by the user.

We need to calculate the projection of the photo on the ground using photogrammetric theory. We already have the 6 external orientation parameters at hand ( 3 coordinates, 3 attitude) and the internal parameters of the camera can be typed or selected by the user (as is implemented on Planning>Right Click>Map Tool>camera), all that is missing is some math.

So if you know your photogrammetric formulas please share! I will look up but if someone has the experience that would be handy. To state clearly what is needed:

Input:

  • 3 Coordinates for the camera position (lat,lon,alt)
  • 3 angles for the orientation of the camera (pitch,roll,yaw)
  • Camera sensor size
  • Camera focal length

Required output

  • 4 coordinates for the corners of the projected picture

With the coordinates when can use this specification of KML to add the photos: nonrectangular quadrilateral ground overlays

I also started a discussing on drones-discuss about this topic.

Log browser recently broken under Mono after upgrading 1.2.50

Planner just keeps getting more broken for us Linux users :-(

Clicking on "log browse" causes this:

System.Windows.Forms.SplitContainer doesn't implement interface System.ComponentModel.ISupportInitialize

Stacktrace:

at ArdupilotMega.Log.LogBrowse.InitializeComponent () <0x00216>
at ArdupilotMega.Log.LogBrowse..ctor () <0x00153>
at (wrapper remoting-invoke-with-check) ArdupilotMega.Log.LogBrowse..ctor () <0xffffffff>
at ArdupilotMega.GCSViews.Terminal.BUT_logbrowse_Click (object,System.EventArgs) <0x0001f>
at System.Windows.Forms.Control.OnClick (System.EventArgs) <0x00069>
at System.Windows.Forms.Button.OnClick (System.EventArgs) <0x00053>
at ArdupilotMega.Controls.MyButton.OnClick (System.EventArgs) <0x00013>
at System.Windows.Forms.ButtonBase.OnMouseUp (System.Windows.Forms.MouseEventArgs) <0x00101>
at System.Windows.Forms.Button.OnMouseUp (System.Windows.Forms.MouseEventArgs) <0x00013>
at ArdupilotMega.Controls.MyButton.OnMouseUp (System.Windows.Forms.MouseEventArgs) <0x00027>
at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message&) <0x00128>
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&) <0x00207>
at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message&) <0x00093>
at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message&) <0x00013>
at System.Windows.Forms.Control/ControlWindowTarget.OnMessage (System.Windows.Forms.Message&) <0x00024>
at System.Windows.Forms.Control/ControlNativeWindow.WndProc (System.Windows.Forms.Message&) <0x00036>
at System.Windows.Forms.NativeWindow.WndProc (intptr,System.Windows.Forms.Msg,intptr,intptr) <0x002f0>
at System.Windows.Forms.XplatUIX11.DispatchMessage (System.Windows.Forms.MSG&) <0x0001f>
at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG&) <0x00024>
at System.Windows.Forms.Application.RunLoop (bool,System.Windows.Forms.ApplicationContext) <0x00c9b>
at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext) <0x0005f>
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) <0x00033>
at ArdupilotMega.Program.Main () <0x003f3>
at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

    mono() [0x4961e9]
    /lib/x86_64-linux-gnu/libpthread.so.0(+0xfbd0) [0x7f6d8f9aabd0]
    /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x7f6d8f60a037]
    /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7f6d8f60d698]
    mono() [0x5cdd7f]
    mono() [0x5cde02]
    mono() [0x497eaf]
    mono() [0x4985c4]
    [0x41a78bba]

Debug info from gdb:

warning: File "/home/aaron/arducopter/binary/MissionPlanner/.gdbinit" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operation not permitted.
To enable execution of this file add
add-auto-load-safe-path /home/aaron/arducopter/binary/MissionPlanner/.gdbinit
line to your configuration file "/home/aaron/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/home/aaron/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
No threads.

Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries

used by your application.

Aborted (core dumped)

Vertical Speed, Climb Rate redundant? Also units

In the Mission Planner, there appear to be two flight parameters which are redundant - Vertical Speed and Climb Rate. Moreover, the units displayed for both parameters always reflect the Speed Units chosen in the Planner parameters, even if those units are not particularly relevant. For example, I'm not sure that if users have chosen to display speed in mph, that they necessarily want rate of climb displayed in these units. I may be wrong, but it is my understanding that in full-scale aviation, rate of climb is always expressed in per-minute units, never per-hour units. I actually prefer per-second units. While I suggest that you seek the consensus of the user community on this issue, my vote would be for units of either feet per minute or meters per minute, or perhaps per-minute units on one (Climb Rate) and per-second units on the other (Vertical Speed) so user can choose which one to display in the "Quick" tab - but never miles-per-hour, which is almost impossible to make use of in actual flying.

Georeference Problem

The Ctrl+F geotagger isn't working for me. No matter what log I put in, the readout says that the log begins and ends 05/09/2013 05:00:00 PM, thus no matches are made.

I tried an older version of mission planner, and geotagger worked.

Project doesn't build

As of the 1.2.37 release, the project no longer builds (again). There are a bunch of "missing" references and new missing projects. I had added the HintPaths to fix the missing references in #20, but my changes were apparently reverted in the latest release.

I appreciate that you're pretty much the lone developer on this project, but would it be possible to do a clone of your working repo and verify that the clone builds before pushing each release? That would make it a lot easier for others to track this project.

Battery Monitor tab loses configuration

Three potential defects illustrated in this video:

https://www.youtube.com/watch?v=31FZlZ-2I_s

I am trying to calibrate I and V for a 3DR power module with APM 2.5. I'm running MP 1.2.51.

  1. The "calibration" textfields marked read-only are not a consistent function of the Monitor, Sensor, and APM Version chosen from the dropdowns.
  2. Only the blur event on a user-supplied field will save its value. I'd suggest the enter keypress be allowed to trigger bindings that validate and save. Sometimes only one TXT field is enabled, so blur isn't possible.
  3. Some left sidebar navigations will cause the calculated voltage to revert to a non-calibrated calculation. Other left sidebar navigations will cause both the calibrated value and the calibration input (in this case, field 2 "Measured battery voltage") to be lost.

I read the docs and know that entering field 1, "APM Input Voltage" is the only one mentioned for calibration. Changes to this field do not seem to affect the calculated voltages displayed, so my video illustrates attempting to get results from field 2, "Measured battery voltage". The wiki seems to imply a time when 4-4-2 would allow APM Input voltage to be user-entered (and this would calibrate things), but not field 2: Measured battery voltage.

I wish I knew C Sharp and could contribute a pull request. For #1, may I suggest you glance at these lines of code to consider adding the appropriate field disabling to the (selection == 0) and (selection == 4) cases above. Also note the field enabling/disabling here and here.

For #3, I don't fully understand the intended behavior (I think we want to scale a measured value using a calibration into a calculated value for display), but perhaps these lines shouldn't override fields that allow themselves to be user-supplied, such as TXT_measuredvoltage.

Fixing these may close issue 42 and issue 44 as well. Please let me know if I can help in any way short of getting an entire C# dev environment going :)

battery monitor

Compass offsets set unnecessarily Advanced Params screen

If compass offsets change while the user is on the Advanced Params screen, then the next time they push the Write Params button (on that screen) the compass offsets x, y and z will be updated to old value.

https://www.youtube.com/watch?v=1fdSlL9PkvA

We also found an issue by Marco in which the offsets were saved to values that were 1000 times too big. We can't reproduce this issue but it happened at the same time as the unnecessary offset update.

Shortcut Key for Write/Save

On a Win PC: pressing CTRL + S normally saves any open document. Please can this be added to the Mission Planner to save or write parameters after editing?

Advanced params screen missing

Testing with 1.2.45 on Ubuntu Linux with mono. Runs and operates just fine, but the advanced params screen, with all the different parameter settings is no longer displayed. Last time I saw it was with version 1.2.32 or something iirc.

Am I missing something obvious here?

Request: live Vcc out

The Vcc can only be seen in the logs, nowhere can it be seen "live" in the MP, so for example one cannot see the moment a brownout occurs or if there is a volt drop in the system when a servo is plugged in or operated.
Therefore request please for visible Vcc?

Top Nav bar disappeared after uncheck autohide

Unchecked autohide for the top nav bar and it disappeared completely. Came back only after restart. Has happened twice but I can't reproduce the problem again, maybe just a glitch in the matrix.
2013-02-11_1518

Planner: Ch6 option refresh

Planner: Ch6 option refresh

Add a "Refresh" button to ArduCopter Pids screen when Ch6 option has been enabled. Clicking Refresh button would only update values related to Ch6 option.
If no Ch6 option is enable. disable button.

Currently when using Ch6 options you need to refresh whole parameter list to get values from copter.

fix 3D accel calibration via MAVLink

Hi Michael,
Randy and I have implemented a better MAVLink method for 3D accel calibration in both plane and copter using MAVLink STATUSTEXT and COMMAND_ACK packets.
You can see the implementation in MAVProxy here:
tridge/MAVProxy@4e13efd
Basically the flow is this:

  • if in CLI, then old text based flow is used
  • if connected with MAVLink then APM sends MAVLink STATUSTEXT messages starting with "Place APM "
  • the ground station should show the text of these messages to the user, then should send COMMAND_ACK MAVLink response messages back to the APM when the user has acknowledged the message.
    If you could add this to MP that would be great! Currently accel cal over MAVLink is broken with the 3.0 beta

Mission planner is confused between metric and english feet/meters when creating auto wp (way points)

Today I confirmed that there is a bug in the auto WP (Waypoint) feature. In the MP 1.2.35 when using the AUTP WP feature for creating grids or lawnmower patterns. I have the MP set up to read in feet and the Default Alt set to 500, HOWEVER when the auto waypoints are created their altitude is displayed as 152. I assumed that there was a problem with the displayed altitude, indicating 152 meters when in reality it was 500 feet. WRONG! It is actually 152 FEET!

Archaic Log system needs serious overhall

The current log system is poorly explained and well not great to be honest.

It is archaic in the way you have to access everything, now if i could code i would do something about it but i cannot, so i thought i would post here,

I would suggest a dedicated tab called Logs
This is what i visualize
Maximize the image for detail

NMEA fixes/enhancements

Update: Sorry, you can go ahead and close this issue as a duplicate. I thought I could attach commits to an issue, but apparently not. I created a separate pull request.

The NMEA-0183 standard specifies that sentences are terminated with a CR/LF sequence.

Also, since NMEA sentences are written out more than once per second, it would be nice to have timestamps with millisecond (well, at least sub-second) resolution.

Find Trim Pan feature without 3DR radio

.. if you don't have a 3DR radio connected and accidentally hit the Find Trim Pan button in antenna tracker configuration, the pan slider and the servo value move about apparently randomly for a long time, and there is no way to stop it. Could it be made to quit early if no 3RD radio RSSI is correctly received?

Yaw buttons to MP

Add +1, +5, -1, -5 degrees change buttons on Mission Planner Actions tab.

They are really useful when flying in Guided mode, by clicking buttons use can change heading of the copter easily. Can be also -+1 and -+10 degrees. Or optionally can set angles from Planner configuration screen.

should display GLOBAL_POSITION_INT.relative_alt in HUD

Hi Michael,
The HUD in MP displays MSL for ArduPlane and MAGL for ArduCopter. It seems to be using VFR_HUD.alt for both, but unfortunately ArduCopter fills in VFR_HUD.alt with MAGL (the common.xml spec says it should be MSL).
Can you change the HUD to use GLOBAL_POSITION_INT.relative_alt*0.001 instead? That will work for both.
Alternatively, a check box in planner config to choose MSL or MAGL for the HUD would be nice, in case some plane users would prefer to keep MSL.
Thanks!
Cheers, Tridge

Cosmetic Issue - to vs. too in dialog box

In the Flight Planner section of the Mission Planner, if the Elevation Graph is selected (right click, Map Tool > Elevation Graph) with too many or too few waypoints, a dialog box is displayed which is grammatically incorrect (see attached). It should read "Too many/few WPs or too big a distance (n km)". This is an extremely minor quibble, but also extremely quick to fix.
bad grammar mp dialog box

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.