Commit Graph

6149 Commits

Author SHA1 Message Date
Andreas Antener a7580a1eae added actual tests and fixed reset-exclude funtction 2015-02-10 08:39:46 +01:00
Andreas Antener 5cccc01cd4 added unit test directive to switch out parameter storage 2015-02-10 08:39:46 +01:00
Andreas Antener 13039f9e69 hard-code parameter array for verification 2015-02-10 08:39:46 +01:00
Andreas Antener a73a095c1d added test and stub 2015-02-10 08:39:46 +01:00
Andreas Antener f8ff5b617b updated comparison 2015-02-10 08:39:46 +01:00
Andreas Antener f2c1d6d66d implemented reset excludes in systemcmd "param", updated autoconfig parameter doc 2015-02-10 08:39:46 +01:00
Andreas Antener 7c63be7450 implemented reset with excludes 2015-02-10 08:38:13 +01:00
Lorenz Meier 06b582f11e Accel calibration: Ensure GCC 4.7 compliance 2015-02-09 23:26:38 +01:00
Lorenz Meier a32863976c Attitude / Position EKF: Fail over to secondary sensors 2015-02-09 22:56:26 +01:00
Lorenz Meier df2ad183e3 Initialize error counts high enough 2015-02-09 22:56:26 +01:00
Lorenz Meier 3079b5560f commander: Mag calibration provides feedback on console as well 2015-02-09 22:56:25 +01:00
Lorenz Meier 3a43649850 sensors app: Fix loading of calibration params 2015-02-09 22:56:25 +01:00
Lorenz Meier d3dd4a21e2 commander: Support commandline sensor calibration 2015-02-09 22:56:25 +01:00
Lorenz Meier 22d80a80f4 Accel calibration: Better output 2015-02-09 22:56:25 +01:00
Lorenz Meier 66fced90de commander: Fix new-style accel calibration 2015-02-09 22:56:25 +01:00
Lorenz Meier 8fde33bcf7 commander: Fix new-style mag calibration, tested. 2015-02-09 22:56:25 +01:00
Lorenz Meier 4ca3c44b60 Update sensor test 2015-02-09 22:56:24 +01:00
Lorenz Meier e82b70b749 Preflight check: Header 2015-02-09 22:56:24 +01:00
Lorenz Meier 97ec21675c HMC driver: Return value handling 2015-02-09 22:56:24 +01:00
Lorenz Meier bd90700f59 Sensors app: Improve sensor config handling 2015-02-09 22:56:24 +01:00
Lorenz Meier ec040fa3ac sensor combined topic: Copy error count field along 2015-02-09 22:56:24 +01:00
Lorenz Meier a27395a15d MS5611: Move to 0 based indices 2015-02-09 22:56:24 +01:00
Lorenz Meier 1eb4ec6ec9 MPU6K: Move to 0 based indices 2015-02-09 22:56:24 +01:00
Lorenz Meier 5a2692cf3a MB12xx: move to 0 based index 2015-02-09 22:56:24 +01:00
Lorenz Meier bd6945ba70 TeraRange One: move to 0 based index 2015-02-09 22:56:23 +01:00
Lorenz Meier e90f00aaf1 STM32 drivers: move to 0 based index 2015-02-09 22:56:23 +01:00
Lorenz Meier 1c2e39bc75 LSM303D: move to 0 based index 2015-02-09 22:56:23 +01:00
Lorenz Meier 83c4da9635 SF0X: move to 0 based index 2015-02-09 22:56:23 +01:00
Lorenz Meier ddb7d49354 Sensors: Move to 0 based indices 2015-02-09 22:56:23 +01:00
Lorenz Meier e67c8529f1 VTOL: Move to 0-based indices 2015-02-09 22:56:23 +01:00
Lorenz Meier 1a91c7da79 UAVCAN: Move to 0-based indices 2015-02-09 22:56:23 +01:00
Lorenz Meier 2816dba447 EKF estimator: Support multi-sensor setups 2015-02-09 22:56:23 +01:00
Lorenz Meier 807cf7bd16 Commander: Implement calibration routines for multi-sensor setups 2015-02-09 22:56:23 +01:00
Lorenz Meier ac155b0fac System cmds: Move to 0 based index 2015-02-09 22:56:22 +01:00
Lorenz Meier 2f4d820063 LL40S: Move to 0 based index 2015-02-09 22:56:22 +01:00
Lorenz Meier 8b6ce797b4 L3GD20: Move to 0 based index 2015-02-09 22:56:22 +01:00
Lorenz Meier fac158f7e5 Board drivers: Move to 0-based index 2015-02-09 22:56:22 +01:00
Lorenz Meier 2bf0092282 RGB Led: move to 0 based index 2015-02-09 22:56:22 +01:00
Lorenz Meier f364176b9a Led: move to 0 based index 2015-02-09 22:56:22 +01:00
Lorenz Meier c9957903e9 HMC5883: Move to 0-based index 2015-02-09 22:56:22 +01:00
Lorenz Meier 24d1a9b955 HIL: Move to 0-based index 2015-02-09 22:56:22 +01:00
Lorenz Meier aeb8642117 GPS: Move to 0-based index 2015-02-09 22:56:21 +01:00
Lorenz Meier 138058d547 Device class reg: Always use 0-based index 2015-02-09 22:56:21 +01:00
Lorenz Meier 21bc9e4839 BlinkM: Move to 0-based index 2015-02-09 22:56:21 +01:00
Lorenz Meier 6e4b95e844 Airspeed: Move to 0-based index 2015-02-09 22:56:21 +01:00
Lorenz Meier 16fea51e00 Driver headers: Move to 0-based indices 2015-02-09 22:56:21 +01:00
Lorenz Meier 4a8044f338 tests system command: Fix return value of tests all command 2015-02-09 22:55:58 +01:00
Lorenz Meier 9e2e6ceac1 Merge pull request #1752 from PX4/log_thrust_sp
log velocity - and acceleration/thrust setpoint
2015-02-09 22:35:36 +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
Lorenz Meier c371eb9b90 Fix up test routines. Needs more work. 2015-02-09 17:15:28 +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
Thomas Gubler 347047bafc get rid of lots of multiplatform macros, oh yeah 2015-02-08 17:53:26 +01:00
Thomas Gubler d1e14741cd mixer node: do not use macros
This is not a portable module (ros only). Hence use the native ros
types.
2015-02-08 17:53:26 +01:00
Thomas Gubler 27f2eb8a16 mc pos ctrl multiplatform use new param api 2015-02-08 17:53:26 +01:00
Thomas Gubler 893beb64a0 mc att ctrl multiplatform use new param api 2015-02-08 17:53:26 +01:00
Thomas Gubler fbcf2c8fb5 add missing __EXPORT 2015-02-08 17:53:26 +01:00
Thomas Gubler 18c7aa9993 param api: run fix code style script 2015-02-08 17:53:26 +01:00
Thomas Gubler 04cc8922e4 param api: load param value correctly 2015-02-08 17:53:26 +01:00
Thomas Gubler 1097f5f55c fix comments 2015-02-08 17:53:26 +01:00
Thomas Gubler bc8efeb73e add param api also for firmware builds 2015-02-08 17:53:26 +01:00
Thomas Gubler 69f5726d70 make subscriber example use the new param api 2015-02-08 17:53:25 +01:00
Thomas Gubler df5ad88df7 add px4 parameter api class (with ros implementation) 2015-02-08 17:53:25 +01:00
Lorenz Meier a4a3b1b25f Modernize system tests, API cleanup 2015-02-08 16:43:55 +01:00
Lorenz Meier f7b79bfaf2 Param interface: Allow to check return value of param_reset. Reset test param prior to running test 2015-02-08 16:39:37 +01:00
Lorenz Meier 1c6cc8a745 Remove peripheral clock changes as they interfere with current / old NuttX instance 2015-02-08 13:08:20 +01:00
Lorenz Meier 0fd11b78eb Fix PX4IO startup 2015-02-08 12:30:39 +01:00
Lorenz Meier ba10e18ffb Remove unneeded cast in GPS driver 2015-02-08 11:40:20 +01:00
Lorenz Meier 6eaf634c5d Improve IO driver feedback 2015-02-08 01:48:41 +01:00
tumbili da5d5a5712 log velocity - and acceleration/thrust setpoint 2015-02-07 17:45:06 +01:00
tumbili 1a6dd7d02e removed attitude setpoint generation from mc_att_controller and moved to mc_pos_controller 2015-02-07 17:36:21 +01:00
Trent Lukaczyk 99557aec52 revert debug items 2015-02-06 18:57:53 -08:00
Trent Lukaczyk 52d5d690ff Merge remote-tracking branch 'upstream/master' 2015-02-06 18:40:17 -08:00
Thomas Gubler 69f50bea8c multiplat mc pos ctrl: reset yaw sp with alt sp
This is a work-around until #1741 makes it to the multiplatform version
2015-02-06 21:07:43 +01:00
Thomas Gubler c0f1d841af multiplat pos ctrl: also set yaw sp in manual modes
This is a work-around until #1741 makes it to the multiplatform version
2015-02-06 21:07:43 +01:00
Thomas Gubler 9532b680dd multiplat mc att ctrl: move yaw sp only if xy is not controlled
This is a work-around until #1741 makes it to the multiplatform version
2015-02-06 21:07:43 +01:00
Trent Lukaczyk 531eaa2314 Merge remote-tracking branch 'upstream/master' 2015-02-05 20:19:04 -08:00
Trent Lukaczyk af8e76ee7e tricopter initial commit 2015-02-05 20:18:00 -08:00
Thomas Gubler 18cc20b04b parametrize imu input for ros dummy att estimator 2015-02-04 21:34:56 +01:00
Lorenz Meier dc46736ead Merge ROS into master 2015-02-03 20:07:55 +01:00
Thomas Gubler 3e7faa6018 mpu6000: fix if style 2015-02-03 18:21:04 +01:00
Thomas Gubler 8ac05dc8b0 lsm303d: fix if style 2015-02-03 18:20:43 +01:00
Thomas Gubler a7126cc61d l3gd20: fix if style 2015-02-03 18:20:21 +01:00
Thomas Gubler 2252a9696d fix codestyle in sensors.cpp 2015-02-03 18:13:01 +01:00
Thomas Gubler f53aa5628e sensors: init accel and gyro with default rates 2015-02-03 18:13:01 +01:00
Thomas Gubler a4961092af mpu6000: check for default sample rate
Also check if input variable is 0 and fix indentation
2015-02-03 18:13:01 +01:00
Thomas Gubler dedba4307d lsm303d: check for default sample rate 2015-02-03 18:13:01 +01:00
Thomas Gubler 90b29efebf l3gd20: check for default sample rate 2015-02-03 18:13:01 +01:00
Thomas Gubler e2524b9aed drv_gyro: introduce default samplerate 2015-02-03 18:13:00 +01:00
Thomas Gubler 0e1832452f drv_accel: introduce default samplerate 2015-02-03 18:13:00 +01:00
Lorenz Meier b42b6c50d4 Improve Navigator output 2015-02-03 14:21:31 +01:00
Lorenz Meier 5a12688ebe Make mcu version header C++ safe 2015-02-03 08:55:16 +01:00
Lorenz Meier 9d0c74e8ec Preflight check: Use indexed sensor params 2015-02-03 08:55:16 +01:00
Lorenz Meier ed98dc1fdf Config app: Use indexed sensor names 2015-02-03 08:55:16 +01:00
Lorenz Meier 23e7823b51 sensors app: Use indexed param names 2015-02-03 08:55:16 +01:00
Lorenz Meier 19cd496157 Commander: Use indexed sensor names in calibration routines 2015-02-03 08:55:16 +01:00
Lorenz Meier d441d38677 Merged master into ros 2015-02-02 21:21:51 +01:00