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

676 commits

Author SHA1 Message Date
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
Dominic Clifton
a319394f6b Merge branch 'blackbox-serial-budget' of https://github.com/sherlockflight/cleanflight-dev into sherlockflight-blackbox-serial-budget
Conflicts:
	src/main/blackbox/blackbox.c
2015-10-12 20:14:20 +01:00
Michael Corcoran
fdb2ba73ee DFU: Add USB flashing docs 2015-10-09 19:28:43 +13:00
Dominic Clifton
3cdc4a23b5 Merge pull request #1370 from AustinSaintAubin/patch-1
Custom Airplane with Differential Thrust
2015-10-08 14:23:09 +01:00
Dominic Clifton
123a4ccfc5 Merge branch 'GTune' of https://github.com/MJ666/cleanflight into
MJ666-Harakiri_PID_update

Conflicts:
	Makefile
	src/main/blackbox/blackbox_fielddefs.h
	src/main/flight/pid.c
	src/main/io/serial_msp.c
	src/main/mw.c
	src/main/target/ALIENWIIF3/target.h
	src/main/target/CC3D/target.h
	src/main/target/NAZE/target.h
	src/main/target/NAZE32PRO/target.h
	src/main/target/SPARKY/target.h
2015-10-06 20:16:37 +01:00
Dominic Clifton
d36da111b2 Delete autotune. 2015-10-06 19:38:02 +01:00
Dominic Clifton
ba2e22ab89 Add RMDO target. 2015-10-06 19:00:53 +01:00
Austin St. Aubin
9c0aff7e38 Updated Mixer.md with more Custom Airplane
Added Custom Airplane for 6 Pinout Boards and Custom Airplane with Differential Thrust documentation.
2015-10-04 14:41:34 -05:00
Michael Jakob
e42ed1ad70 Update to integrate with BorisB filters after rebase.
Documentation update
2015-10-04 18:37:23 +02:00
Michael Jakob
31dd2fc223 G-Tune documentation update 2015-10-04 18:37:22 +02:00
Michael Jakob
53531224be Make G-Tune more configurable
- add two new CLI paramaters "gtune_settle_time" and
"gtune_average_cycles"
- the settle time is not depending on looptime anymore
- updated default setting to cover e wider range of copters
- remove lower limit for P value for CLI (Zero P is now posible, but
schould be used with care)
- Documentation updates
2015-10-04 18:37:21 +02:00