Commit graph

2703 commits

Author SHA1 Message Date
tricopterY fe47223453 Merge pull request #2 from cleanflight/master
Update from Original
2015-03-10 10:11:07 +11:00
Dominic Clifton c0c2f8e285 Remove a suprious newline. 2015-03-09 23:04:54 +00:00
Dominic Clifton d94d2dd026 Merge branch 'timkostka-master' 2015-03-10 00:00:58 +01:00
Dominic Clifton 4a12d00d1e Moving mixer config out of the profile. It doesn't really make sense. 2015-03-09 23:00:44 +00:00
Dominic Clifton ed434fe47b Use a positive named setting and variable instead of a negative one to
simplify the logic and aid understanding.
2015-03-09 22:50:27 +00:00
Dominic Clifton acabbf41db Previously, at minimum throttle, the quad would do absolutely no self-leveling
and simply run the motors at constant minthrottle.  This allowed the chance
for the quad to lose control during flight if the throttle was set to minimum,
say, to drop from a high altitude to a lower one.

With this edit, the quad will still self-level at minimum throttle when armed,
allowing for safe decents from altitude.  To prevent motors spinning when
arming/disarming, the yaw input is ignored if the throttle is at minimum and
we're using the sticks to arm/disarm.

Conflicts:
	src/main/flight/mixer.c
2015-03-09 23:44:53 +01:00
Dominic Clifton 1b1163da10 Previously, at minimum throttle, the quad would do absolutely no self-leveling
and simply run the motors at constant minthrottle.  This allowed the chance
for the quad to lose control during flight if the throttle was set to minimum,
say, to drop from a high altitude to a lower one.

With this edit, the quad will still self-level at minimum throttle when armed,
allowing for safe decents from altitude.  To prevent motors spinning when
arming/disarming, the yaw input is ignored if the throttle is at minimum and
we're using the sticks to arm/disarm.

Conflicts:
	src/main/flight/mixer.c

added cli command disable_pid_at_min_throttle

(same as previous)
2015-03-09 23:42:42 +01:00
Dominic Clifton 5e3734946e # This is a combination of 2 commits.
# The first commit's message is:

Previously, at minimum throttle, the quad would do absolutely no self-leveling
and simply run the motors at constant minthrottle.  This allowed the chance
for the quad to lose control during flight if the throttle was set to minimum,
say, to drop from a high altitude to a lower one.

With this edit, the quad will still self-level at minimum throttle when armed,
allowing for safe decents from altitude.  To prevent motors spinning when
arming/disarming, the yaw input is ignored if the throttle is at minimum and
we're using the sticks to arm/disarm.

Conflicts:
	src/main/flight/mixer.c

# This is the 2nd commit message:

added cli command disable_pid_at_min_throttle
2015-03-09 23:36:54 +01:00
Dominic Clifton e40a3663d2 Remove failsafe vtable usage. 2015-03-09 23:19:21 +01:00
Dominic Clifton 60a95f1d22 Removing noise from unit tests. 2015-03-09 23:19:21 +01:00
Dominic Clifton 04faa36cb3 Merge pull request #596 from alexgorbatchev/master
Update Inflight Adjustments.md
2015-03-09 22:26:46 +01:00
Dominic Clifton 845008893f Merge branch 'ledvinap-port-changes' 2015-03-09 22:23:39 +01:00
Dominic Clifton bce6c6722c Merge branch 'port-changes' of https://github.com/ledvinap/cleanflight into ledvinap-port-changes
Conflicts:
	src/main/blackbox/blackbox.c
	src/main/io/serial.c
2015-03-09 22:23:04 +01:00
Damjan Adamic 517d38c94f Re #316: Battery voltage calculation converted to integer arithmetic, unit tests updated to account for proper rounding of voltage
Added frsky_hiprec_vfas configuration option that selects how VFAS is sent
Better arithmetics for FrSky CELL voltages, VFAS battery voltage send with other ID that allows 0.1V resolution
2015-03-09 20:43:04 +01:00
Dominic Clifton 9d0e464aaf Updating unit tests to match roll/pid/yaw rate decoupling. 2015-03-08 00:51:29 +00:00
Dominic Clifton 2e5fe06a6a Update AlienWii32 defaults for pitch/roll/yaw rates 2015-03-08 00:48:47 +00:00
Dominic Clifton e4a6886266 Allow independent in-flight adjustment of roll and pitch. 2015-03-07 15:14:52 +00:00
Dominic Clifton b595b49ca8 Decouple roll and pitch rates. MSP clients take note of updated
MSP_RC_TUNING/MSP_SET_RC_TUNING commands.
2015-03-07 15:11:20 +00:00
Dominic Clifton 26bb86898e Updating comment in mixer.c 2015-03-07 14:15:38 +00:00
Alex Gorbatchev 7331bdbd4f Update Inflight Adjustments.md
Adds separators between example images so that it's possible to tell what's what.
2015-03-06 21:08:22 -08:00
Nicholas Sherlock 3b5d2b6a16 Change recommended Blackbox baudrate to 250000
This is because the AVR's 230400 baudrate is very inaccurate, while the
250000 baudrate is spot-on.
2015-03-07 13:07:03 +13:00
Dominic Clifton 4d1060f87b Merge pull request #591 from nebbian/bugfix-tricopter-3d
Bugfix for 3D inverted flight using a tricopter.
2015-03-06 16:49:52 +00:00
Dominic Clifton e9742c124c Merge pull request #594 from sherlockflight/mag-limit
Fix upper limit on mag_hardware and acc_hardware CLI variables
2015-03-06 16:42:54 +00:00
Nicholas Sherlock 644db9b8fa Add baud rate identifier docs for new 230400 & 250000 speeds 2015-03-07 02:01:44 +13:00
Nicholas Sherlock 5e917090b6 Merge remote-tracking branch 'upstream/master' into blackbox-serial-baud 2015-03-07 02:01:03 +13:00
Nicholas Sherlock 0c8adf25c2 Use defines for MAG_MAX and ACC_MAX 2015-03-07 01:57:45 +13:00
Nicholas Sherlock 8a541a9fa2 Fix upper limit on mag_hardware and acc_hardware CLI variables 2015-03-07 01:18:05 +13:00
Nicholas Sherlock 54acc67767 Add notes about the performance of Sandisk Ultra cards 2015-03-06 23:44:05 +13:00
Nicholas Sherlock 8df0d03f44 Update docs for new Blackbox baud rate options 2015-03-06 20:31:33 +13:00
Nicholas Sherlock 99fe3465b2 Support configurable Blackbox baud rates, allows >750Hz logging 2015-03-06 20:08:05 +13:00
Nicholas Sherlock cbaa67f1d0 Add 230400 & 250000 baud rates, 2 stop-bits port mode 2015-03-06 20:07:07 +13:00
Moshen Chan 55d2ef684d Update with failsafe_throttle default. #488 2015-03-05 18:30:05 -08:00
Pierre-A 3a8725997b update of the corrections 2015-03-05 20:07:48 +01:00
Jenny 0d1ca47617 bigfix virtual current meter 2015-03-05 18:24:23 +00:00
Brnadon Miller 7366ecf60b Updated for colors in plain English. 2015-03-05 11:47:41 -05:00
Dominic Clifton 8e29afd167 Document baud rate identifiers. 2015-03-05 11:14:10 +00:00
Dominic Clifton d51a2fbd88 Fix release of MSP port when MSP and MSP telemetry are used on the same
port.
2015-03-05 11:04:25 +00:00
Dominic Clifton d4dd1f6a58 Merge pull request #571 from fusterjj/docs_servotune
Servo tune documentation
2015-03-05 00:31:31 +00:00
Dominic Clifton 0b1de28e95 Merge remote-tracking branch 'cleanflight/sbus-rx-failsafe' 2015-03-04 20:37:47 +00:00
Pierre-A af2cd4087a new version including corrections 2015-03-04 15:53:09 +01:00
Dominic Clifton 3e73b3de53 Add some const correctness to mag initialisation.
See #582.
2015-03-04 09:04:59 +00:00
Dominic Clifton 3a35bfbabf Merge pull request #582 from sherlockflight/compass-init
Fix invalid memory read during compass initialisation
2015-03-04 08:57:57 +00:00
Nicholas Sherlock b6991b57a0 Fix invalid memory read during compass initialisation 2015-03-04 20:46:13 +13:00
Dominic Clifton 1c9ebf9437 Use received Serial RX data even when serial rx reports failsafe. 2015-03-03 23:17:25 +00:00
Dominic Clifton 94e499f9aa Serial port documentation update. 2015-03-03 22:52:56 +00:00
Dominic Clifton b7f21ae6dd CC3D - Allow MSP, CLI, etc on VCP and USART1 by default. 2015-03-03 22:41:22 +00:00
Dominic Clifton 946f65601f Cleanup some enum values - using topic_type instead of type_topic. 2015-03-03 22:35:40 +00:00
Dominic Clifton 31a00d6b4d Fix size check for MSP_SET_CF_SERIAL_CONFIG. 2015-03-03 22:17:43 +00:00
Dominic Clifton a156d915f4 Only index into the configurable baud rate list when needed. 2015-03-03 17:30:35 +00:00
Dominic Clifton dca984ff88 Merge branch 'master' into serial-cleanup
Conflicts:
	src/main/telemetry/hott.c
2015-03-03 17:21:43 +00:00