Permalink
Switch branches/tags
Nothing to show
Commits on Oct 27, 2012
  1. slight improvement to motion threshold calculation

    timecop@gmail.com
    timecop@gmail.com committed Oct 27, 2012
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@234 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Commits on Oct 19, 2012
  1. implemented using one of RC inputs as ADC channel for power meter.

    timecop@gmail.com
    timecop@gmail.com committed Oct 19, 2012
    added MSP_ACC_TRIM stuff for android GUI.
    
    
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@231 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Commits on Oct 14, 2012
  1. made gyrodiff for motion detection configurable, 0 = disabled

    timecop@gmail.com
    timecop@gmail.com committed Oct 14, 2012
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@230 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Commits on Oct 13, 2012
  1. added acc_trim stuff into cli

    timecop@gmail.com
    timecop@gmail.com committed Oct 13, 2012
    spacing/indentation fixes
    flyingwing is somewhat supported, reflect that in comment
    added anti-moron gyro calibration routine... if model is getting moved while its arming... don't calculate gyro avearage because its gonna be wrong... example of fail see here: http://www.rcgroups.com/forums/showthread.php?t=1749966
    
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@229 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Commits on Oct 8, 2012
  1. fixed MPU6050 sig stuff, d'oh

    timecop@gmail.com
    timecop@gmail.com committed Oct 8, 2012
    added sensor axis orientation stuff to cli... not the most optimal way but surely one that uses least code, lol!
    
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@228 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Commits on Oct 7, 2012
  1. added ability to swap sensor axises dynamically. still needs a sane w…

    timecop@gmail.com
    timecop@gmail.com committed Oct 7, 2012
    …ay to configire in CLI, though.
    
    adjusted all drivers for the new align stuff.
    commented out default config setting values to zero - memset already did that.
    
    
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@227 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
  2. moved some readonly strings to flash, thanks zyp

    timecop@gmail.com
    timecop@gmail.com committed Oct 7, 2012
    cleaned up frsky telemetry a bit with verbose telemetry ID names, changed loop timing a bit, added output for heading and voltage (when vbat is enabled). telemetry stuff is untested, so someone try it out.
    
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@226 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Commits on Oct 6, 2012
  1. Applied patch from trunet for running at 64MHz off HSI for broken Chi…

    timecop@gmail.com
    timecop@gmail.com committed Oct 6, 2012
    …nese kcopter clones
    
    status in cli now prints cpu MHz, 72 when running off crystal, 64 when running off intrc.
    corrected WHO_AM_I check for mpu6050 when it's used on alternate address (AD0 high).
    corrected PWM driver to consider CPU clock for timer prescalers - now things properly work below 72MHz
    added a neat hack for pitch angle calculation so that it's not affected when roll reaches 90deg
    added proper math for vector rotation instead of small-angle approximation
    
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@225 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Commits on Sep 23, 2012
  1. sign error in HEX6P mix.

    timecop@gmail.com
    timecop@gmail.com committed Sep 23, 2012
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@224 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Commits on Sep 21, 2012
  1. integrated tommie's eeprom sanity check. much less chances of new fir…

    timecop@gmail.com
    timecop@gmail.com committed Sep 21, 2012
    …mware screwing up due to old config version.
    
    fixed pwm init for airplane mode mistakenly deleting motors from the mix. flyingwing should really work now.
    removed led debug from althold
    
    
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@223 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Commits on Sep 20, 2012
  1. forgot to add lpf_for_velocity into tunables for new althold

    timecop@gmail.com
    timecop@gmail.com committed Sep 20, 2012
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@222 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Commits on Sep 19, 2012
  1. stmloader serial fix from lianj

    timecop@gmail.com
    timecop@gmail.com committed Sep 19, 2012
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@221 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
  2. enabled mahowik althold by default. let the users figure it out.

    timecop@gmail.com
    timecop@gmail.com committed Sep 19, 2012
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@220 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Commits on Sep 18, 2012
  1. fixed bug in soft_i2c driver (doesnt affect anyone except testing)

    timecop@gmail.com
    timecop@gmail.com committed Sep 18, 2012
    added VAR_FLOAT to cli - now allows setting/printing float vars
    fixed newlines in pwm driver
    exported new althold tunables to cli (some are floats) - still not enabled by default until I know it works
    
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@219 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Commits on Sep 12, 2012
  1. flying wing servo output fix

    timecop@gmail.com
    timecop@gmail.com committed Sep 12, 2012
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@218 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
  2. more mahowik althold changes. at least it doesn't shoot up in the air…

    timecop@gmail.com
    timecop@gmail.com committed Sep 12, 2012
    … now on enable... but still nothing impressive.
    
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@217 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
  3. fixed bug with MTK init - stuff was sent without delay while changing…

    timecop@gmail.com
    timecop@gmail.com committed Sep 12, 2012
    … baudrates, and it would wreck stuff - changing rate mid-buffer. oops. should work now.
    
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@216 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Commits on Sep 10, 2012
  1. testing: merged patch from http://www.multiwii.com/forum/viewtopic.ph…

    timecop@gmail.com
    timecop@gmail.com committed Sep 10, 2012
    …p?p=22485#p22485
    
    no binaries, as it doesn't work at the claimed PIDs of 5.0-0.030-30
    
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@214 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Commits on Sep 9, 2012
  1. bring back flying wing w/all configuration options

    timecop@gmail.com
    timecop@gmail.com committed Sep 9, 2012
    config version bumped, settings cleared.
    
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@213 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Commits on Sep 8, 2012
  1. allow using GPS in PWM input mode. This (obviously) reduces number of…

    timecop@gmail.com
    timecop@gmail.com committed Sep 8, 2012
    … available channels by 2.
    
    I heard thats not a problem since tarduino only allows 4RC+2AUX channels anyway! If you want more, upgrade to PPM.
    So you use RC3/4 for GPS, and connect the rest of the channels as usual. Channels used for GPS uart are
    skipped, so no changes to 'map' are necessary. Simply connect in order.
    
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@212 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
  2. fix for airplane pwm mode - variable wasn't initialized, resulting in…

    timecop@gmail.com
    timecop@gmail.com committed Sep 8, 2012
    … non-working motors on some compilers.
    
    synced angle/horizon mode stuff from mwc. no idea what it does.
    perhaps the most important part of this update:
    -errorAngle = constrain(2 * rcCommand[axis] - GPS_angle[axis], -500, +500) - angle[axis] + cfg.angleTrim[axis];
    +errorAngle = constrain(2 * rcCommand[axis] + GPS_angle[axis], -500, +500) - angle[axis] + cfg.angleTrim[axis];
    (which means GPS might actually work).
    
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@209 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Commits on Sep 6, 2012
  1. oops, printf stuff forgotten to add to uv project.

    timecop@gmail.com
    timecop@gmail.com committed Sep 6, 2012
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@208 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
  2. added printf() support via SpareTimeLabs printf lib. this cleaned up …

    timecop@gmail.com
    timecop@gmail.com committed Sep 6, 2012
    …some mess inside cli.c
    
    example of usage: http://bcas.tv/paste/results/xToE9w26.html
    hover-tested quadx loaded as custom mix, works.
    
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@207 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Commits on Sep 5, 2012
  1. moving towards custom mixer table and proper fixedwing mixer.

    timecop@gmail.com
    timecop@gmail.com committed Sep 5, 2012
    refactored all of mixer.c to use tables instead of hardcoded mix.
    custom mixer is stored in flash, but currently has no UI to configure it.
    do not choose mixer CUSTOM in console.
    
    hover-tested QUADX, if upgrading anything else, please carefully check motor response first, preferably without props on heavy models.
    tec
    
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@206 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
  2. buffer overrun in cli parser, increased command buffer. oops. thanks …

    timecop@gmail.com
    timecop@gmail.com committed Sep 5, 2012
    …nicodh.
    
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@205 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Commits on Sep 4, 2012
  1. Finished merging GPS autoconfig + ubx protocol code.

    timecop@gmail.com
    timecop@gmail.com committed Sep 4, 2012
    use set gps_type=X in cli to configure, where X=0 if NMEA (no special config), X=1 if UBX (enters ubx binary mode), X=2 if MTK (sets up MTK for 5Hz operation).
    changed default GPS rate to 115200 baud
    added baudrate reset stuff to UART driver for GPS autoconfigure
    NONE of this is tested (except UBX working on my window)
    
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@204 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
  2. merged multiwii GPS code from 1097. still no support for UBX, or GPS …

    timecop@gmail.com
    timecop@gmail.com committed Sep 4, 2012
    …auto-config, soon.
    
    added interrupt pins from mag/mma/mpu for rev4 hardware. nothing done with them yet - candidates for EXTI use
    added tx buffer to UART2 (gps) in preparation for auto-config
    
    
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@203 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Commits on Aug 23, 2012
  1. mag init after gyro

    timecop
    timecop committed Aug 23, 2012
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@202 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Commits on Aug 22, 2012
  1. I2C bypass mode permanently enabled on MPU6050.

    timecop
    timecop committed Aug 22, 2012
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@201 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Commits on Aug 21, 2012
  1. i2c no-ack fix (never actually worked properly, fixed now)

    timecop
    timecop committed Aug 21, 2012
    bumped config version, or else r198 crashed on update from recent version
    airplane mode config passed to drv_pwm
    
    
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@199 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Commits on Aug 20, 2012
  1. cleaned up bmp085 driver

    timecop
    timecop committed Aug 20, 2012
    added ms5611 driver
    refactored pressure sensor subsystem to allow multiple sensors
    couple changes in PWM driver to make motor/servo arrangement for airplane mode more intuitive
    moved MAX_MOTORS/MAX_SERVOS etc into drv_pwm.h
    staring to merge back in airplane/flyingwing mixes
    fix for tri servo display - mwc moved it to servo[5] again, gui was broken, function not.
    will probably implement custom mixer soon (motors only, no servos)
    
    
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@198 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Commits on Aug 17, 2012
  1. rewritten and cleaned up PWM driver

    timecop
    timecop committed Aug 17, 2012
    this has been hover-tested.
    all current functionality *should* work even though the driver has been rewritten.
    please test carefully, especially servo configurations!
    
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@197 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Commits on Aug 15, 2012
  1. makefile fix to add l3gd driver

    timecop
    timecop committed Aug 15, 2012
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@196 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
  2. committing built firmware w/currentTime fix

    timecop
    timecop committed Aug 15, 2012
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@195 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
  3. fix for 32bit overflow of currentTime killing baro/mag after 72 minut…

    timecop
    timecop committed Aug 15, 2012
    …es (yes, someone noticed)
    
    thanks to enots @ feenode.
    
    git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@194 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61