From b876fd66e69f1372f78a95f26f9befc59f5461c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Spychalski?= Date: Sun, 11 Sep 2016 15:16:51 +0200 Subject: [PATCH 1/4] Closes #584 --- docs/Cli.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Cli.md b/docs/Cli.md index c88627a98..e974a0189 100644 --- a/docs/Cli.md +++ b/docs/Cli.md @@ -107,7 +107,7 @@ Re-apply any new defaults as desired. | `emf_avoidance` | Default value is 0 for 72MHz processor speed. Setting this to 1 increases the processor speed, to move the 6th harmonic away from 432MHz. | OFF | ON | OFF | Master | UINT8 | | `i2c_overclock` | Default value is 0 for disabled. Enabling this feature speeds up IMU speed significantly and faster looptimes are possible. | OFF | ON | OFF | Master | UINT8 | | `gyro_sync` | Default value is Off. This option enables gyro_sync feature. In this case the loop will be synced to gyro refresh rate. Loop will always wait for the newest gyro measurement. Use gyro_lpf and gyro_sync_denom determine the gyro refresh rate. Note that different targets have different limits. Setting too high refresh rate can mean that FC cannot keep up with the gyro and higher gyro_sync_denom is needed, | OFF | ON | OFF | Master | UINT8 | -| `gyro_sync_denom` | This option determines the sampling ratio. Denominator of 1 means full gyro sampling rate. Denominator 2 would mean 1/2 samples will be collected. Denominator and gyro_lpf will together determine the control loop speed. | 0 | 1 | 1 | Master | UINT8 | +| `gyro_sync_denom` | This option determines the sampling ratio. Denominator of 1 means full gyro sampling rate. Denominator 2 would mean 1/2 samples will be collected. Denominator and gyro_lpf will together determine the control loop speed. | 1 | 32 | 1 | Master | UINT8 | | `mid_rc` | This is an important number to set in order to avoid trimming receiver/transmitter. Most standard receivers will have this at 1500, however Futaba transmitters will need this set to 1520. A way to find out if this needs to be changed, is to clear all trim/subtrim on transmitter, and connect to GUI. Note the value most channels idle at - this should be the number to choose. Once midrc is set, use subtrim on transmitter to make sure all channels (except throttle of course) are centered at midrc value. | 1200 | 1700 | 1500 | Master | UINT16 | | `min_check` | These are min/max values (in us) which, when a channel is smaller (min) or larger (max) than the value will activate various RC commands, such as arming, or stick configuration. Normally, every RC channel should be set so that min = 1000us, max = 2000us. On most transmitters this usually means 125% endpoints. Default check values are 100us above/below this value. | 0 | 2000 | 1100 | Master | UINT16 | | `max_check` | These are min/max values (in us) which, when a channel is smaller (min) or larger (max) than the value will activate various RC commands, such as arming, or stick configuration. Normally, every RC channel should be set so that min = 1000us, max = 2000us. On most transmitters this usually means 125% endpoints. Default check values are 100us above/below this value. | 0 | 2000 | 1900 | Master | UINT16 | @@ -256,7 +256,7 @@ Re-apply any new defaults as desired. | `flaperon_throw_offset` | Defines throw range in us for both ailerons that will be applied (before scaling) when FLAPERON mode is activated. | 100 | 400 | 250 | Profile | UINT16 | | `flaperon_throw_inverted` | Inverts throw offset on both ailerons. Can be used to create SPOILERON or just to change throw direction | OFF | ON | OFF | Profile | UINT8 | -## New iNav spesific +## New iNav specific | `Variable` | Description/Units | Min | Max | Default | Type | Datatype | |-----------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|--------|------------------|--------------|----------| | `acczero_x` | Calculated value after '6 position avanced calibration'. See Wiki page. | 0 | 0 | 0 | Master | UNKNOWN | From 0157b0066aed127c4f718550484161783012f89c Mon Sep 17 00:00:00 2001 From: cabriona Date: Sun, 11 Sep 2016 21:43:04 +0300 Subject: [PATCH 2/4] Added my variant for for Linux Mint 18 --- docs/development/Building in Ubuntu.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/development/Building in Ubuntu.md b/docs/development/Building in Ubuntu.md index 428dce95e..6c7625563 100755 --- a/docs/development/Building in Ubuntu.md +++ b/docs/development/Building in Ubuntu.md @@ -22,6 +22,19 @@ sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded sudo apt-get update ``` +For Linux Mint 18 (Ubuntu 16, 2016-09-11) +``` +sudo apt install git +sudo apt install gcc +sudo apt install gcc-arm-none-eabi +sudo apt-get install libnewlib-arm-none-eabi + +cd src +git clone https://github.com/iNavFlight/inav.git +cd inav +make TARGET=NAZE +``` + For Ubuntu 14.10 (current release, called Utopic Unicorn), you should pin: ``` sudo apt-get install gcc-arm-none-eabi=4.9.3.2014q4-0utopic12 From b1f2514d6edd002472f826d46699d1acb4c7697b Mon Sep 17 00:00:00 2001 From: oleost Date: Mon, 12 Sep 2016 07:02:44 +0200 Subject: [PATCH 3/4] Update CONTRIBUTING.md --- CONTRIBUTING.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index af458ab3a..85540b2cd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ # Issues and Support. -Please remember the issue tracker on github is _not_ for user support. Please also do not email developers directly for support. Instead please use IRC or the forums first, then if the problem is confirmed create an issue that details how to repeat the problem so it can be investigated. +Please remember the issue tracker on github is _not_ for user support. Please also do not email developers directly for support. Instead please use IRC or the forums first, Also read through the wiki for guidance. Then if the problem is confirmed create an issue that details how to repeat the problem so it can be investigated. Issues created without steps to repeat are likely to be closed. E-mail requests for support will go un-answered; All support needs to be public so that other people can read the problems and solutions. @@ -8,6 +8,14 @@ Remember that issues that are due to mis-configuration, wiring or failure to rea Please search for existing issues *before* creating new ones. +When submitting an issue the general rule is to include: + +1. What is your setup and a detailed explanation of the issue, also include last working version of iNav. +1. status sump from cli. +1. bootlog dump from cli. +1. dump dump from cli. +1. BLACKBOX log of the issue. + # Developers Please refer to the development section in the `docs/development` folder. From 52a070204191bf4e7e6a62081059b077b818b3bd Mon Sep 17 00:00:00 2001 From: oleost Date: Mon, 12 Sep 2016 07:06:41 +0200 Subject: [PATCH 4/4] Update CONTRIBUTING.md --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 85540b2cd..14de0a9c0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -11,7 +11,7 @@ Please search for existing issues *before* creating new ones. When submitting an issue the general rule is to include: 1. What is your setup and a detailed explanation of the issue, also include last working version of iNav. -1. status sump from cli. +1. status dump from cli. 1. bootlog dump from cli. 1. dump dump from cli. 1. BLACKBOX log of the issue.