Nicholas Sherlock
acd4745a4e
Merge remote-tracking branch 'upstream/master' into blackbox-flash
2015-02-15 01:54:50 +13:00
Nicholas Sherlock
6423ac7db1
Rename FLASHFS to USE_FLASHFS
2015-02-14 09:45:56 +13:00
Nicholas Sherlock
80ea5e4419
Add flash ready state to MSP response, add flash async block write
2015-02-13 20:28:19 +13:00
Nicholas Sherlock
5651e65a0b
Add support for discovering beginning of free space on flash chip
2015-02-10 13:44:18 +13:00
Dominic Clifton
55cac2bdeb
Finally rename flight.c/.h to pid.c/.h. Cleanup some dependencies.
...
Relocate more code.
2015-02-01 00:39:38 +01:00
Dominic Clifton
53406a7ac7
Relocate some structures and code to the right places.
...
This cleans up the include file order somewhat and fixes a couple of
dependencies.
The goal of this is to rename flight.c/flight.h to pid.c/pid.h.
2015-01-31 23:47:51 +01:00
Dominic Clifton
ea386e6da2
Remove magic number usage. Fix limits for FP based pid controller PID
...
adjustments to match those in serial_cli.c.
2015-01-30 21:27:09 +01:00
Dominic Clifton
f77a762b48
Allow inflight adjustments for floating-point based PID controllers.
2015-01-30 20:54:34 +01:00
Nicholas Sherlock
f7d227a208
Successfully blackbox logged 46kB of flawless log data on the bench
...
Data read back using MSP
2015-01-31 00:35:17 +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
Dominic Clifton
203c744763
Add MSP command to allow changing pid controller.
2015-01-29 18:17:53 +01:00
Dominic Clifton
50428f2dcc
Change MSP_SONAR_ALTITUDE to be in the range used for cleanflight
...
original commands.
See
https://code.google.com/p/multiwii/source/browse/trunk/MultiWii_shared/Protocol.cpp#18
2015-01-29 15:23:38 +01:00
Krzysztof Rosinski
34cd8f466e
MSP command for sonar altitude
2015-01-29 15:17:15 +01:00
Petr Ledvina
bf1bc864ae
Send current meter reading as signed value
...
Use signed value normally, truncate to 0-0xffff when multiwiiCurrentMeterOutput is active
2015-01-28 17:28:32 +01:00
Dominic Clifton
7bd98e557a
Add current_meter_type into the new MSP command.
2015-01-26 15:34:34 +01:00
Marc Egli
99089b9e70
add new msp messages for voltage meter and enhance messages for current meter
2015-01-25 16:45:41 +01:00
Marc Egli
0db1807fec
fix the length of some msp messages
2015-01-25 16:17:35 +01:00
Dominic Clifton
3fc7f32324
Merge branch 'imu-cleanup' of https://github.com/avoid3d/cleanflight into avoid3d-imu-cleanup
2015-01-25 01:00:14 +01:00
Pierre Hugo
be03ed95fa
Renamed min, max and abs macros to MIN MAX and ABS.
2015-01-23 22:40:00 -08:00
Dominic Clifton
8bdca1b38e
Improve magic number use.
2015-01-22 22:57:34 +01:00
Dominic Clifton
e7302a9e10
Update MSP to allow setting of LED colors.
2015-01-22 22:24:58 +01:00
Dominic Clifton
d2536e3792
Ensure LED configuration is re-evaluated after changes to led
...
configuration are made via MSP.
2015-01-22 21:38:09 +01:00
Chris Penny
bfdb4d7564
removed commented out code
2015-01-20 20:27:37 +00:00
Chris Penny
aede4037cf
LED on/off add via LEDLOW mode
2015-01-20 19:51:07 +00:00
Dominic Clifton
d72983e150
Bump version numbers for release.
2015-01-16 12:38:44 +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
Dominic Clifton
8caff86006
Update MSP_SET_LED_STRIP_CONFIG. Each LED must be sent one at a time
...
since sending 32 leds needs a packet larger than the MSP receiver buffer
allows.
2015-01-16 00:09:02 +00:00
Dominic Clifton
ce49dcee31
Bump MSP api version. Ensure the the number of LEDs in the
...
MSP_SET_LED_STRIP_CONFIG packet is validated.
2015-01-08 23:19:57 +00:00
Dominic Clifton
9729c59cb0
Fix MSP_LED_STRIP_CONFIG length.
2015-01-08 22:47:28 +00:00
Dominic Clifton
fd86014308
Update RX_MSP to support 18 channels. Fix MSP_SET_RAW_RC / channel
...
mapping problem.
2015-01-08 09:03:57 +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
Dominic Clifton
73e82b8446
Adding new (private) MSP commands for configurating serial port
...
scenarios and baud rates.
2015-01-03 00:54:24 +00:00
Dominic Clifton
98343af7a2
Break MSP_API_VERSION into smaller more specific commands. Bump MSP API
...
version to 1.1. Set FC version to 1.4 to match next release.
2015-01-02 18:31:51 +00:00
Dominic Clifton
c0dbde0318
Fix unable to arm using after setting mode range for arm and being able
...
to arm using sticks after removing all mode ranges for arm.
2014-12-26 20:04:17 +00:00
Dominic Clifton
e7cac196a1
Prevent MSP from hogging the CPU.
2014-12-26 18:06:27 +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
Dominic Clifton
bd29298197
Fix being unable to configure mixer via GUI.
2014-12-23 19:37:39 +00: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
ec5929d278
Add MSP_BUILDINFO.
2014-12-20 02:57:02 +00:00
Dominic Clifton
df61d9a7eb
Support GPS Provider and SBAS mod in MSP_MISC.
2014-12-20 02:22:51 +00:00
Dominic Clifton
a48a848890
Fix CRC errors in msp responses caused by double calling of
...
headSerialReply(). Ensure system is not reset while MSP response is
being transmitted.
2014-12-19 23:47:58 +00:00
Dominic Clifton
5b2659c92c
Implement MSP_CONFIG and MSP_SET_CONFIG for backwards compatibility for
...
configurator.
2014-12-19 22:56:56 +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
Dominic Clifton
ca7991d532
Update MSP_RX_CONFIG to include the ability to confugure spektrum
...
satellite binding.
2014-12-17 23:15:33 +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
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