aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | | | | | | | | | Merged master into ekf_paramsLorenz Meier2014-04-266-19/+26
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | | Fix warnings, use more efficient atan2f where it can be safely usedLorenz Meier2014-04-261-5/+5
| | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | Use INAV as default to not break existing setupsLorenz Meier2014-04-261-2/+2
| | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | Merged mpc_rc into ekf_paramsLorenz Meier2014-04-2640-942/+1025
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | | | Fixed printing in attitude controlLorenz Meier2014-04-221-4/+4
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Robustified filter init / sequencingLorenz Meier2014-04-223-6/+14
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | ekf: Better variable zeroingLorenz Meier2014-04-221-2/+11
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Removed verbose printLorenz Meier2014-04-221-0/+1
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Merge branch 'master' of github.com:PX4/Firmware into ekf_paramsLorenz Meier2014-04-222-29/+26
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into ekf_paramsLorenz Meier2014-04-222-3/+18
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | | | | | Revert "HIL: Increased MAVLink link wait time based on previous experience ↵Lorenz Meier2014-04-221-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that this is timing sensitive." This reverts commit 78bf7ed969624eacea35ae2bf402596aecb3c5a6.
| * | | | | | | | | | | | | | | | | | | Reset init flags as wellLorenz Meier2014-04-281-0/+13
| |/ / / / / / / / / / / / / / / / / /
| * | | | | | | | | | | | | | | | | | Added trap to filter to catch NaN handlingLorenz Meier2014-04-221-0/+5
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Better error handling / reporting in filterLorenz Meier2014-04-221-9/+11
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | ekf: Put reset statements after variable zero operation to ensure values get ↵Lorenz Meier2014-04-221-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | initialized correctly
| * | | | | | | | | | | | | | | | | | Merged home_fixLorenz Meier2014-04-221-3/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | | | | | commander: Fix altitude initialisation, do not depend on global pos valid flag.Lorenz Meier2014-04-221-3/+2
| | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | Added home position switch on GPS position - gives a more reliable home ↵Lorenz Meier2014-04-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | position setup
| | * | | | | | | | | | | | | | | | | | Changed home position set to depend on the commander home position switchLorenz Meier2014-04-211-6/+16
| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | Merge branch 'sensors_loop' of github.com:PX4/Firmware into ekf_paramsLorenz Meier2014-04-221-7/+5
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' of github.com:PX4/Firmware into ekf_paramsLorenz Meier2014-04-224-27/+28
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | Better / cleaner initialization of the attitude estimatorLorenz Meier2014-04-223-22/+38
| | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | Merge branch 'ArmDisarm' of github.com:DonLakeFlyer/Firmware into ekf_paramsLorenz Meier2014-04-219-334/+429
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | ekf_att_pos_estimator: Fixed mag initialization, now starts with initial ↵Lorenz Meier2014-04-211-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | measurement instead of defaults for faster convergence
| * | | | | | | | | | | | | | | | | | | | | | Added debug macro for EKF. Fixed mag state handling which was only partially ↵Lorenz Meier2014-04-212-35/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stored in correct states and not properly reset on init / dynamic reset
| * | | | | | | | | | | | | | | | | | | | | | att_pos_estimator_ekf: Update filter to new filter APILorenz Meier2014-04-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | ekf_att_pos_estimator: Using right app nameLorenz Meier2014-04-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | Updated estimator, not using optical flow for now until proven on the benchLorenz Meier2014-04-212-331/+26
| | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | Merge branch 'sensor_err_handling' into ekf_paramsLorenz Meier2014-04-205-26/+56
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'usb_buf_hotfix' into ekf_paramsLorenz Meier2014-04-201-2/+11
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | | | | | | | | | | mavlink: Only write to TX buf if space is available. This is working around ↵Lorenz Meier2014-04-201-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a NuttX issue where overflowing the TX buf leads to being unable to send any further data
| * | | | | | | | | | | | | | | | | | | | | | | | Merge branch 'ekf_params' of github.com:PX4/Firmware into ekf_paramsLorenz Meier2014-04-202-9/+19
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | | | | | | | | | | | Changed home position set to depend on the commander home position switchLorenz Meier2014-04-201-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | | | | | Added home position switch on GPS position - gives a more reliable home ↵Lorenz Meier2014-04-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | position setup
| * | | | | | | | | | | | | | | | | | | | | | | | | Safety checks, prepared to use GPS varianceLorenz Meier2014-04-201-9/+38
| | | | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | | Proper zero init of the filterLorenz Meier2014-04-201-0/+2
| |/ / / / / / / / / / / / / / / / / / / / / / / /
| * | | | | | | | | | | | | | | | | | | | | | | | Merge branch 'master' of github.com:PX4/Firmware into ekf_paramsLorenz Meier2014-04-2010-26/+72
| |\| | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | Merge branch 'master' of github.com:PX4/Firmware into ekf_paramsLorenz Meier2014-04-203-49/+103
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | | | | Updated filter to most recent version with accel scale estimation, exposed ↵Lorenz Meier2014-04-204-583/+1190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | crucial parameters for cross-vehicle support
| * | | | | | | | | | | | | | | | | | | | | | | | | Decomission unmaintained position estimatorLorenz Meier2014-04-195-1255/+0
| | | | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | | Renamed FW filter to EKF to express its generic properties, switched ↵Lorenz Meier2014-04-199-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | multicopters over to this filter for first tests.
| * | | | | | | | | | | | | | | | | | | | | | | | | Add filter parameters and multicopter defaults to parametrize Pauls ↵Lorenz Meier2014-04-193-0/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | estimator correctly when running for multicopters. Estimator itself not updated yet, will be next step.
* | | | | | | | | | | | | | | | | | | | | | | | | | Merge pull request #937 from gumstix/aerocoreLorenz Meier2014-05-1534-28/+2997
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | Aerocore
| * | | | | | | | | | | | | | | | | | | | | | | | | [l3gd20] Make gyro orientation board-overridableAsh Charles2014-05-142-16/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As discussed [1], provide a default SENSOR_BOARD_ROTATION (270 degrees as this seems most common) and let boards override it as necessary. [1] https://github.com/gumstix/m4-firmware/commit/7d0850a710b3ac9e9e165beb36389577d0e5adcb#commitcomment-6315550 Signed-off-by: Ash Charles <ashcharles@gmail.com>
| * | | | | | | | | | | | | | | | | | | | | | | | | [aerocore] Remove commented code for GPIO2Ash Charles2014-05-132-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GPIO2 is currently used for the tone alarm, not an arbitrary GPIO. Signed-off-by: Ash Charles <ashcharles@gmail.com>
| * | | | | | | | | | | | | | | | | | | | | | | | | [l3gd20] Style fixes for l3g4200d integrationAsh Charles2014-05-131-22/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As requested here [1], this fixes some of the style errors introduced with the addition of l3g4200d support to the l3gd20 driver. Gyro orientation is set conditionally for the aerocore board. [1] https://github.com/PX4/Firmware/pull/937 Signed-off-by: Ash Charles <ashcharles@gmail.com>
| * | | | | | | | | | | | | | | | | | | | | | | | | [gps] Conditionally set default GPS portAsh Charles2014-05-132-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AeroCore uses ttyS0 not ttyS3 as the serial port connected to the GPS. Now, a board can set GPS_DEFAULT_UART_PORT to override the default setting in a board-specific fashion. Signed-off-by: Ash Charles <ashcharles@gmail.com>
| * | | | | | | | | | | | | | | | | | | | | | | | | [l3gd20] Add support for L3G4200D chipAsh Charles2014-05-131-10/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The L3G4200D chip is very similar to the L3GD20[H] parts and can use the same driver with minor adjustments. There are four differences: * WHO_AM_I register is 0xD3 (not 0xD4 or 0xD7): - added an extra case to the driver probe * Sampling rates are marginally different: - setting sampling rate now depends on the detected chip * I2C address range is different: - no changes as the driver doesn't support i2c access * the L3G4200D has a self-test function: - no changes---chose not to implement feature in driver Signed-off-by: Ash Charles <ashcharles@gmail.com>
| * | | | | | | | | | | | | | | | | | | | | | | | | Add Gumstix AeroCore deviceAsh Charles2014-05-1333-10/+2960
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on the work of Andrew Smith [1], add board configuration and device drivers to support the Gumstix AeroCore (previously Aerodroid) board [2]. The AeroCore is an autopilot board based on a STM32F427 similar to the FMUv2. [1] https://github.com/smithandrewc/Firmware [2] https://store.gumstix.com/index.php/products/585/ Signed-off-by: Ash Charles <ashcharles@gmail.com>
* | | | | | | | | | | | | | | | | | | | | | | | | | Merge pull request #954 from PX4/stack_sweepLorenz Meier2014-05-1529-18/+68
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stack sweep