1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 14:55:21 +03:00
Commit graph

150 commits

Author SHA1 Message Date
Nicholas Sherlock
6c2ce5038c Merge remote-tracking branch 'upstream/master' 2015-01-04 10:35:59 +13:00
Dominic Clifton
5c83ba0b19 Use indentation and whitespace to improve readability. 2015-01-03 13:48:41 +00:00
Joel Fuster
4bcedab3e9 Clean up lowpass patch 2015-01-02 17:16:55 -05:00
Joel Fuster
3eee9eb079 Lowpass testing 2015-01-01 19:24:35 -05:00
Joel Fuster
cf40e3231a Add configuration of notch filter
More fine-grained filter freqs
2015-01-01 15:03:40 -05:00
Nicholas Sherlock
321fc717ab Merge remote-tracking branch 'upstream/master' 2014-12-27 20:00:45 +13:00
Michael Jakob
1ea0fec58f AlienWii32 fix FEATURE_FAILSAFE 2014-12-27 01:08:13 +01:00
Dominic Clifton
84b197d5f8 Merge branch 'feature-autodisarm' of https://github.com/ledvinap/cleanflight into ledvinap-feature-autodisarm 2014-12-26 19:01:24 +00:00
Dominic Clifton
996d72eee5 Merge branch 'AlienWii32_defaults' of
https://github.com/MJ666/cleanflight into MJ666-AlienWii32_defaults

Conflicts:
	src/main/target/NAZE/target.h
2014-12-26 18:40:01 +00:00
Nicholas Sherlock
dfd8e5b2b0 Merge branch 'master' of https://github.com/cleanflight/cleanflight 2014-12-26 11:56:00 +13:00
Dominic Clifton
ee19c1f071 Rename multiType to mixerMode. Rename MULTITYPE_* to MIXER_*.
'Type' is a noise word.

'Multi' is a mis-nomer - there is nothing 'multi' about a gimbal or
fixed wing.
2014-12-24 11:58:57 +00:00
Petr Ledvina
eea8f90595 auto-disarm implementation, slight rewrite of HFMan commit 931478054e70cd6a51916ea9430f041f61b7f7ba
Added automatic disarm after 5 seconds when feature MOTOR_STOP is enabled (has no effect on
FIXED_WING configurations.)  Users that don't have a buzzer to warn when
board is armed and use feature MOTOR_STOP can forget to disarm the
board. For example after landing they pick up copter and then
accidentally move throttle up when trying to remove flight battery.

Configurable via CLI using 'set auto_disarm_board=x' where x is 0-60
seconds.  If zero, does not auto_disarm.
2014-12-22 14:39:50 +01:00
Nicholas Sherlock
1b1a285b4a Syncing with Cleanflight upstream 2014-12-22 23:23:26 +13:00
Dominic Clifton
183c5f8e16 Add MPU9150 mag support and mag autodetection. Add AK8975 mag driver.
Note: not working on the sparky, MPU9150 needs passthough enabling but
when enabled the mag and gyro won't ack on the default addresses.  Needs
further investigation.
2014-12-21 23:40:48 +00:00
Dominic Clifton
367eb79bd0 Add battery warning beeper. Update MSP_MISC/MSP_SET_MISC.
Note the old beeper was essentially 'battery critical'.
2014-12-19 22:16:47 +00:00
Nicholas Sherlock
c85a172370 Merge remote-tracking branch 'upstream/master' 2014-12-18 18:17:59 +13:00
Michael Jakob
c80090f39f Spektrum Satelitte bind code ported from Baseflight
includes support for a hardware bind plug (PB5 pin 41)
Activate via OPTIONS="HARDWARE_BIND_PLUG" during make
2014-12-17 23:15:27 +00:00
Nicholas Sherlock
ce5d64f653 Firmware version 0.1.4
Add ability to reduce recorded data rate
Update struct names to conform to code style guidelines
2014-12-17 17:16:17 +13:00
Dominic Clifton
00d0e30981 Update GPS PH and Navigation defaults.
These come from the multiwii codebase and were tested by stronnag.

See
https://code.google.com/p/multiwii/source/browse/trunk/MultiWii_shared/MultiWii.h#187
2014-12-14 23:52:23 +00:00
Michael Jakob
2499e39e5a Add custom mixer configuration for AllienWii32
The preconfigured custom mixer allows clean cabling for Octocopter
builds with the AlienWii32 board
2014-12-14 22:11:12 +01:00
Dominic Clifton
6ce288063e GPS - Add packet logging to the OLED display. Allow autobauding to be
enabled/disabled via cli (disabled by default now).  Fix missing rate
configuration for UBLOX SVINFO which would have resulted in missing
satallite counts.
2014-12-12 14:43:59 +00:00
Dominic Clifton
b3f74fb1a3 SPARKY - Use RX_PPM by default. 2014-12-10 15:01:54 +00:00
Michael Jakob
17d1c6e610 Adding documentaion and fix
Board - AlienWii32.md
Spectrum bind.md
Adding Feature failsave
2014-11-30 11:07:41 +01:00
Michael Jakob
e33513b6c8 Update motor_pwm_rate to 32000 2014-11-29 16:51:17 +01:00
Michael Jakob
a58353692e AlienWii32 Spektrum bind integation 2014-11-29 16:21:03 +01:00
Michael Jakob
910753121e Updates and fixes
fix FEATURE_RX_SERIAL
2014-11-29 14:45:11 +01:00
Michael Jakob
c4646d7a77 AlienWii32 alternative defaults for NAZE target
Activate via OPTIONS="ALIENWII32" during make
2014-11-29 01:16:36 +01:00
Kyle Manna
c806046181 perms: Remove execute bit on source files
* Remove the execute bit on source files.
* No functional change.
2014-11-26 10:13:29 -06:00
Dominic Clifton
daef382dd9 Show rates on OLED rate display page.
Other minor display cleanups and improvements.
2014-11-13 01:51:36 +00:00
Dominic Clifton
f5a0f9d3b2 Update RX & Battery OLED pages.
RX page shows up to 14 channels.
Battery page shows current and capacity information.
2014-11-13 01:29:07 +00:00
Frank Zhao
0000d3e65e added smartport telemetry
Conflicts:

	src/main/telemetry/telemetry.h
2014-11-12 00:11:13 +00:00
Dominic Clifton
feb4be43d4 Merge pull request #150 from Pierre-A/naze-updates-pa
RSSI_ADC configurable scale in CLI
2014-11-06 20:43:16 +01:00
Dominic Clifton
503e7a0817 Decouple altitudehold.c from config.c. Update flight_imu_unittest and
altitude_hold_unittest.
2014-11-03 20:03:21 +01:00
Dominic Clifton
00e0bf806a Adding a compile to option to allow users to compile with serial port 1
and 2 defaults switched.

This is helpful if you fry a serial port.

Compile with `OPTIONS=SWAP_SERIAL_PORT_1_AND_2_DEFAULTS`.
2014-10-31 21:00:53 +00:00
Pierre-A
3592429ed5 RSSI_ADC configurable scale in CLI 2014-10-30 21:29:56 +01:00
Dominic Clifton
84384e61af Ensure control rate profiles get initialised correctly. 2014-10-30 00:22:37 +00:00
Dominic Clifton
00ca237886 Rename default_rateProfile_index to defaultRateProfileIndex. 2014-10-29 23:56:28 +00:00
Dominic Clifton
ef7f5321da Add Profile OLED display page that shows the current profile and rate
profile.
2014-10-29 23:55:12 +00:00
Dominic Clifton
28f9fa629c Add rate profiles and inflight switching between them. See Profiles and
Inflight Adjustment documentation for details.
2014-10-29 23:36:34 +00:00
Dominic Clifton
3f59f6ed8d Change the default scenario for serial port 2 to be 'UNUSED'. Fixes
#145.
2014-10-28 15:46:38 +00:00
Dominic Clifton
2df976409d Allow inflight adjustment of pitch/roll (linked) and yaw PID settings. 2014-10-24 23:10:17 +01:00
Dominic Clifton
4a90599e3a Allow inflight adjustment of throttle expo. 2014-10-24 22:16:49 +01:00
Dominic Clifton
bd39445be8 Add cli command to configure adjustment ranges.
e.g. `adjrange 0 0 1700 2100 1 2`

set adjustment range 0, which applies to aux channel 0 (aux1) when range
is between 1700 and 2100 then apply function 1 (rc rate) to aux channel
2 (aux3)
2014-10-24 19:51:40 +01:00
Dominic Clifton
6d7035819f First cut of allowing a 3POS switch on AUX3 to change rc rate.
rcRate is decreased when low, increased when HIGH and no change when the
switch is in the middle.

The rcRate ticks up/down at 0.01 every 500ms if the switch is left on.

If using a momentary switch and if you can toggle the switch between
middle and low or middle and high more frequently than 500ms then the
rate will be increased accordingly.  Similar to how a keyboard repeat
behaves.
2014-10-22 23:10:40 +01:00
Dominic Clifton
2d8f65448d Cleanup Softserial/LedStrip timer clash checking. Move definitions of
led strip timer and softserial pwm ports/timers into target specific
files.
2014-10-20 21:44:55 +01:00
Dominic Clifton
a3aad91f76 Bump EEPROM version (for #108). 2014-10-18 16:38:40 +01:00
Dominic Clifton
1b47d3cbae Clean up pull request #108 from @Airmamaf. 2014-10-18 15:52:04 +01:00
Dominic Clifton
1c501272ab Merge branch 'airmamaf' of github.com:airmamaf/cleanflight into airmamaf-airmamaf 2014-10-18 15:06:42 +01:00
Dominic Clifton
279f85b151 Bump EEPROM version for mode range support. 2014-10-13 19:57:28 +01:00
Dominic Clifton
cfcd4792bb Determine with an aux range is used to arm. 2014-10-12 21:02:45 +01:00