Commit Graph

9256 Commits

Author SHA1 Message Date
Lorenz Meier 314bb49bce Unit tests: Workaround for driver framework. Now unit tests are fully enabled 2015-12-06 12:19:24 +01:00
Lorenz Meier 2e10351fcc Fix HRT abstraction for Mac OS 2015-12-06 11:40:22 +01:00
Lorenz Meier 55cd24a4fa Runway lib: Do not attempt to build params file 2015-12-06 11:38:24 +01:00
David Sidrane 5d422f5c30 Updated comments 2015-12-04 12:25:51 -10:00
David Sidrane bc89f6faef todo:Added todo for using strcat 2015-12-04 12:25:51 -10:00
David Sidrane daccfc6c40 Fixed repeated output 2015-12-04 12:25:51 -10:00
David Sidrane 31241c9b49 Fixed off-by-one errors 2015-12-04 12:25:51 -10:00
David Sidrane 31a773e3ce Use _ prefix o uavcan files in ROMFS , simplify upgrade 2015-12-04 12:25:51 -10:00
Lorenz Meier 73e26804da Fix HRT tests 2015-12-04 23:20:31 +01:00
David Sidrane cb5e384105 Ran Astyle 2015-12-04 22:34:47 +01:00
Andrew Tridgell d290487382 circuit_breaker: prevent param fetch failure from disabling safety switch
if the param get failed then an uninitialised stack variable was used
for the safety disable on boot. In ArduPilot that value happened to
equal the correct magic due to stack passing from caller. This forced
safety off on boot
2015-12-04 21:22:25 +01:00
Lorenz Meier 3c349236e1 Fix S.BUS compile error 2015-12-04 21:19:31 +01:00
Lorenz Meier d97592e853 Sensors: Use ADC handle correctly 2015-12-04 21:19:17 +01:00
Lorenz Meier 1d05ad2cf1 Allow OneShot PWM pulse 2015-12-04 20:06:42 +01:00
Lorenz Meier a210b8ddbe BST: Fix code style 2015-12-04 19:37:35 +01:00
Lorenz Meier 3f8507f619 Add missing board config to px4_config.h 2015-12-04 19:37:35 +01:00
Lorenz Meier 02e7144d9f BST driver: Clean up I2C bus and stack 2015-12-04 19:37:35 +01:00
Anton Babushkin ec55a56191 bst: move to cmake 2015-12-04 19:37:35 +01:00
Anton Babushkin c08ab251ef bst: battery packet implemented 2015-12-04 19:37:35 +01:00
Anton Babushkin 5f18182acc bst (Black Sheep Telemetery) module added 2015-12-04 19:37:35 +01:00
Roman Bapst 4e824e55d7 Merge pull request #3323 from PX4/att_est_q_declination
Attitude estimator Q: fix magnetic declination inducing gyro bias growth
2015-12-04 16:46:36 +01:00
Anthony Kenga a5a3357928 Attitude estimator Q: fix magnetic declination inducing gyro bias growth 2015-12-04 16:11:57 +01:00
Lorenz Meier 835208e070 Commander: Fix dev handle init 2015-12-04 10:51:37 +01:00
Lorenz Meier 590f00f560 Navigator: Set sane defaults for navigation and loiter waypoints with zero acceptance radius or orbit 2015-12-04 10:51:37 +01:00
Lorenz Meier 43c3708bf0 Merge pull request #3319 from PeterDuerr/fix_map_projection_project
Avoid violation of acos' domain in map_projection
2015-12-04 10:31:22 +01:00
Lorenz Meier abbd560a90 Feasibility checker: Do not accept ROI 2015-12-04 09:51:39 +01:00
Peter Duerr 6b78b72ab2 Fix code style according to astyle 2015-12-04 14:53:59 +09:00
Peter Duerr c070d326e0 Avoid violation of acos' domain in map_projection
* There are pathological cases (e.g., setpoint very close to reference
  for certain reference latitudes), where numerical errors lead to a sum
  larger than 1.0 passed to acos, resulting in NaN values.

This should fix issue #2813
2015-12-04 14:14:31 +09:00
Lorenz Meier daee5eeefa Mission handling: Use default acceptance radius in case its set to zero 2015-12-03 21:25:27 +01:00
Lorenz Meier dc3a101b4a Merge pull request #3313 from UAVenture/sitl_fix_mac
Make posix sitl work on my mac
2015-12-03 18:39:55 +01:00
Andreas Antener 08a1797eec changed isnan checks and cmake compiler condition for apple machines 2015-12-03 15:39:41 +01:00
Lorenz Meier a003013fd9 QuRT: Set thread attributes correctly 2015-12-03 14:28:37 +01:00
Lorenz Meier 80439989a9 UAVCAN: Initialize thread attributes correctly 2015-12-03 14:28:17 +01:00
Lorenz Meier 672a7b7b5c SDLOG2: Initialize thread attrs correctly 2015-12-03 14:28:05 +01:00
Lorenz Meier e1a5efb9a5 INAV: Be less chatty 2015-12-03 13:49:35 +01:00
Lorenz Meier c4ed598dff MAVLink app: Do not decode buttons when they are not true mode switches 2015-12-02 23:00:53 +01:00
Lorenz Meier fa49d27d09 Merge pull request #3307 from UAVenture/sub_mode_support
Sub mode support
2015-12-02 14:26:41 +01:00
Roman Bapst 25dbce84d7 Merge pull request #3308 from PX4/delta_angles
gyrosim: calculate delta angles and delta velocities
2015-12-02 13:53:37 +01:00
Roman Bapst 59be11f31d Merge pull request #3304 from PX4/mc_pos_tilt_comp
use tilt compensation also for position control
2015-12-02 13:51:46 +01:00
Andreas Antener 756282b195 added auto takeoff sub mode 2015-12-02 13:38:44 +01:00
Andreas Antener df6fe7f993 transition to auto mission if custom mode param is not set 2015-12-02 13:38:44 +01:00
Nate Weibley 4e4f780ecc Add support for switching to auto modes via SET_MODE 2015-12-02 13:38:44 +01:00
Roman 644ce51956 gyrosim: calculate delta angles and delta velocities 2015-12-02 13:02:33 +01:00
Lorenz Meier 7b9d49f6b6 PWM input driver: Fix code style 2015-12-02 12:23:59 +01:00
Lorenz Meier f87407eb54 PWMin: Fix test cmd 2015-12-02 11:55:32 +01:00
Lorenz Meier b6c4501d0e Adjust data size of dataman to force reset of all existing user data 2015-12-02 09:15:37 +01:00
Lorenz Meier 557fd3d99b Navigation: Turn mission item into packed struct and make nav_cmd compiler-independent 2015-12-02 09:15:11 +01:00
Lorenz Meier 6828e4db2c Geofence: Use machine data types 2015-12-02 09:14:08 +01:00
tumbili c0f45ed8a7 use tilt compensation also for position control 2015-12-01 17:14:32 +01:00
tumbili f91af2221f fix sem error for linux 2015-12-01 16:51:38 +01:00