1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-22 15:55:48 +03:00
Commit graph

28 commits

Author SHA1 Message Date
Dominic Clifton
b64c71264c Renaming getRcStickPosition to getRcStickDeflection and moving to
rc_controls.c.
2015-01-16 01:00:40 +00:00
Dominic Clifton
b7462c0b3d Merge pull request #351 from nebbian/baseflight-pid-horizon-mode-tuneup_a
Baseflight pid (pid_controller=2) horizon mode tuneup
2015-01-16 00:50:12 +00:00
Ben Hitchcock
69d94c81e1 Second draft of the tuneup.
This uses ints for the sensitivity instead of mapping floats back and forth.
 Also the stick position is read directly, without the RC_Rate affecting this value.
2015-01-07 21:54:13 +08:00
Ben Hitchcock
6b7c9facd3 First draft of better horizon mode 2015-01-06 21:53:23 +08:00
Nicholas Sherlock
6c2ce5038c Merge remote-tracking branch 'upstream/master' 2015-01-04 10:35:59 +13:00
Dominic Clifton
98b258e83f Ensure that rcRate great than 1.0 doesn't cause stability issues when
aircraft is inverted.  See #281.
2015-01-02 19:20:30 +00: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
Nicholas Sherlock
54ead59791 Rename axisP to less-cryptic axisPID_P (same for I and D) 2014-12-19 00:24:51 +13:00
Nicholas Sherlock
cdb3cc0dd3 Whitespace 2014-12-18 18:47:13 +13:00
Nicholas Sherlock
0ed47d5e6d Use spaces instead of tabs 2014-12-18 18:42:22 +13:00
Nicholas Sherlock
8c41772584 Add Blackbox 0.1.0 2014-12-08 22:06:57 +13:00
Dominic Clifton
d60183d91d Normalize all the line endings 2014-09-15 23:40:17 +01:00
Dominic Clifton
f9b630a2c1 Re-enabing autotune. 2014-08-26 21:51:52 +01:00
Dominic Clifton
3f0754d295 Replace global flags with stateFlags, flightModeFlags and armingFlags.
Each flag was previously a whole byte, now all of the flags only take up
4 bytes as they are represented by bit masks.

This is cleaner because the different kind of flags are now separated.

Additionally this changes the behaviour of arming slightly.  When using
a switch to arm the aircraft will not arm unless the switch has been in
the off state once.  This prevents arming if you power the aircraft with
a low throttle and the switch in the on position.
2014-08-24 12:11:30 +01:00
Dominic Clifton
9a9ff9b1ad Cleanup various compiler warnings that were appearing since the
additional compiler flags were added.
2014-08-01 20:02:10 +01:00
Dominic Clifton
326a10b1dc Allow autotune to be compiled in/out. 2014-08-01 01:14:23 +01:00
Dominic Clifton
9f1a0fcb4c Cleanup line endings. 2014-07-31 23:53:34 +01:00
Dominic Clifton
3b629d58a0 GPS can now be conditionally compiled in. 2014-07-30 23:35:33 +01:00
Dominic Clifton
a39ae9929d Adjust i-term yaw zeroing.
See fe5a864 and b9e5a37.
2014-07-26 21:26:04 +01:00
Dominic Clifton
fe5a864a85 i-term zeroing fixed
http://www.multiwii.com/forum/viewtopic.php?p=53441#p53402
2014-07-16 01:26:58 +01:00
Dominic Clifton
2150fb4a08 Fixing missed multiwii scale factor accidentally removed from
432c43bab7 during merge.
2014-06-26 00:40:19 +01:00
luggi
432c43bab7 yaw improvement
this should stop the copter from carrying on spinning at high yaw rates.

Conflicts:
	src/mw.c
2014-06-08 10:34:00 +01:00
Dominic Clifton
9b6e8feeea Ensure that Lux's pid controller observes the max_angle_inclination
setting.
2014-06-06 20:40:00 +01:00
Dominic Clifton
e867af8c4b Correct project name in GPL notices. 2014-06-05 00:47:47 +01:00
Dominic Clifton
0bbcd6570f Updated source files to include the GPL v3 notices. Include a copy of
the GPL v3.
2014-06-04 16:48:23 +01:00
Dominic Clifton
18046013a4 Decouple sticks processing code from main mw loops.
Decouple led ring driver from non-driver code.
2014-06-01 18:36:33 +01:00
Dominic Clifton
d19a5e7046 Cleanup project structure. Update unit test Makefile to place object
files in obj/test
2014-05-31 22:43:06 +01:00
Renamed from src/flight_common.c (Browse further)