1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-14 03:49:58 +03:00
Commit graph

318 commits

Author SHA1 Message Date
Pawel Spychalski (DzikuVx)
75988216ab updated and cleaned docs for yaw_jump_prevention_limit CLI setting 2016-05-10 11:24:07 +02: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
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
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
Steve Amor
e730d772ba Added max_throttle comment for brushed motors 2015-12-13 18:50:15 +00:00
Albert Kravcov
3c72d04fd0 Added possible rotation values of mag, acc and gyro align commands 2015-12-13 02:32:18 +01: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
Dominic Clifton
3c57c3c778 Update CLI docs. 2015-11-14 02:54:04 +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
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
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
Dominic Clifton
85ba1eb0bd Add support for MPU6500 connected via I2C. 2015-10-02 15:43:44 +01:00
nathan
e466ed2618 Merge branch 'master' into serial1wire-blheli-multiesc 2015-09-30 08:52:09 -07:00
Dominic Clifton
36a3ee4e59 Merge branch 'rcFilter' of https://github.com/borisbstyle/cleanflight into borisbstyle-rcFilter 2015-09-29 10:36:41 +01:00
Larry Davis
ac9f93d47c Correct failsafe_throttle default value, add descriptions for failsafe-related variables 2015-09-07 18:07:36 -07:00
borisbstyle
656cfb0774 cli doc for rc_smoothing 2015-09-01 23:41:58 +02:00
nathan
67f74121d6 serial 1wire passthrough for blheli 14.0.0.3.2+
tested on NAZE and CC3D (OPBL)
2015-08-22 23:16:21 -07:00
Dominic Clifton
9d3276b222 Code and documentation cleanup of rc calibration.
Note: since it didn't actually calibrate anything it has been renamed to
rxrange.

Added ability to reset rxranges using `rxrange reset` - this follows the
same pattern as other cli commands.
2015-08-04 01:13:28 +01:00
Dominic Clifton
27f8223de7 Merge branch 'rc-calibration' of
https://github.com/digitalentity/cleanflight into
digitalentity-rc-calibration

Conflicts:
	docs/Rx.md
	src/main/io/serial_cli.c
	src/main/rx/rx.c
	src/main/rx/rx.h
2015-08-04 00:06:12 +01:00
Dominic Clifton
da5bee283d Merge pull request #1134 from borisbstyle/cli_doc
Fix doc yaw_prevention_limit
2015-07-30 20:27:01 +01:00
Thomas
471de906ea added explanations for mag_hardware
found the info here: http://www.rcgroups.com/forums/showthread.php?t=2249574&page=126&highlight=mag_hardware#post30521603 and thought it would make sense if the CLI table contained those explanations also.
2015-07-19 20:22:37 +02:00
borisbstyle
eb6efec692 Fix doc yaw_prevention_limit 2015-07-17 16:54:47 +02:00
digitalentity
2614111c39 Implemented RC calibration and unit-tests
Added rc calibration docs to Rx.md
2015-07-16 08:49:18 +10:00
Dominic Clifton
cc06113c8f Rename yaw_direction to yaw_motor_direction to avoid confusion
between `yaw_control_direction` and yaw servo configuration.
2015-07-13 01:54:45 +01:00
Dominic Clifton
7b91524ba2 Replace gimbal_flags with FEATURE_CHANNEL_FORWARDING and gimbal_mode.
Gimbals are only one use of channel forwarding, PWM video switchers and
PWM buzzers are others.
2015-07-08 16:41:29 +01:00
Dominic Clifton
3776bb07dc Update mixer documentation. 2015-07-08 13:59:53 +01:00
borisbstyle
10f2d35759 Soft Filtering (Gyro, Dterm, Pterm)
pterm_cut_hz added

Let's play with this as well to get more noise filtered

Code Cleanup

Make filter more flexible for reuse

rewrite correction pterm

Define static delta in filter

Fix array count

ident

return function for filter

Filter Function enhanced

Full software filtering (DTerm, PTerm, Gyro, Acc)

Normalize Variables

Revert Back gyro settings

Bugfix gyro/acc filter // (MPU60xx equalize lpf settings)

Moved filtering to mw.c

This has been done to prevent reusing old cycletime for filter function.

acc_cut_hz removed (not needed)

Harakiri zero fix
2015-06-27 14:13:10 +02:00
Dominic Clifton
adf0ca9fcf Cleanup Cli.md formatting. 2015-05-20 11:32:46 +01:00
Dominic Clifton
3077d115aa Updating documentation around rx_min_usec rx_max_usec and mode
ranges.
2015-05-20 11:11:27 +01:00
Michael Jakob
0ef236a50a Another documentation update 2015-05-19 17:54:57 +02:00
Michael Jakob
50d5ec4e21 Fix typo in CLI.md 2015-05-19 17:47:06 +02:00
Michael Jakob
42218f1ea5 The yaw_p_limit minimum is now set to 100 to prevent misconfigurations.
Maximum value of 500 is now removing the limit (same as for
yaw_jump_prevention_limit)
Moving defines for PID controllers to headerfiles.
Some general code cleanup.
Documentation update
2015-05-19 17:42:03 +02:00
Dominic Clifton
8427583ba8 Merge pull request #868 from SteveAmor/document_servo_low_pass_filter_Cli.md
Added servo low pass filtering to Cli.md
2015-05-17 21:36:56 +01:00
Dominic Clifton
8174517789 Merge pull request #876 from SteveAmor/increment_pid_controllers
Corrected the number of pid controllers available
2015-05-14 19:56:46 +01:00
Steveis
c6c7c9f8ec Correct number of pid controllers available 2015-05-11 17:08:26 +01:00
Steveis
359f42cfde Added servo low pass filtering to Cli.md 2015-05-10 10:31:37 +01:00
DaTwo
862169807f Update Cli.md
Updated CLI command in docs.
2015-05-07 04:46:59 -07:00
borisbstyle
da8bb6f6fc Yaw Expo Feature 2015-05-06 22:23:40 +01:00
Dominic Clifton
d2ef645fbe Merge pull request #823 from ethomas997/addPlaySoundCommand
Add 'play_sound' CLI command
2015-05-04 09:22:04 +01:00
borisbstyle
1dde2f4c2c Update Cli.md 2015-05-02 00:35:29 +02:00
borisbstyle
ea7157dadd Update Cli.md
Corrections to accidantally deleted blackbox_rate_denom values
2015-05-01 14:24:25 +02:00
BorisB
c3522882f2 yaw_fix default values
Pull request #802 has by default disabled yaw jump. That is fine on the
most of the configurations, but one of my multirotors had an angled
motor due to crash and this was causing weird behaviour.
It is also possible to configure very low values, which can even cause a
craft to not be able to stop after yaw and I am talking about the values
below 100 like 1.

Anyway this fix provides only valid configurable values what can't cause
any danger. Also default parameter is not unlimited anymore and is
configured to 200, which is a safe value to anybody who does the
upgrade.
cli.md is also edited
2015-05-01 13:45:22 +02:00
E Thomas
96de824f61 Add 'play_sound' CLI command
Added 'play_sound' CLI command; improved ACC_CALIBRATION_FAIL sound (to
make it less like ACC_CALIBRATION sound).
2015-04-27 03:46:57 -04:00
Dominic Clifton
07ff844725 Clarify tpa_breakpoint and tpa_rate documentation. 2015-04-22 23:29:48 +02:00
Dominic Clifton
3e3a197809 Merge pull request #757 from azaitsev/patch-2
Added information about TPA rate.
2015-04-22 23:25:14 +02:00
Dominic Clifton
e51b1b4b14 Updating documentation to reflect new CLI values 2015-04-16 08:59:18 +01:00
Dominic Clifton
f9a5ca2743 Merge pull request #727 from t0mmg/master
Documentation update for cli.md
2015-04-14 20:18:45 +01:00
Alex Zaitsev
2fa4932f47 Added information about TPA rate. 2015-04-11 23:11:48 +03:00