Commit Graph
100 Commits
Author SHA1 Message Date
Johan Jansen 99c448b5f0 attitude_estimator_q: Fix NaN protection 2015-07-28 16:07:05 +02:00
Johan Jansen cd67609da5 PreflightCheck: Reduce GPS timeout to 2 sec 2015-05-18 12:49:53 +02:00
Johan Jansen 680898e6aa GPS: Publish first data after configuring device 2015-05-18 12:48:40 +02:00
Johan Jansen 38004cdd95 PreflightCheck: Increase GPS timeout to 4 sec 2015-05-18 12:31:16 +02:00
Johan Jansen d650820dbf SystemLib: Add missing CBRK_GPSFAIL circuit breaker parameter 2015-05-14 21:20:34 +02:00
Johan Jansen 510b6124ec Commander: Fix inverted circuit breaker logic 2015-05-14 21:20:05 +02:00
Johan Jansen 52222de021 Commander: Wait up to 1 second to allow GPS module to be detected 2015-05-14 20:59:23 +02:00
Johan Jansen fee02c6943 Commander: Fix parameter bug in preflight check function 2015-05-14 20:30:10 +02:00
Johan Jansen f020ad4ba3 Commander: Check if GPS receiver is suffering from jamming noise 2015-05-14 19:29:35 +02:00
Johan Jansen 45f1fd6634 Commander: Add preflight check for missing GPS module 2015-05-14 19:19:30 +02:00
Johan Jansen c0a9e08a30 ROMFS: Start GPS driver before Commander so that preflight check can be run 2015-05-14 19:18:05 +02:00
Johan Jansen 7a4ac0ad7f Commander: Ignore sensor status on in-air restore 2015-04-20 09:14:13 +02:00
Johan Jansen a6c57afabd Make: Remove deprecated preflight check 2015-04-20 09:14:13 +02:00
Johan Jansen ba25f7a290 Make: Disable build of preflight check (pending removal) 2015-04-20 09:14:13 +02:00
Johan Jansen 3365e577e7 ROMFS: Update for preflight check in Commander 2015-04-20 09:14:12 +02:00
Johan Jansen 4654d0f4fc Commander: Enter ARMING_STATE_STANDBY_ERROR by default if preflight has failed 2015-04-20 09:14:12 +02:00
Johan Jansen b70138c631 Commander: Re-run preflight check after calibration 2015-04-20 09:14:12 +02:00
Johan Jansen c5a178a777 Commander: Play startup tune if preflight checks are good, play alarm otherwise 2015-04-20 09:14:12 +02:00
Johan Jansen 6f338eb1b2 Commander: Run preflight check on boot 2015-04-20 09:14:12 +02:00
Johan Jansen fde244f903 Commander: Add PreflightCheck to the commander 2015-04-20 09:14:12 +02:00
Johan Jansen b7a6f18ca6 AttPosEKF: Only fuse GPS velocity if they are valid 2015-04-18 17:23:19 +02:00
Johan Jansen 051b7b853e UBlox: Check valid time bit for NAV_TIMEUTC messages (used for Ublox 6 and earlier) 2015-04-10 09:56:05 +02:00
Johan Jansen 891a7af509 UBlox: Only use time and date if flags are valid 2015-04-07 17:15:33 +02:00
Johan Jansen a121f6101f UBlox: Only use fix and velocity if flags are valid 2015-04-07 17:15:17 +02:00
Johan Jansen c4bc9d19cb LidarLite: Added collect phase to PWM 2015-03-24 12:57:22 +01:00
Johan Jansen 4e7fa5aade LidarLite: Add uORB handling in PWM drivers 2015-03-24 12:23:15 +01:00
Johan Jansen d160817de3 LidarLite: Fix bug for I2C ioctl 2015-03-24 12:06:54 +01:00
Johan Jansen 874c319888 LidarLite: Code cleanup 2015-03-24 11:49:34 +01:00
Johan Jansen b1da12b43f LidarLite: Added PWM version of the LidarLite driver 2015-03-24 11:31:11 +01:00
Johan Jansen eeb8562c6e LidarLite: Compile with weffc++ and fix all warnings 2015-03-24 10:10:11 +01:00
Johan Jansen b084558a79 LidarLite: Code cleanup, prepare for PWM version of the driver 2015-03-24 10:04:40 +01:00
Johan Jansen c0c3e153ec Eigen: Add verify macro to check if math operations are correct 2015-03-17 14:51:18 +01:00
Johan Jansen 3451a4686a test_eigen: Make TEST_OP macro more readable 2015-03-17 14:08:20 +01:00
Johan Jansen 008a36003f Eigen: Add general purpose Eigen compatability header for PX4 2015-03-17 13:58:03 +01:00
Johan Jansen 0be2530037 tests: Added test_eigen to verify correctness of eigen calculations 2015-03-17 13:27:50 +01:00
Johan Jansen b3e6d911be Eigen: Add eigen as a submodule 2015-03-17 11:34:04 +01:00
Johan Jansen 8508287590 AttPosEKF: Remove unused code 2015-03-13 15:59:01 +01:00
Johan Jansen 4a8f799e9e AttPosEKF: Make local_pos output Z ref pos relative 2015-03-13 15:27:02 +01:00
Johan Jansen 435d82dee2 AttPosEKF: Remove barometer reference altitude 2015-03-12 18:17:39 +01:00
Johan Jansen 211760e3e3 AttPosEKF: Fix 5Hz sawtooth oscilation in XY position estimate 2015-03-12 17:28:21 +01:00
Johan Jansen 67695f191e AttPosEKF: Use Geolib lat/lon position projection 2015-03-12 13:17:51 +01:00
Johan Jansen 20592ce4d8 AttPosEKF: Compile fix for protected HIL function 2015-03-12 10:29:16 +01:00
Johan Jansen 5f5a6e841f AttPosEKF: Reset states to current state 2015-03-12 09:41:38 +01:00
Johan Jansen 73ac2d90cf AttPosEKF: Compile fix for missing braces 2015-03-08 22:18:28 +01:00
Johan Jansen cdbd6872ed AttPosEKF: Fix inverted logic for inhibitMagStates 2015-03-08 22:00:38 +01:00
Johan Jansen 1dc7d4905c VectorMath: Optimization by passing vector by reference instead of value 2015-03-08 12:26:59 +01:00
Johan Jansen 34f6cf9eb6 AttPosEKF: Inhibit mag state if not fixed wing and not accelerating forwards 2015-03-08 12:15:39 +01:00
Johan Jansen 11568c77d4 VectorMath: Add scalar division to custom EKF vector math 2015-03-08 12:14:47 +01:00
Johan Jansen 807e02b4a0 AttPosEKF: Direct to EKF whether the vehicle is flying like a FixedWing or not 2015-03-08 12:13:56 +01:00
Johan Jansen e0d1e3ca5e AttPosEKF: Fix code style using AStyle script 2015-03-03 13:36:18 +01:00
Johan Jansen ee6da71efa Commander: Timeout position estimates if we receive none for 1 full second 2015-03-03 13:29:32 +01:00
Johan Jansen 35e0faa48a AttPosEKF: Fix dead-reckoning for global position estimates without GPS 2015-03-03 13:28:55 +01:00
Johan Jansen 74a5dcdb1b AttPosEKF: Subscribe to vehicle armed status 2015-03-03 13:28:21 +01:00
Johan Jansen c434a6e097 uORB: Add dead_reckoning flag to global position estimates 2015-03-03 13:27:38 +01:00
Johan Jansen 74177a2688 px4_uploader: Push program bytes faster by using bigger blocks 2015-02-26 11:14:54 +01:00
Johan Jansen a8f9caaaa5 px4_uploader: Prevent spin-lock from hogging CPU 2015-02-26 11:14:06 +01:00
Johan Jansen ae6adbea1e mc_pos_control: Fix yaw in PosHold and reset yaw setpoints 2015-02-18 16:57:08 +01:00
Johan Jansen 51fcb440d0 mc_pos_control: Fix autonomous landing without GPS
Due to a regression bug in #1741 the autonomous landing without GPS used manual RC
input to determine setpoints which broke auto landing without GPS.
2015-02-18 16:56:53 +01:00
Johan Jansen b1b078103a GPS: Remove GPS disable debug code 2015-02-13 14:29:59 +01:00
Johan Jansen f640f43869 ROMFS: Disable AttPosEKF by default for MultiCopters 2015-02-13 14:27:05 +01:00
Johan Jansen f64a8d7cb0 AttPosEKF: Fix sensor loss recovery 2015-02-13 10:52:10 +01:00
Johan Jansen 331352c75d AttPosEKF: Use multiplatform land detector (was custom FixedWing only) 2015-02-13 10:50:55 +01:00
Johan Jansen 6af2a38f36 AttPosEKF: Moved class declaration to header file 2015-02-12 14:43:23 +01:00
Johan Jansen a8c298c772 AttPosEKF: Remove unused gps accel estimation 2015-02-12 13:55:03 +01:00
Johan Jansen 755abccb3e AttPosEKF: Removed SENSOR_COMBINED_SUB macros 2015-02-12 13:00:20 +01:00
Johan Jansen 76901c6414 AttPosEKF: Moved data collection to separate function 2015-02-12 11:49:45 +01:00
Johan Jansen f5534dd5c1 AttPosEKF: Fix velNED not initialized properly on first GPS fix 2015-02-12 10:58:36 +01:00
Johan Jansen 0cbfa65056 AttPosEKF: Refactor and code cleanup 2015-02-11 17:57:33 +01:00
Johan Jansen 8d8a66607a AttPosEKF: Do not publish global position if we have none 2015-02-11 16:43:52 +01:00
Johan Jansen c1e13e5afb AttPosEKF: Fix GPS loss timeout not resetting properly 2015-02-11 16:43:04 +01:00
Johan Jansen dc522f217f Commander: Fix GPS loss not handled properly 2015-02-11 16:42:01 +01:00
Johan Jansen 7f7c36b5b1 AttPosEKF: Publish altitude position estimates without GPS 2015-02-11 13:38:59 +01:00
Johan Jansen 3d1e373e36 AttPosEKF: Fix initialization of AMSL estimation without GPS 2015-02-11 13:38:59 +01:00
Johan Jansen 66cb129d18 AttPosEKF: Fix license text for InertialNav files 2015-02-11 13:38:59 +01:00
Johan Jansen ebb111dafa AttPosEKF: Replace sqrt with sqrtf 2015-02-11 13:38:59 +01:00
Johan Jansen ce07e0de2d AttPosEKF: Added missing license header text 2015-02-11 13:38:59 +01:00
Johan Jansen 723c138b09 AttPosEKF: Move documentation to header file 2015-02-11 13:38:59 +01:00
Johan Jansen 83298110c1 AttPosEKF: Disable unused function 2015-02-11 13:38:59 +01:00
Johan Jansen 7287dc3c4c AttPosEKF: Replace custom min/max functions with c++ standard 2015-02-11 13:38:59 +01:00
Johan Jansen 022208e998 AttPosEKF: Move initializeParameters() from header to implementation file 2015-02-11 13:38:59 +01:00
Johan Jansen ce5a9929ff AttPosEKF: Fix coding style 2015-02-11 13:38:59 +01:00
Johan Jansen d1ecfad4cd EKFAttPos: Enforce type safety 2015-02-11 13:38:59 +01:00
Johan Jansen d4c7e66212 AttPosEKF: Fix error_count comparison 2015-02-10 17:47:23 +01:00
Johan Jansen c7d0cb6bd7 lsm303d: Fix memory initialization and error_count not set 2015-02-10 17:46:56 +01:00
Johan Jansen 9ddb7e72e4 LandDetector: Check each rotation angle rather than the magnitude 2015-02-09 18:06:29 +01:00
Johan Jansen fe21cb6a1a LandDetector: Fix for land detection without GPS 2015-02-09 18:06:29 +01:00
Johan Jansen e38b25c1f7 LandDetector: Fix default param scale error 2015-02-09 16:52:04 +01:00
Johan Jansen 004118f929 LandDetector: Change rotation rate in rads/s to deg/s (more similar to mpc params) 2015-02-09 12:47:31 +01:00
Johan Jansen 01dc774703 LandDetector: Use vehicle_attitude instead of sensors_combined 2015-02-09 12:42:20 +01:00
Johan Jansen 70e4554f76 LandDetector: Fix parameter swapped bug 2015-02-09 12:42:02 +01:00
Johan Jansen 9c627255cc MPU6000: Increase gyro offset tolerance to 7 dps 2015-01-26 19:59:16 +01:00
Johan Jansen 9cc94fcb2d mc_pos_control: Protect against NaN and Inf setpoints 2015-01-26 13:58:19 +01:00
Johan Jansen 9ecadcd9b4 Astyle: Fix format for commander.cpp 2015-01-16 16:46:16 +01:00
Johan Jansen a581ae8ed6 Commander: Remove duplicate code for setting home position 2015-01-16 16:43:11 +01:00
Johan Jansen 818ccf7a04 Commander: Fix for resetting home timestamp on arm 2015-01-16 15:51:57 +01:00
Johan Jansen 510a314386 LandDetector: Shorter and less ambiguous param names 2015-01-15 14:58:06 +01:00
Johan Jansen 92add9cf80 LandDetector: Externalized algorithm parameters 2015-01-15 14:37:51 +01:00
Johan Jansen e40d207311 AStyle: Fixed file formatting 2015-01-15 14:37:51 +01:00
Johan Jansen f1587da4c4 MulticopterLandDetector: Detect land even if autopilot is not landing 2015-01-15 14:37:51 +01:00
Johan Jansen 1356c44f0e LandDetector: Fix land detection algorithm not being initialized 2015-01-15 14:37:51 +01:00