dongie
7a4cdec0e5
limit thr_expo to 100 for previous commit
11 years ago
dongie
83d25366d8
Merge pull request #15 from schugabe/expofix
Fixes array out of bound access in expo functions
11 years ago
Johannes Kasberger
26aa644999
Fixes array out of bound access for lookupPitchRollRC and lookupThrottleRC.
11 years ago
dongie
b2f163d2ac
whitespace fixes in previous commit
11 years ago
dongie
b7db6a04d1
Merge pull request #14 from schugabe/typepunnedwarning
fixed gcc compiler warning in cliset
11 years ago
fiendie
6ab48fc438
Revert new PID stuff and move it to a separate branch for now.
11 years ago
Johannes Kasberger
733f1ef51b
fixed compiler warning in cliset
Warning was warning: dereferencing type-punned pointer will break strict-aliasing rules
11 years ago
dongie
14f087a140
Merge pull request #12 from luggi/rotationfailfix
fixed rotation fail
11 years ago
Lukas S
2d029105a5
fixed rotation fail
11 years ago
dongie
c14e7cf59f
whitespace and formatting cleanups from latest commit
11 years ago
dongie
7c723cb184
Merge pull request #11 from luggi/newpid
new Baseflight PID
11 years ago
Lukas S
b996b26cbb
new Baseflight PID
full gyro scale is used now
and a new pid with float calculations was added based on PIDrewrite
eeprom size was also increased from 1kB to 2kB
11 years ago
dongie
bff260c7c6
logic and whitespace fixes in gps passthrough
11 years ago
dongie
05a61e9cda
more ignores added
11 years ago
dongie
ab6df2e317
Merge pull request #8 from disq/gps_passthrough
GPS passthrough cli command
11 years ago
dongie
33de2191df
fuck git
11 years ago
dongie
29a9507c15
adding untested (and probably non-working) airplane mixer from mwc 2.3
flaperons not implemented (too hacky)
flaps should work
11 years ago
dongie
f4eea64805
Merge pull request #6 from disq/gps_nodelay
init GPS one byte at a time
11 years ago
Kemal Hadimli
da0669ef22
increment state_position later, get rid of lte in favor of lt comparisons
11 years ago
dongie
bd8b1a1c8f
cleaned up cliMotor(), added MSP_SET_MOTORS and enabled CAP_DYNBALANCE so the motors can be controlled from GUI
11 years ago
dongie
d7b99e7938
Merge branch 'upstream' of https://github.com/davibe/baseflight into davibe-upstream
11 years ago
dongie
e1087cf921
fix returned size in MSP_MISC, should correct CRC errors in other GUIs and correctly work with MSP_SET_MISC in MultiWiiConf
11 years ago
dongie
1990c6a67e
add new gps type
11 years ago
Kemal Hadimli
c4dd556f3d
gps passthrough cli command
11 years ago
Kemal Hadimli
091c77592a
gps: wait for gps write buffer to empty before writing more
11 years ago
Kemal Hadimli
567e7f7cc8
gps: keep state position use it to execute partial initialization code, get rid of delay() calls
11 years ago
dongie
77d455f82b
more shit to ignore
11 years ago
dongie
b65c45eb7c
adding more stuff to ignore
11 years ago
dongie
7eec3aec9e
add untested mixers - HEX6H, dual/single copter, to match mixer IDs with MultiWiiConf
11 years ago
timecop@gmail.com
203e46daa6
Enable automatic reset after (re)flashing, closes issue #19
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@466 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
Davide Bertola
786d727705
Add cli 'motor' command
It allows to get and set single motor output
value.
11 years ago
timecop@gmail.com
5107130ac0
remove stm32_gpio.c from project and fix EXTI-using drivers w/local version of gpioExtiLineConfig.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@465 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
timecop@gmail.com
609df47cd4
tri gyro data reading fix - closes issue #18
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@464 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
timecop@gmail.com
639f534c31
mag headfree fix after sensor unfucking thx Luggi09
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@463 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
timecop@gmail.com
35f0a8e4b0
old altitude calculation used again, added lpf for accZ by Luggi09
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@462 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
timecop@gmail.com
2d076db908
Built firmware to match r460.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@461 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
timecop@gmail.com
e19aa61753
OK, tarduino dudes aren't gonna fix their shit. So, let's live with it.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@460 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
timecop@gmail.com
241de2455e
until multiwii retards fix their shit this is the only solution
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@459 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
timecop@gmail.com
5bbf2bc88d
rewrote box serialization to not use a buffer, also maybe fixed mismatched boxes in GUI (thx Luggi09)
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@452 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
timecop@gmail.com
d63c1f0604
Properly set ADXL345 driver default orientation (thx enots)
Fixed compile error in i2c_soft driver which still used old GPIO init syntax.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@451 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
timecop@gmail.com
7ce9aab3d8
fixing servo output for flying_wing w/new servo reorganization
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@450 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
timecop@gmail.com
35927540b1
cleaning up some misc fuckups from msp handler
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@449 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
timecop@gmail.com
779dfe8a92
separate all telemetry code and add option to use softserial for telemetry.
to use, set softserial_baudrate=9600, softserial_inverted=1 and telemetry_softserial=1
then enable feature TELEMETRY.
by disq
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@448 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
timecop@gmail.com
47a4d30358
fixed cli status command (thx alexk)
moved mpuscale into core struct since it's not a changeable setting
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@447 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
timecop@gmail.com
8d7f82dc75
added ability to specify arbitrary roll/pitch/yaw translation for board mounting by alu.
this allows to mount FC vertically/upside down/etc easily.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@445 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
timecop@gmail.com
6b93f06e49
corrected mag task switcher for good this time
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@444 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
timecop@gmail.com
134a37d811
corrected a bug that would cause motors to spin up after saving parameters in 3D mode, thx englishman.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@443 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
timecop@gmail.com
c1d82bcf46
fixed bug in task state machine introduced by re-adding gps thread. thanks to alu for catching it.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@441 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
timecop@gmail.com
ca7d7e32f6
removed some double promotions that sneaked in, as well as replaced fabs() with float-only fabsf() version. trashed doubles from _atof(). Considering trashing that whole function for KEIL builds.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@439 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
timecop@gmail.com
30ded7ff04
Beginning of the great GPS unfucking.
* Proper initialization sequence framework for various supported GPS types. NMEA will now auto-detect its baud rate based on received frames.
* As a result of the above, gps_baudrate has been changed to enum, to only allow fixed rates. (GPS baudrate, -1: autodetect (NMEA only), 0: 115200, 1: 57600, 2: 38400, 3: 19200, 4: 9600)
* UBX binary initialization at any specified baudrate with auto-reconnect on signal loss.
* GPS thread to handle initialization, signal loss and configuration. No longer does GPS need to be powered before FC, and on GPS reconnect, it will be re-initialized if needed.
MTK NMEA/binary initialization is omitted for now, as I can't find my MTK GPS
GPS deltaTime can be calculated to display update rate.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@438 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago