-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IMPROVEMENT: SPDX tags and codacy lint fixes
- Loading branch information
1 parent
d10464d
commit dd41bc2
Showing
24 changed files
with
183 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
# Software architecture | ||
<!-- | ||
SPDX-FileCopyrightText: 2024 Amilcar do Carmo Lucas <[email protected]> | ||
SPDX-License-Identifier: GPL-3.0-or-later | ||
--> | ||
|
||
Before we decided on a software architecture or programming language or toolkit we gathered software requirements as presented below. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
![Cinewhoop Diatone Taycan MX-C|586x500](upload://naJEdzmLeF8hvzupJCpLBT7tZay.jpeg) | ||
<!-- | ||
SPDX-FileCopyrightText: 2024 Amilcar do Carmo Lucas <[email protected]> | ||
SPDX-License-Identifier: GPL-3.0-or-later | ||
--> | ||
|
||
For illustrative purposes, we will use the small 3'' multicopter depicted above, but the tuning sequence we developed at [IAV GmbH](https://www.iav.com/) will work on almost any other multicopter. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
Continuation from the Blog post above.... | ||
<!-- | ||
SPDX-FileCopyrightText: 2024 Amilcar do Carmo Lucas <[email protected]> | ||
SPDX-License-Identifier: GPL-3.0-or-later | ||
--> | ||
|
||
For better accuracy, you should do that for all directions and take the average. In our case, we got: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
# How to methodically tune (almost) any multicopter using ArduCopter 4.4.x | ||
# How to methodically tune any ArduCopter | ||
<!-- | ||
SPDX-FileCopyrightText: 2024 Amilcar do Carmo Lucas <[email protected]> | ||
SPDX-License-Identifier: GPL-3.0-or-later | ||
--> | ||
|
||
![Cinewhoop Diatone Taycan MX-C](cinewhoop.png) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
ArduPilot Methodic Configurator Developer Code of Conduct | ||
========================================================= | ||
<!-- | ||
SPDX-FileCopyrightText: 2024 Amilcar do Carmo Lucas <[email protected]> | ||
SPDX-License-Identifier: GPL-3.0-or-later | ||
--> | ||
|
||
Rev 1.0 Apr 3nd 2024 | ||
|
||
|
@@ -24,51 +29,51 @@ Our Pledge | |
In the interest of fostering an open and welcoming environment, we as | ||
developers and maintainers pledge to: | ||
|
||
- Endeavour to make participation in our project and our community a | ||
harassment-free experience for everyone, regardless of age, body | ||
size, disability, ethnicity, gender identity and expression, level | ||
of experience, nationality, personal appearance, race, religion, or | ||
sexual identity and orientation. | ||
- Endeavour to understand the intent of development activities they | ||
undertake, where there may be reason to think that the vehicle may | ||
be used as a weapon or in an application where it is effectively in | ||
control of human life. | ||
- Not knowingly support or facilitate the weaponization of systems | ||
using Ardupilot or ArduPilot Methodic Configurator | ||
- ArduPilot and ArduPilot Methodic Configurator are NOT certified for | ||
use in applications where ArduPilot is effectively in control of human | ||
lives. Members of the development team must not knowingly assist in | ||
projects where ArduPilot will be in control of human lives. | ||
“In control of human lives” includes but isn’t limited to manned | ||
aircraft. | ||
- Endeavor to make participation in our project and our community a | ||
harassment-free experience for everyone, regardless of age, body | ||
size, disability, ethnicity, gender identity and expression, level | ||
of experience, nationality, personal appearance, race, religion, or | ||
sexual identity and orientation. | ||
- Endeavor to understand the intent of development activities they | ||
undertake, where there may be reason to think that the vehicle may | ||
be used as a weapon or in an application where it is effectively in | ||
control of human life. | ||
- Not knowingly support or facilitate the weaponization of systems | ||
using ArduPilot or ArduPilot Methodic Configurator | ||
- ArduPilot and ArduPilot Methodic Configurator are NOT certified for | ||
use in applications where ArduPilot is effectively in control of human | ||
lives. Members of the development team must not knowingly assist in | ||
projects where ArduPilot will be in control of human lives. | ||
“In control of human lives” includes but isn’t limited to manned | ||
aircraft. | ||
|
||
Our Standards | ||
------------- | ||
|
||
Examples of behavior that contributes to achieving the aims of ArduPilot | ||
Methodic Configurator include: | ||
|
||
- Using welcoming and inclusive language | ||
- Being respectful of differing viewpoints and experiences | ||
- Gracefully accepting constructive criticism | ||
- Focusing on what is best for the community | ||
- Showing empathy towards other community members | ||
- Using welcoming and inclusive language | ||
- Being respectful of differing viewpoints and experiences | ||
- Gracefully accepting constructive criticism | ||
- Focusing on what is best for the community | ||
- Showing empathy towards other community members | ||
|
||
Examples of unacceptable behavior by contributors include: | ||
|
||
- The use of sexualized language or imagery and unwelcome sexual | ||
attention or advances | ||
- Trolling, insulting/derogatory comments, and personal or political | ||
attacks | ||
- Public or private harassment | ||
- Publishing others’ private information, such as a physical or | ||
electronic address, without explicit permission | ||
- Modifying ArduPilot Methodic Configurator code to intentionally support | ||
weaponization | ||
- Knowingly designing, testing or using weaponized systems running | ||
ArduPilot Methodic Configurator | ||
- Other conduct which could reasonably be considered inappropriate in | ||
a public or professional setting | ||
- The use of sexualized language or imagery and unwelcome sexual | ||
attention or advances | ||
- Trolling, insulting/derogatory comments, and personal or political | ||
attacks | ||
- Public or private harassment | ||
- Publishing others’ private information, such as a physical or | ||
electronic address, without explicit permission | ||
- Modifying ArduPilot Methodic Configurator code to intentionally support | ||
weaponization | ||
- Knowingly designing, testing or using weaponized systems running | ||
ArduPilot Methodic Configurator | ||
- Other conduct which could reasonably be considered inappropriate in | ||
a public or professional setting | ||
|
||
Our Responsibilities | ||
-------------------- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
# Contributing | ||
<!-- | ||
SPDX-FileCopyrightText: 2024 Amilcar do Carmo Lucas <[email protected]> | ||
SPDX-License-Identifier: GPL-3.0-or-later | ||
--> | ||
|
||
## How to contribute to the ArduPilot Methodic Configurator project? | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
GNU GENERAL PUBLIC LICENSE | ||
Version 3, 29 June 2007 | ||
<!-- | ||
SPDX-FileCopyrightText: 2024 Amilcar do Carmo Lucas <[email protected]> | ||
SPDX-License-Identifier: GPL-3.0-or-later | ||
--> | ||
|
||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> | ||
Everyone is permitted to copy and distribute verbatim copies | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# SPDX-FileCopyrightText: 2024 Amilcar do Carmo Lucas <[email protected]> | ||
# | ||
# SPDX-License-Identifier: GPL-3.0-or-later | ||
recursive-include MethodicConfigurator/vehicle_templates *.param | ||
recursive-include MethodicConfigurator/vehicle_templates *.json | ||
recursive-include MethodicConfigurator/vehicle_templates *.jpg | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
# Quick start guide | ||
<!-- | ||
SPDX-FileCopyrightText: 2024 Amilcar do Carmo Lucas <[email protected]> | ||
SPDX-License-Identifier: GPL-3.0-or-later | ||
--> | ||
|
||
## 1. Install *ArduPilot Methodic Configurator* software on a PC or Mac | ||
|
||
|
@@ -35,14 +40,14 @@ | |
1. Open the *ArduPilot Methodic Configurator* software. | ||
1. The software should now automatically detect and connect to your flight controller. | ||
![AMC FC info and parameter download](images/App_screenshot_FC_info_and_param_download.png) | ||
1. Select the vehicle template that better resembles your own vehicle. | ||
1. Select the vehicle template that better resembles your vehicle. | ||
![AMC template selection1](images/App_screenshot_Vehicle_directory1.png) | ||
![AMC template selection2](images/App_screenshot_Vehicle_overview.png) | ||
1. Give a name to your vehicle. | ||
![AMC new vehicle name](images/App_screenshot_Vehicle_directory2.png) | ||
1. Press *Create vehicle configuration from template*. | ||
![AMC new vehicle create](images/App_screenshot_Vehicle_directory3.png) | ||
1. Edit all the components of your vehicle to match your own in the *vehicle Component Editor* window. | ||
1. Edit all the components of your vehicle to match your own in the *Vehicle Component Editor* window. | ||
![AMC component editor](images/App_screenshot_Component_Editor.png) | ||
1. Press *Save data and start configuration*. | ||
1. The application will validate your input. | ||
|
@@ -66,7 +71,6 @@ Now do this in a loop until the software automatically closes or you are asked t | |
- Press *Upload selected params to FC, and advance to next param file* (marked with the big red number 7), | ||
- Repeat until the program automatically closes. | ||
|
||
|
||
## 6. Use the *ArduPilot Methodic Configurator* software after having created a vehicle from template | ||
|
||
1. Connect the flight controller to the computer using a USB cable. | ||
|
@@ -82,5 +86,5 @@ double-click and step inside the directory that you want to use, not just select | |
1. Press *Save data and start configuration*. | ||
1. You should now see the *Parameter file editor and uploader* window. | ||
![AMC parameter file editor and uploader](images/App_screenshot2.png) | ||
1. Proceed as explained on [section 5](#5-configure-the-vehicles-parameters-in-a-traceable-way) | ||
Congratulations your flight controller is now fully configured in the safest and fastest way publicly know. | ||
1. Proceed as explained in [section 5](#5-configure-the-vehicles-parameters-in-a-traceable-way) | ||
Congratulations your flight controller is now fully configured in the safest and fastest way publicly known. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
# ArduPilot Methodic Configurator | ||
# Everyone should be able to configure ArduPilot for their vehicles | ||
|
||
<!-- | ||
SPDX-FileCopyrightText: 2024 Amilcar do Carmo Lucas <[email protected]> | ||
SPDX-License-Identifier: GPL-3.0-or-later | ||
--> | ||
|
||
| Lint | Quality | Test | Deploy | Maintain | | ||
| ---- | ------- | ---- | ------ | -------- | | ||
| [![Pylint](https://github.com/ArduPilot/MethodicConfigurator/actions/workflows/pylint.yml/badge.svg)](https://github.com/ArduPilot/MethodicConfigurator/actions/workflows/pylint.yml) | [![REUSE status](https://api.reuse.software/badge/github.com/ArduPilot/MethodicConfigurator)](https://api.reuse.software/info/github.com/ArduPilot/MethodicConfigurator) | [![Python unit-tests](https://github.com/ArduPilot/MethodicConfigurator/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/ArduPilot/MethodicConfigurator/actions/workflows/unit-tests.yml) | [![pages-build-deployment](https://github.com/ArduPilot/MethodicConfigurator/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/ArduPilot/MethodicConfigurator/actions/workflows/pages/pages-build-deployment) | [![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/ArduPilot/MethodicConfigurator.svg)](http://isitmaintained.com/project/ArduPilot/MethodicConfigurator) | | ||
| [![Pylint](https://github.com/ArduPilot/MethodicConfigurator/actions/workflows/pylint.yml/badge.svg)](https://github.com/ArduPilot/MethodicConfigurator/actions/workflows/pylint.yml) | [![Codacy Badge](https://app.codacy.com/project/badge/Grade/720794ed54014c58b9eaf7a097a4e98e)](https://app.codacy.com/gh/amilcarlucas/MethodicConfigurator/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) | [![Python unit-tests](https://github.com/ArduPilot/MethodicConfigurator/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/ArduPilot/MethodicConfigurator/actions/workflows/unit-tests.yml) | [![pages-build-deployment](https://github.com/ArduPilot/MethodicConfigurator/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/ArduPilot/MethodicConfigurator/actions/workflows/pages/pages-build-deployment) | [![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/ArduPilot/MethodicConfigurator.svg)](http://isitmaintained.com/project/ArduPilot/MethodicConfigurator) | | ||
| [![test Python cleanliness](https://github.com/ArduPilot/MethodicConfigurator/actions/workflows/ruff.yml/badge.svg)](https://github.com/ArduPilot/MethodicConfigurator/actions/workflows/ruff.yml) | [![OpenSSF Best Practices](https://www.bestpractices.dev/projects/9101/badge)](https://www.bestpractices.dev/projects/9101) | [![Pytest unittests](https://github.com/ArduPilot/MethodicConfigurator/actions/workflows/unittests.yml/badge.svg)](https://github.com/ArduPilot/MethodicConfigurator/actions/workflows/unittests.yml) | [![Upload MethodicConfigurator Package](https://github.com/ArduPilot/MethodicConfigurator/actions/workflows/python-publish.yml/badge.svg)](https://github.com/ArduPilot/MethodicConfigurator/actions/workflows/python-publish.yml) | [![Percentage of issues still open](http://isitmaintained.com/badge/open/ArduPilot/MethodicConfigurator.svg)](http://isitmaintained.com/project/ArduPilot/MethodicConfigurator) | | ||
| | [![Known Vulnerabilities](https://snyk.io/test/github/amilcarlucas/MethodicConfigurator/badge.svg)](https://snyk.io/test/github/amilcarlucas/MethodicConfigurator) | [![codecov](https://codecov.io/github/amilcarlucas/MethodicConfigurator/graph/badge.svg?token=76P928EOL2)](https://codecov.io/github/amilcarlucas/MethodicConfigurator) | [![Windows Build](https://github.com/ArduPilot/MethodicConfigurator/actions/workflows/windows_build.yml/badge.svg)](https://github.com/ArduPilot/MethodicConfigurator/actions/workflows/windows_build.yml) | | ||
| | [![Code Climate](https://codeclimate.com/github/amilcarlucas/MethodicConfigurator.png)](https://codeclimate.com/github/amilcarlucas/MethodicConfigurator) | [![Coverity Scan Build Status](https://scan.coverity.com/projects/30346/badge.svg)](https://scan.coverity.com/projects/ardupilot-methodic-configurator) | [![Github All Releases](https://img.shields.io/github/downloads/ArduPilot/MethodicConfigurator/total.svg)]() | | | ||
|
||
|
||
| | [![Known Vulnerabilities](https://snyk.io/test/github/amilcarlucas/MethodicConfigurator/badge.svg)](https://snyk.io/test/github/amilcarlucas/MethodicConfigurator) | [![codecov](https://codecov.io/github/amilcarlucas/MethodicConfigurator/graph/badge.svg?token=76P928EOL2)](https://codecov.io/github/amilcarlucas/MethodicConfigurator) | [![Windows Build](https://github.com/ArduPilot/MethodicConfigurator/actions/workflows/windows_build.yml/badge.svg)](https://github.com/ArduPilot/MethodicConfigurator/actions/workflows/windows_build.yml) | | | ||
| | [![Code Climate](https://codeclimate.com/github/amilcarlucas/MethodicConfigurator.png)](https://codeclimate.com/github/amilcarlucas/MethodicConfigurator) | [![Coverity Scan Build Status](https://scan.coverity.com/projects/30346/badge.svg)](https://scan.coverity.com/projects/ardupilot-methodic-configurator) | [![Github All Releases](https://img.shields.io/github/downloads/ArduPilot/MethodicConfigurator/total.svg)](https://github.com/ArduPilot/MethodicConfigurator/releases) | | | ||
|
||
Amilcar Lucas's ArduPilot Methodic Configurator is a Python tool that implements a [clear and proven configuration sequence of ArduPilot of drones](https://discuss.ardupilot.org/t/how-to-methodically-tune-almost-any-multicopter-using-arducopter-4-4-x/110842/1). | ||
|
||
|
@@ -59,4 +62,4 @@ To use and develop this software you must obey the [ArduPilot Methodic Configura | |
## License | ||
|
||
This project is licensed under the [GNU General Public License v3.0](LICENSE.md). | ||
It builds upon other [opensource software packages](credits/CREDITS.md) | ||
It builds upon other [open-source software packages](credits/CREDITS.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
# ArduPilot Methodic Configurator User Manual | ||
<!-- | ||
SPDX-FileCopyrightText: 2024 Amilcar do Carmo Lucas <[email protected]> | ||
SPDX-License-Identifier: GPL-3.0-or-later | ||
--> | ||
|
||
## Overview | ||
|
||
|
Oops, something went wrong.