Nicholas Sherlock
5651e65a0b
Add support for discovering beginning of free space on flash chip
2015-02-10 13:44:18 +13:00
Nicholas Sherlock
ebff1bdcd7
Merge remote-tracking branch 'upstream/master' into blackbox-flash
2015-01-30 13:48:49 +13:00
Nicholas Sherlock
3c74ac2c91
Make more bulk writes asynchronous where possible, begin MSP impl.
2015-01-30 13:45:05 +13:00
Michael Jakob
b4803697d2
Initial port of Harakiri PID controller
...
some of the settings are hardcoded
2015-01-28 13:26:51 +01:00
Nicholas Sherlock
5a57dda665
Adding blackbox device setting and basic flashfs support for it
2015-01-28 22:14:49 +13:00
Nicholas Sherlock
f9e22a0461
Merge remote-tracking branch 'upstream/master' into blackbox-flash
2015-01-28 20:48:17 +13:00
Nicholas Sherlock
2e14faeef6
Comment updates, allow CLI flash read to read more in one operation
2015-01-28 20:48:06 +13:00
Nicholas Sherlock
3eb28f16ea
Basic read/write/erase flash functionality works from the CLI
...
Very little code coverage tested yet, only writes of small sizes
2015-01-28 17:45:36 +13:00
Dominic Clifton
a2b232e805
Detach midrc (input) from servo center (output).
...
This fixes incorrect servo center position when midrc was not 1500.
Most likely only experienced by futaba plane or servo/tilt users.
2015-01-27 23:04:41 +01:00
Dominic Clifton
153f6483e2
Merge pull request #429 from MJ666/MultiWii_PID_32
...
MultiWi 2.3 PID controller port
2015-01-26 18:14:16 +01:00
Dominic Clifton
9ffe8779d7
Merge branch 'virtualcurrent' of https://github.com/tracernz/cleanflight into tracernz-virtualcurrent
2015-01-26 15:21:42 +01:00
Michael Jakob
dda5c2ccb7
Cleanup code and implement Hybrid MultiWii PID controller
...
Roll and pitch is using 2.2 algorithm
Yaw is using 2.3 algorithm
2015-01-26 07:55:37 +01:00
Michael Jakob
48161a31ca
MultiWii 2.3 PID controller
...
will be activated with set pid_controller = 3
2015-01-26 07:55:37 +01:00
Marc Egli
bf86deed4c
Add support for current sensors with a negative scale
2015-01-23 11:51:05 +01:00
tracernz
a37c6ee9ee
Merge https://github.com/cleanflight/cleanflight into virtualcurrent
2015-01-16 22:03:53 +13:00
tracernz
999f0ce002
Add virtual current sensor support
...
Virtual current sensor calculates an estimate of current based on
throttle position, current_meter_scale, and current_meter_offset.
Documentation to follow later.
2015-01-16 22:00:45 +13: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
Dominic Clifton
fcbda7ec63
Merge pull request #227 from sherlockflight/master
...
Add blackbox flight data recorder feature
2015-01-06 21:56:49 +00:00
Ben Hitchcock
6b7c9facd3
First draft of better horizon mode
2015-01-06 21:53:23 +08:00
Pierre-A
92ca14a419
Correction of bug issue#312
2015-01-05 10:40:25 +01:00
Nicholas Sherlock
321fc717ab
Merge remote-tracking branch 'upstream/master'
2014-12-27 20:00:45 +13: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
Nicholas Sherlock
dfd8e5b2b0
Merge branch 'master' of https://github.com/cleanflight/cleanflight
2014-12-26 11:56:00 +13:00
Dominic Clifton
36c0b6f106
Cleanup MPU9150 support.
2014-12-24 23:53:17 +00: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
Dominic Clifton
b123b4ef03
Cleanup disabling of mixers for CJMCU, this might be usefulfor the
...
AlienWii32 target too.
Deleted old out of date comments. Various other minor cleanups.
2014-12-24 11:33:14 +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
13305dd2e4
Disable mixer configuration on CJMCU to save flash size.
2014-12-21 23:40:48 +00:00
Dominic Clifton
d605ded161
Adding ATAIL support.
...
See https://github.com/multiwii/baseflight/pull/192
2014-12-21 14:58:46 +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
Dominic Clifton
78d4f24ad2
Various cleanups for Spektrum binding support.
2014-12-18 00:50:30 +00: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
1d5c2fb13e
GPS - fix ubox maximum packet size comparisons. Increase UBlox buffer
...
size to work with Glonass MSG-SVINFO packets. Skip data from packets
that are too large to process without attempting to process a large
payout as packet data. Ignore GPS presence check when enabling
passthrough mode so that it is possible to configure a GPS unit via the
FC without the GPS unit actually having communicated to the FC first.
2014-12-12 16:32:26 +00: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
fed6df275f
Add MPU9150 driver.
...
This is a almost a complete clone of the 6050 - needs cleanup and
de-duplication.
2014-12-09 03:12:37 +00:00
Nicholas Sherlock
8c41772584
Add Blackbox 0.1.0
2014-12-08 22:06:57 +13:00
Ben Hitchcock
94c5573c39
Allowing oneshot125 functionality to work on a Naze board.
...
This code has been flight tested, but will have problems on a CC3D board, and also when the looptime is longer than 8200 uS.
2014-11-29 14:06:35 +08:00
Petr Ledvina
57c308538f
Whitespace cleanup
...
Misplaced whitespace fixed, no functional changes
2014-11-24 21:39:25 +01: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
dongie
f42d603b12
Fixing acc_hardware in cli to the new supported sensors range.
...
Conflicts:
obj/baseflight.hex
src/cli.c
2014-11-08 02:06:06 +00:00
Dominic Clifton
8ed45bce36
cli `exit` command now reboots without saving.
...
This also prevents excessive wear to the eeprom/flash and makes it the
difference between `save` obvious.
Fixes #146
2014-11-08 01:58:35 +00:00
Dominic Clifton
59698c5a37
Merge branch 'naze-updates-pb' of github.com:Pierre-A/Cleanflight into Pierre-A-naze-updates-pb
2014-11-06 19:44:39 +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