INAV Configurator

INAV Configurator 是用于 INAV 飞行控制系统的跨平台配置工具。「INAV Configurator is a crossplatform configuration tool for the INAV flight control system.」

Github stars Tracking Chart

INAV Configurator(INAV 配置器)

INAV Configurator 是用于 INAV 飞行控制系统的跨平台配置工具。

它在 Google Chrome 中作为应用程序运行,并允许您配置在任何受支持的 INAV 目标上运行的 INAV 软件。

该工具和 INAV 可以支持各种类型的飞机,例如四轴飞行器、六轴飞行器、八轴飞行器和固定翼飞机。

INAV Configurator 启动最小化,我该怎么办?

您必须删除 C:\Users%Your_UserNname%\AppData\Local\inav-configurator 文件夹及其所有内容。

https://www.youtube.com/watch?v=XMoULyiFDp4

或者,在带有 PowerShell 的 Windows 上,您可以使用 post_install_cleanup.ps1 脚本执行清理。(谢谢 James Cherrill)

安装

根据目标操作系统,INAV Configurator 可以作为独立应用程序或 Chrome App 分发。

Windows

  1. 访问发布页面
  2. 下载适用于 Windows 平台的 Configurator(有 Win32 或 Win64)
  3. 提取 ZIP 存档
  4. 从解压后的文件夹中运行 INAV Configurator 应用
  5. 配置器未签名,因此您必须允许 Windows 运行不受信任的应用程序。第一次运行时可能会有监控

Linux

  1. 访问发布页面
  2. 下载适用于 Linux 平台的配置器(有 linux32 和 linux64)
  3. 提取 tar.gz 存档
  4. 使 inav-configurator 文件可执行(chmod +x inav-configurator)
  5. 从解压后的文件夹中运行 INAV Configurator 应用

Mac

  1. 访问发布页面
  2. 下载适用于 Mac 平台的配置器
  3. 提取 ZIP 存档
  4. 运行 INAV Configurator
  5. 配置器未签名,因此您必须允许Mac运行不受信任的应用程序。第一次运行时可能会有监控

ChromeOS

Chrome Web Store 提供适用于 ChromeOS 的 INAV Configurator。

在本地构建和运行 INAV Configurator(适用于开发或 Linux 用户)

对于本地开发,使用 node.js 构建系统。

  1. 安装 node.js
  2. 从项目文件夹运行 npm install
  3. 要构建 JS 和 CSS 文件并启动配置器:
    1. 使用 NW.js:运行 npm start。
    2. 使用 Chrome:运行 npm run gulp。然后打开 chrome://extensions,启用“开发人员”模式,点击“加载未打包的扩展...”按钮,然后选择 inav-configurator 目录。

gulpfile.js 中还定义了其他任务。要运行任务,请使用 ./node_modules/gulp/bin/gulp.js 任务名称。可用的有:

  • build:从配置器的源生成 JS 和 CSS 输出文件。每当对任何 .js 或 .css 文件进行更改时,都必须运行它,以使这些更改出现在配置程序中。如果添加了新文件,则必须将其包含在 gulpfile.js 中。请参阅 gulpfile.js 顶部的注释以了解操作方法。另请参阅监视任务。
  • watch:监视 JS 和 CSS 源是否有更改,并在对其进行编辑时运行构建任务。
  • dist:在 ./dist/ 目录中创建该应用的发行版(适用于将其打包为 Chrome 应用或 NW.js 应用)。
  • release:在 ./apps 目录中为每个受支持的平台(win32、osx64 和 linux64)创建 NW.js 应用程序。在 macOS 或 Linux 上运行此任务需要 Wine,因为需要为 Windows 应用设置图标。如果您没有安装 Wine,则可以通过运行 release-only-linux 来创建发行。

不同的地图提供者

INAV Configurator 2.1 允许在 OpenStreetMap、Bing Maps 和 MapProxy 地图提供者之间进行选择。 INAV Configurator 随附 Bing Maps 的没有 API 密钥。这意味着:每个想要使用 Bing Maps 的用户都必须创建自己的帐户,同意 Bing Maps 要求的所有条款和条件,并自行配置 INAV Configuerator。

如何选择地图提供者

  1. 单击 INAV Configurator 右上角的“Settings”图标
  2. 选择提供者:OpenStreetMap,Bing 或 MapProxy
  3. 对于 Bing Maps,您必须提供由您自己生成的 Bing Maps API 密钥
  4. 对于 MapProxy,您需要提供要使用的服务器 URL 和图层名称

如何获取 Bing Maps API 密钥

  1. 前往位于https://www.bingmapsportal.com/ 的 Bing Maps 开发中心。
    1. 如果您拥有 Bing Maps 帐户,请使用用于创建该帐户的 Microsoft 帐户登录或创建一个新帐户。对于新帐户,请按照创建 Bing Maps 帐户中的说明进行操作。
  2. 在我的帐户下选择我的密钥。
  3. 选择选项以创建新密钥。
  4. 提供以下信息以创建密钥:
    1. 应用名称:必填。应用程序的名称。
    2. 应用程序 URL:应用程序的 URL。这是一个可选字段,有助于您将来记住该键的用途。
    3. 密钥类型:必需。选择您要创建的密钥类型。您可以在此处找到键和应用程序类型的描述。
    4. 应用程序类型:必需。选择最能代表将使用此键的应用程序的应用程序类型。您可以在此处找到键和应用程序类型的描述。
  5. 单击创建按钮。新密钥将显示在可用密钥列表中。按照所用 Bing Maps API 的文档中的说明,使用此密钥对 Bing Maps 应用程序进行身份验证。

如何设置 MapProxy 服务器进行离线缓存和任务计划

  1. 遵循 MAPPROXY.md 中描述的过程
  2. 在网络浏览器中测试您的 MapProxy 服务器,例如:http://192.168.145.20/inavmapproxy/
  3. 拥有可用的 MapProxy 服务器后,选择 MapProxy 作为地图提供商
    1. 输入 MapProxy 服务 URL,例如:http://192.168.145.20/inavmapproxy/service?
    2. 输入 MapProxy 服务层(如果是从 MAPPROXY.md 配置的,则为inav_layer)
  4. 完成后,您可以在 GPS 或“任务控制”标签中放大连接到互联网时将要飞行的区域,以保存缓存以供离线使用

作者

Konstantin Sharlaimov/DigitalEntity -- INAV 固件和配置器的维护者。

INAV Configurator 最初是 Cleanflight Configurator 的分支,它支持 INAV 而不是 Cleanflight。

该配置器是唯一支持 INAV 特定功能的配置器。可能需要您在飞行控制器上运行最新的固件。如果遇到任何问题,请确保您正在运行最新的固件版本。

笔记

WebGL

确保选中 Settings -> System -> "User hardware acceleration when available",以实现最佳性能

Linux用户

  1. 不要忘记将用户添加到 dialout 组“sudo usermod -aG dialout YOUR_USERNAME”中以进行串行访问。
  2. 如果您有 3D 模型动画问题,请在 Chrome 标志 chrome://flags/#ignore-gpu-blacklist 中启用“Override software rendering list(覆盖软件渲染列表)”

支持

GitHub 问题跟踪器保留用于错误和其他技术问题。如果您不知道如何设置所有内容,硬件无法正常工作或存在任何其他支持问题,请咨询:

问题追踪器

对于 INAV 配置器问题,请在此处提出

https://github.com/iNavFlight/inav-configurator/issues

对于 INAV 固件问题,请在此处提出

https://github.com/iNavFlight/inav/issues

开发者

我们接受干净合理的补丁,提交它们!

致谢

ctn - Baseflight Configurator 的主要作者和维护者。 Hydra - 此项目源自 Cleanflight Configurator 的作者和维护者。


(The first version translated by vz on 2020.08.02)

Main metrics

Overview
Name With OwneriNavFlight/inav-configurator
Primary LanguageJavaScript
Program languageHTML (Language Count: 4)
PlatformChrome OS, Linux, Mac, Windows
License:GNU General Public License v3.0
所有者活动
Created At2016-04-25 12:28:59
Pushed At2025-06-04 05:54:43
Last Commit At2025-05-31 15:27:31
Release Count80
Last Release Name8.0.1 (Posted on )
First Release Namev1.5.2 (Posted on 2017-01-24 18:54:53)
用户参与
Stargazers Count667
Watchers Count47
Fork Count358
Commits Count6k
Has Issues Enabled
Issues Count866
Issue Open Count46
Pull Requests Count1241
Pull Requests Open Count34
Pull Requests Close Count124
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

INAV Configurator

INAV Configurator is a cross-platform configuration tool for the INAV flight control system.

It runs as an app within Google Chrome and allows you to configure the INAV software running on any supported INAV target.

Various types of aircraft are supported by the tool and by INAV, e.g. quadcopters, hexacopters, octocopters, and fixed-wing aircraft.

Support

INAV Configurator comes as is, without any warranty and support from the authors. If you find a bug, please create an issue on GitHub.

The GitHub issue tracker is reserved for bugs and other technical problems. If you do not know how to set up
everything, the hardware is not working, or you have any other support problem, please consult:

Installation

INAV Configurator is distributed as a standalone application.

Windows

  1. Visit release page

  2. Download Configurator for Windows platform (ia32 or win64 is present)

  3. Install

    • Extract ZIP archive and run the INAV Configurator app from the unpacked folder
    • OR just use the setup program INAV-Configurator_win32_arch_x.y.z.msi, arch is your computer architecture (ia32 (32bit) or x64 (64bit)), x.y.z is the INAV Configurator version number.
  4. Configurator is not signed, so you have to allow Windows to run untrusted applications. There might be a monit for it during the first run

Linux

  1. Visit release page
  2. Download Configurator for Linux platform (only linux64 is present)
    • .rpm is the Fedora installation file. Just download and install using sudo dnf localinstall /path/to/INAV-Configurator_linux_x64-x.y.z.rpm or open it with a package manager (e.g. via Files)
    • .deb is the Debian/Ubuntu installation file. Just download and install using sudo apt install /path/to/INAV-Configurator_linux_x64_x.y.z.deb or open it with a package manager (e.g. via the File Manager)
    • .zip is a universal archive. Download and continue with these instructions to install
  3. Change to the directory containing the downloaded zip file
  4. download this file to the same directory. Its filename should be inav-configurator.desktop.
  5. Extract zip archive
unzip INAV-Configurator_linux_arch_x.y.z.zip -d /tmp/

arch is your computer architecture (x64, armv7l, ...), x.y.z is the INAV Configurator version number.

  1. If this is the first time installing INAV Configurator, create a home for its files
sudo mkdir /opt/inav
sudo chown $USER /opt/inav
  1. Move the temporary files into their home
mv /tmp/INAV\ Configurator /opt/inav/inav-configurator
  1. Update the application icon.
sudo mkdir /opt/inav/inav-configurator/icon
sudo cp /opt/inav/inav-configurator/images/inav_icon_128.png /opt/inav/inav-configurator/icon
  1. As a one-off, move the desktop file into the applications directory
sudo mv inav-configurator.desktop /usr/share/applications/
  1. Make the following files executable:
  • inav-configurator chmod +x /opt/inav/inav-configurator/inav-configurator
  1. Run the INAV Configurator app from the unpacked folder /opt/inav/inav-configurator/inav-configurator

Mac

  1. Visit release page
  2. Download Configurator for the Mac platform
  3. Install
    • Extract ZIP archive and run INAV Configurator
    • OR use the DMG package for installation

Building and running INAV Configurator locally (for development)

For local development, the node.js build system is used.

  1. Install node.js
  2. From the project folder run npm install
  3. To build the and start the configurator:
    • Run npm start.

To build the App run npm run make to build for your platform.

Options:

  • Architecture: --arch - Allowed values are: "ia32", "x64", "armv7l", "arm64", "universal", or "mips64el".

See Electron Forge CLI Documentation for details

Note: Not all architectures are available for all platforms. For example, ia32 (32bit) support is not available for Linux.
Tested architectures:

  • Windows: x64 and ia32
  • Linux: x64 and armv7l
  • MacOS: x64 and arm64

To build the setup program for windows, you have to install WiX Toolset V3 and add the bin folder to you PATH, e.g.
C:\Program Files (x86)\WiX Toolset v3.14\bin

To build deb and rpm packages for Linux, you have to install the following packages:

  • Ubuntu/Debian: dpkg, fakeroot, rpm, build-essential, libudev-dev
  • OpenSuse/Fedora: dpkg, fakeroot, rpmbuild, systemd-devel, devel-basis (zypper install -t pattern devel_basis), zip

Example (note the double -- ):
npm run make -- --arch="x64"

Running with debug | Inspector

To be able to open Inspector, set envorinment variable NODE_ENV to develpoment or set the flag directly when run npm start:

NODE_ENV=development npm start or $env:NODE_ENV="development" | npm start for Windows PowerShell

Or use vscode and start a debug session Debug Configurator (Just hit F5!)

Different map providers

INAV Configurator 2.1 allows you to choose between OpenStreetMap, Bing Maps (Aerial View), and MapProxy map providers.
INAV Configurator is shipped WITHOUT API key for Bing Maps. That means: every user who wants to use Bing Maps has to create their own account, agree to all Terms and Conditions required by Bing Maps, and configure INAV Configurator by himself.

How to choose a Map provider

  1. Click Settings icon in the top-right corner of INAV Configurator
  2. Choose a provider: OpenStreetMap, Bing, or MapProxy
  3. In the case of Bing Maps, you have to provide your own, personal, generated by you, Bing Maps API key
  4. For MapProxy, you need to provide a server URL and layer name to be used

How to get the Bing Maps API key

  1. Go to the Bing Maps Dev Center at https://www.bingmapsportal.com/.
    • If you have a Bing Maps account, sign in with the Microsoft account that you used to create the account or create a new one. For new accounts, follow the instructions in Creating a Bing Maps Account.
  2. Select My keys under My Account.
  3. Select the option to create a new key.
  4. Provide the following information to create a key:
    1. Application name: Required. The name of the application.
    2. Application URL: The URL of the application. This is an optional field that is useful in helping you remember the purpose of that key in the future.
    3. Key type: Required. Select the key type that you want to create. You can find descriptions of key and application types here.
    4. Application type: Required. Select the application type that best represents the application that will use this key. You can find descriptions of key and application types here.
  5. Click the Create button. The new key is displayed in the list of available keys. Use this key to authenticate your Bing Maps application as described in the documentation for the Bing Maps API you are using.

How to set up a MapProxy server for offline caching and mission planning

  1. Follow the process described in MAPPROXY.md
  2. Test your MapProxy server in a web browser, eg: http://192.168.145.20/inavmapproxy/
  3. Once you have a working MapProxy server choose MapProxy as your map provider
    1. Enter MapProxy service URL, eg: http://192.168.145.20/inavmapproxy/service?
    2. Enter MapProxy service layer (inav_layer if configured from MAPPROXY.md)
  4. Once completed, you can zoom in on the area you will be flying in while connected to the internet in either the GPS or Mission Control tab to save the cache for offline use

Font Customisation

INAV provides the font images so that custom fonts can be created for your personal preference. This is the case for both analogue and digital fonts. The resources can be found in the osd folder. Within the analogue and digital subfolders, you will find information on compiling your own fonts. There is also an INAV Character Map document. This contains previews of all the character images in the fonts and the appropriate variable names within the firmware and Configurator. There are tools for compiling the analogue and digital fonts. New font submissions via pull requests are welcome.

Notes

WebGL

Make sure Settings -> System -> "User hardware acceleration when available" is checked to achieve the best performance

Issue trackers

For INAV configurator issues raise them here

https://github.com/iNavFlight/inav-configurator/issues

For INAV firmware issues, raise them here

https://github.com/iNavFlight/inav/issues

Developers

We accept clean and reasonable patches, submit them!