1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-15 12:25:17 +03:00
Commit graph

686 commits

Author SHA1 Message Date
Pawel Spychalski (DzikuVx)
0f19dcc70f rc_rate setting removed 2016-05-25 19:32:10 +02:00
Martin Budden
f7ada7f570 CC3D PPM1 compatibility build. 2016-05-24 18:18:40 +01:00
Martin Budden
f3374d2473 CC3D - PPM glitch fix 2016-05-22 14:24:24 +01:00
Paweł Spychalski
dd8a8aead5 MAG_HOLD diff limiting and MAG controller refactoring (#195)
* MAGHOLD constrained to 30 degrees
* mag_hold_heading_diff_limit CLI setting added to allow custom MAG_HOLD diff limit
* magHeading moved to pid.c and real interface created to inject data into it
* mag hold controller with current logic moved to pid.c
* 2Hz LPF filter added to magHold error to smoothen controller response
* variable name changed to clearly state its purpose
* LPF filter in MAG_HOLD controller moved after error limiting
* yaw_control_direction passed to pidController as argument, mag_hold_heading_diff_limit moved to pidProfile
* yaw_control_direction setting removed
* pidMagHold translates directly to rotation rate in dps
* pidMagHold refactored to the new principles and limiting
* name of filter changed to reflect its purpose
* HEADING_LOCK mode can be used only when MAG_HOLD is not enabled
* compiler warning supressed
* new MAG_HOLD defaults, RATE_LIMIT increased to 80dps, MAG_HOLD P to 60
* mag_rate_limit 90dps
2016-05-15 22:46:55 +10:00
Pawel Spychalski (DzikuVx)
929eee6166 fixed docs bug 2016-05-10 11:28:14 +02:00
Pawel Spychalski (DzikuVx)
75988216ab updated and cleaned docs for yaw_jump_prevention_limit CLI setting 2016-05-10 11:24:07 +02:00
Paweł Spychalski
1b1c446980 Ibus 10ch support (#189)
* Document FlySky IBUS support
* Expand IBUS channel parsing to parse channels 9 & 10
2016-05-08 14:27:05 +10:00
Paweł Spychalski
8499253400 Update Telemetry.md 2016-05-01 12:28:20 +02:00
Konstantin Sharlaimov
fcf01d7669 GPS: Changed LOW_G setting to Airborne<1G (#169)
* GPS: Changed LOW_G setting to Airborne<1G. This should be safer for flying machines
* GPS: Update docs
2016-04-25 21:34:43 +10:00
ChiggerPepi
4d27be41ff Update display.c
Added "CLEANFLIGHT ARMED" bitmap,.
Changed showTitle to not show default "armed" text when armed.
Added showArmedPage

Update display_ug2864hsweg01.c

Added i2c_OLED_send_bitmap

Update display_ug2864hsweg01.h

Changed armed bitmap version to RLE compressed.  Added bitmap decompression.

Added Bitmap Creation.md and related images

Changed bitmap to show cleanflight font
2016-03-23 22:25:23 +10:00
Konstantin Sharlaimov (DigitalEntity)
dc3e84ea5b Merge branch 'master' into inav-dev
Conflicts:
	Makefile
	src/main/common/filter.c
	src/main/common/filter.h
	src/main/config/config.c
	src/main/config/config_master.h
	src/main/config/config_profile.h
	src/main/drivers/sonar_hcsr04.c
	src/main/flight/altitudehold.c
	src/main/flight/failsafe.c
	src/main/flight/failsafe.h
	src/main/flight/imu.c
	src/main/flight/imu.h
	src/main/flight/navigation.c
	src/main/flight/pid.c
	src/main/flight/pid.h
	src/main/io/rc_controls.c
	src/main/io/serial.c
	src/main/io/serial.h
	src/main/io/serial_cli.c
	src/main/mw.c
	src/main/sensors/sonar.c
	src/main/sensors/sonar.h
	src/main/target/NAZE/target.h
	src/main/telemetry/ltm.c
	src/test/Makefile
	src/test/unit/flight_imu_unittest.cc
	src/test/unit/navigation_unittest.cc
2015-12-23 14:19:33 +10:00
Dominic Clifton
79144e9689 Merge pull request #1498 from borisbstyle/gyro_sync_rework
Gyro Sync feature (Loop synced to Gyro)
2015-12-22 09:40:09 +01:00
borisbstyle
10a96b0dfc Gyro Sync feature (Loop synced to Gyro)
Remove double MPU_RA_PWR_MGMT_1

Looptime to Gyro refresh rate

disable 2khz when acc used for F3

Gyro sync code improvement

doc change

MPU6500 INT_STATUS support // MPU3500 dummy handling

Enable full 1khz sampling on F1 boards (no acc mode)

Add MPU3050 INT_STATUS

F1 target decreased max refresh

Configurable optione (sync_gyro_to_loop)

correction watchdog

correct filter

Coding style and cleanup code

Cli.md

Bump EEPROM version

MPU6050 MPU DATA READY Pin instead of i2c

Add more targets and corrections

correction to CC3D

ident

MPU6500 correction

INT_ENABLE MPU6500

add interrupt mpu6500

MPU6500 corrections from rebase

MPU6500 correct

Final fix to compile // ready for testing and review

MPU6000 / MPU3050 Corrections

Add CC3D extiConfig

add mpu6500

Fix intStatus position

fix returns

Add COLIBRI_RACE MPU INT

Change CLI name to gyro_sync

This is shorter typing and speaks for itself

Fix MotoLab After rebase

Add motolab

Full gyro Sync rework

Idents etc

Doc update

more corrections

Fix serial_cli

refactor // ident

GPL

single line

runloop refactor
2015-12-18 15:11:35 +01:00
TronskiFPV
e9e05773af Update Controls.md 2015-12-18 10:43:39 +01:00
Dominic Clifton
f40982cd2d Merge pull request #1569 from SteveAmor/brushed_motor_max_throttle
Documentation - Added max_throttle info for brushed motors
2015-12-15 01:44:17 +01:00
Dominic Clifton
636b37144b Merge pull request #1565 from skaman82/patch-1
Added possible rotation values of mag, acc and gyro align commands in CLI doc
2015-12-15 01:43:06 +01:00
Dominic Clifton
6c86f8b5a2 Merge pull request #1577 from stronnag/ltm-documentation
Update Telemetry documentation for LTM
2015-12-15 01:40:17 +01:00
Jonathan Hudson
1682c3c4b2 Update Telemetry documentation for LTM 2015-12-14 21:13:20 +00:00
Dominic Clifton
2150904b84 Merge pull request #1474 from tigert/patch-1
fix link to Failsafe.md in docs
2015-12-14 21:51:55 +01:00
Dominic Clifton
05fd701683 Minor failsafe documentation cleanup. 2015-12-14 21:47:35 +01:00
Steve Amor
e730d772ba Added max_throttle comment for brushed motors 2015-12-13 18:50:15 +00:00
ProDrone
0a40d9a787 Added support for failsafe tab in configurator
- Added DROP failsafe mode to failsafe handler

- Added MSP support for configurator failsafe tab
Modified MSP_FAILSAFE_CONFIG
Modified MSP_SET_FAILSAFE_CONFIG
Bumped API minor version

- Adapted failsafe documentation - 1

- Force auto mode to flight-channels when failsafe stage 2 is disabled
This is to prevent a configuration that may cause a fly-away.

- AUX switch was active in background with `FEATURE_FAILSAFE` disabled.
When a switch was assigned to failsafe mode and the failsafe feature was disabled, then hat switch stayed active in the background, forcing `rxfail` values to be used when on.
2015-12-13 17:11:06 +01:00
Albert Kravcov
3c72d04fd0 Added possible rotation values of mag, acc and gyro align commands 2015-12-13 02:32:18 +01:00
gkvirkvia
2869422590 Typo in chgange 2015-11-22 20:01:55 -08:00
gkvirkvia
d5d2239aa5 PWM mode *is* usable with enabled uart, make it clear in docs 2015-11-20 22:48:48 -08:00
digitalentity
34046169c7 An implenentaion of nav-rewrite (squashed commit, November 17th).
Automatic magnetic declination from GPS coordinates (approximate to 1-2 degrees) (disabled)
Accelerometer bias compensation
Quaternion-based Mahony's DCM IMU (implementation by S. Madgwick)
Ability to lock heading to GPS cource for airplanes
Faster acquisition by initial attitude by using higher DCM kP gain on powerup
Changes to mag calibration algorithm (@HaukeRa's code). Compass calibration now independent from align_mag.
Changed acc calibration to proper 3-axis offset calculation code (same code as for mag). Changed board alignment angles to decidegrees (configurator incompatibility). Removed accelerometer trims (values passed thru MSP are ignored). Accel trim stick combo now adjusts board alignment directly (real-time, without reboot). Removed inflight acc calibration.
FIR filter implementation for different looptimes. Option gyro_cut_hz replaced with gyro_fir_enable (default gyro_soft_filter=3 preset - a very pessimistic filter with fairly large delay but low cutoff frequency for large or very noisy copters)
iNav-related PIDs renamed in CLI to avoid re-usage of old values when restoring config dumps.
PID with back-calculation and I-term anti-windup. Smarter max acceleration and jerk limiting
Initial support for airplane navigation. ALTHOLD, POSHOLD (circular loiter around the waypoint) and RTH should work. UNTESTED! RTH altitude probably needs some work. Autolanding will NOT function at the moment - the AUTOLAND phase will never complete. Absolutely no throttle control at the moment (fully manual control).
Increase delay for bmp085 baro detection. Resolves an issue with bmp085 not being detected sometimes on powerup
Fixed the missing checks for MIXER_CUSTOM_AIRPLANE
Lots of small fixes
2015-11-17 15:19:46 +10:00
digitalentity
1a8657c7b7 An implementation of i2c gps support. i2c-nav driver ported from multiwii code.
Features I2C-GPS autodetection. No need to set gps_provider. If no serial port selected for GPS, feature GPS enabled and I2C GPS connected and detected, gps_provider will automatically be set to '2'
2015-11-17 14:16:45 +10:00
Dominic Clifton
f67cb01e65 Configure blackbox device via named valie (SERIAL / SPIFLASH) 2015-11-14 16:15:39 +00:00
Dominic Clifton
4dfad9d2c8 Further documentation cleanups. 2015-11-14 02:56:51 +00:00
Dominic Clifton
3c57c3c778 Update CLI docs. 2015-11-14 02:54:04 +00:00
Dominic Clifton
9e99e531f6 Update pin controller documentation - remove numeric references. 2015-11-14 02:52:07 +00:00
Dominic Clifton
fb85e7f08a Merge pull request #1012 from borisbstyle/pidCleanup
PID controllers cleanup (less pid controllers)
2015-11-13 23:30:40 +00:00
borisbstyle
e347e7d4bf PID Controller Cleanup
Documentation Draft

add cli names

Cli name adaption

cli set numeric and string

correct names

change

Only PID1 and PID2

Add PID3
2015-11-13 21:31:18 +01:00
borisbstyle
9da66d5005 I2C Overclock Feature
This speeds up IMU speed significantly.
F1 Targets like NAZE Looptime of ~900 is possible
F3 Targets like  SPRACINGF3 looptime of 370 is posible
2015-11-10 01:02:32 +01:00
Tuomas Kuosmanen
6991485387 fix capitalisation of link 2015-11-06 17:59:57 +02:00
Dominic Clifton
83109dbf17 Merge pull request #1399 from JamesHarrison/gpspassthrough-power-docs
Add mention of power requirements for gpassthrough
2015-11-04 20:19:02 +00:00
4712
9be5abf0d3 Fix 1wire pass through for F3 + target config changes 2015-11-04 14:30:25 +01:00
Dominic Clifton
6381df51a1 Merge pull request #1455 from sorki/patch-2
Fix Requ(i)rements typo
2015-11-01 10:18:32 +00:00
Dominic Clifton
d9f4653ac4 Merge pull request #1460 from tracernz/usb-flashing-docs
Docs: Add USB-DFU flashing docs
2015-11-01 10:14:04 +00:00
Richard Marko
86461b8d61 Fix Requ(i)rements typo 2015-10-31 13:00:37 +01:00
Dominic Clifton
d64ab08a96 Merge branch 'motolab-integration' of
https://github.com/MotoLab/cleanflight into MotoLab-motolab-integration

Conflicts:
	src/main/target/MOTOLAB/target.h
2015-10-30 02:09:26 +00:00
Larry (TBS)
4d4405e8f8 - Fixed Colibri Race md file PA2 duplicated 2015-10-30 01:07:33 +00:00
Dominic Clifton
c4a670b56a Merge branch 'serial1wire-blheli-multiesc' of https://github.com/nathantsoi/cleanflight into nathantsoi-serial1wire-blheli-multiesc
Conflicts:
	src/main/target/CC3D/target.h
2015-10-30 00:44:23 +00:00
Dominic Clifton
df5d805859 Keep rudder on the same servo output. 2015-10-30 00:37:43 +00:00
Konstantin Sharlaimov (DigitalEntity)
93300caeb8 Removed SERVO_FLAPS (not used anywhere through the code). Fixes broken servo mixer on CC3D/NAZE.
Re-added SERVO_FLAPS but moved to Out8

Unit-tests update
2015-10-29 23:44:43 +00:00
Austin St. Aubin
d85e33cc00 Updated Defaults for PIDs.
Updated Defaults for PIDs & a few others.
Also I would like to share a good doc with the Cleanflight community that some might find helpful when working with CLI.
Google Doc: [Cleanflight - CLI Settings Editor - MASTER](https://docs.google.com/spreadsheets/d/1w_oMmGCGX0DwAlVX7pBPtD-X-STbLmb4nSxLJL-hXmc/edit?usp=sharing)
2015-10-21 17:04:41 -05:00
Moto Moto
b7517aa599 Add MOTOLAB build target and associated source files 2015-10-19 20:35:28 -05:00
James Harrison
472bf113ad Add mention of power requirements for gpassthrough
This change adds a brief mention of power requirements and USB power pass-through to the GPS docks. This small but important fact is not mentioned anywhere, though it is obvious if you stare at the board specific documentation long enough. Many larger flight controllers (eg Pixhawk) do pass through 5V from USB, so this is non-obvious to users of those FCs.
2015-10-16 14:33:09 +01:00
Juan González
81156c5e0f Little cleanup in Gtune documentation
It was a little bit hard to read with only two paragraphs, and looking at the raw .md file it was clear that having just two paragraphs was not the original intention.
2015-10-13 11:29:14 +02:00
Dominic Clifton
0150abf1bc Remove OpenPilot bootloader support.
This can be added back at a later date if required if enough code-size
savings can be found, for instance, the removal of the CLI.
2015-10-12 20:44:51 +01:00