Skip to content

ArduPilot/MethodicConfigurator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Correctly configure ArduPilot for your vehicles on your first attempt

Lint Quality Test Deploy Maintain
Pylint Codacy Badge Python unit-tests pages-build-deployment Average time to resolve an issue
test Python cleanliness OpenSSF Best Practices Pytest unittests Upload MethodicConfigurator Package Percentage of issues still open
mypy Known Vulnerabilities codecov Windows Build
markdown Code Climate Coverity Scan Build Status
md-link-check

ArduPilot Methodic Configurator is a software, developed by ArduPilot developers, that semi-automates a clear, proven and safe configuration sequence for ArduCopter drones. We are working on extending it to ArduPlane, Heli and Rover vehicles. But for those it is still very incomplete.

  • clear: the sequence is linear, executed one step at the time with no hidden complex dependencies
  • proven: the software has been used by hundreds of ArduPilot developers and users. From beginners to advanced. On big and small vehicles.
  • safe: the sequence reduces trial-and-error and reduces the amount of flights required to configure the vehicle

Let's compare it with the traditional tool used to configure ArduPilot: a generalist Ground Control Station (GCS) software.

Feature Mission Planner, QGroundControl, ... etc ArduPilot Methodic Configurator
configuration type manual 1 semi-automated 2
explains what to do 👎 👍
explains when to do something 👎 leaves you lost 👍 explains the path
explains why do something 👎 👍
configuration method a different menu for each task, some tasks have no menu, so you need to dig into the 1200 parameters each task only presents you a relevant subset of parameters
parameter documentation 👍 only on the full-parameter tree view 👍
displays relevant documentation 👎 👍
makes sure you do not forget a step 👎 👍
checks that parameters get correctly uploaded 👎 👍
reuse params in other vehicles 👎 unless you hand edit files 👍 out-of-the-box
documents why you changed each parameter 👎 👍
tutorials and learning resources 👎 scattered and not integrated 👍 context-aware help integrated

When to use ArduPilot Methodic Configurator

It's graphical user interface (GUI) manages and visualizes ArduPilot parameters, parameter files and documentation.

Application Screenshot

1. Quick overview of the entire process

To methodically build, configure and tune ArduPilot vehicles follow this sequence of steps:

1.1 Select the vehicle components

1.2 Install Software

1.3 Input vehicle components and component connections into ArduPilot Methodic Configurator

The software needs this information to automatically pre-select configuration settings relevant to your specific vehicle

1.4 Perform IMU temperature calibration before assembling the autopilot into the vehicle (optional)

IMU temperature calibration reduces the probability of Accel inconsistent and Gyro inconsistent errors and reduces the time required to arm the vehicle. IMU temperature calibration requires lowering the temperature of the autopilot (flight controller) to circa -20°C. That is harder to do once the autopilot is assembled inside the vehicle, hence it is done now.

1.5 Assemble all components except the propellers

Assemble and connect all components. Make sure you follow best practices

1.6 Basic mandatory configuration

Again using the ArduPilot Methodic configurator software GUI perform the following steps:

Now use Mission Planner to do:

And continue with the ArduPilot Methodic configurator software GUI:

1.7 Assemble propellers and perform the first flight

Now that all mandatory configuration steps are done you can perform the first flight

1.8 Minimalistic mandatory tuning

These are the very minimum tuning steps required for a stable flight:

That is it, if you are impatient and do not want an optimized vehicle you can skip to everyday use.

1.9 Standard tuning (optional)

These are the standard tuning steps required for an optimized flight:

Now the standard tuning is complete you can skip to everyday use

1.10 Improve altitude under windy conditions (optional)

1.11 System identification for analytical PID optimization (optional)

1.12 Position controller tuning (optional)

1.13 Everyday use

Now that tuning and configuration are done, some logging and tests can be disabled and some more safety features enabled:

Enjoy your properly configured vehicle.

The following sections describe each step of the procedure in more detail.

2. Install ArduPilot Methodic Configurator software on a PC or Mac

See installation instructions

3. Install Mission Planner software on a PC or Mac

  1. Download and install Mission Planner.
  2. Make sure to install all the recommended device drivers when asked to.

4. Install ArduPilot firmware on the flight controller

  1. Connect the flight controller to the computer using a USB cable.
  2. Open Mission Planner software.
  3. Go to SETUP > Install Firmware select your vehicle type and install version 4.3.8 or newer of the ArduPilot firmware onto the flight controller. Install ArduPilot firmware
  4. Wait until the firmware download is complete.
  5. Disconnect the USB cable from the flight controller.

5. Use the ArduPilot Methodic Configurator software for the first time

See the Use the ArduPilot Methodic Configurator software for the first time usecase.

6. Configure the vehicle's parameters in a traceable way

The following simple loop is presented as welcome instructions: AMC welcome instructions

Now do this in a loop until the software automatically closes or you are asked to close the software:

  • Read all the documentation links displayed at the top of the GUI (marked with the big red number 4),
  • Edit the parameter's New value and Reason changed fields to match your vehicle (marked with the big red number 5),
    • The Reason changed field is extremely important because:
      • if forces you to think, causing rational decisions instead of impulsive ones
      • justifies your decisions on a vehicle certification process required in most countries
      • allows for someone else to see if you know what you are doing
      • allows for someone else (or yourself after a few weeks) to understand your rationale
  • Press Del and/or Add buttons to delete or add parameters respectively (marked with the big red number 5),
  • If necessary scroll down using the scroll bar on the right and make sure you edit all parameters,
  • Press Upload selected params to FC, and advance to next param file (marked with the big red number 7),
  • Repeat from the top until the program automatically closes.

7. Use the ArduPilot Methodic Configurator software after having created a vehicle from a template

See the Use the ArduPilot Methodic Configurator software after having created a vehicle from a template usecase.

Congratulations your flight controller is now fully configured in the safest and fastest way publicly known.

There is also documentation on other use cases and a detailed but generic Usermanual.

Install

See the install instructions

Documentation and Support

Need help or support

Contributing

Want to help us and contribute?

Software design and development

To meet the Software requirements a software architecture was designed and implemented.

Code of conduct

To use and develop this software you must obey the ArduPilot Methodic Configurator Code of Conduct.

License

This software is cost free. This project is licensed under the GNU General Public License v3.0.

Credits

It builds upon other open-source software packages

Footnotes

  1. you need to know what/when/why you are doing

  2. it explains what you should do, when you should do it and why