Commit Graph

59 Commits

Author SHA1 Message Date
tumbili afb01e6d9a fix level horizon feature:
allow attitude to settle for a while if changes to the board rotation
parameters are done
2016-01-20 13:46:50 +01:00
Lorenz Meier e525ab3b73 Commander: Fix accel cal duration 2015-12-21 13:44:51 +01:00
Lorenz Meier 53ff04e016 Commander: Finish preflight update for prime sensor IDs 2015-10-14 19:35:12 +02:00
Lorenz Meier e5bb1cff91 Store primary sensor ID to allow cross-check of calibration on next boot 2015-10-14 19:35:12 +02:00
Lorenz Meier ea7ae7d019 Merged beta into master 2015-08-01 16:58:02 +02:00
Lorenz Meier 32b9354783 Accel calibration: Show better error message if cal fails 2015-07-31 15:36:13 +02:00
Lorenz Meier 9cf1b4ba7a Merge branch 'release_v1.0.0' 2015-05-22 07:24:57 +02:00
Lorenz Meier 323759bb52 commander: Fix error checking and handling of level routine 2015-05-21 22:06:54 +02:00
Lorenz Meier 2903ceaacc Merge branch 'release_v1.0.0' 2015-05-20 09:00:57 +02:00
Roman Bapst e7a522edbc reset board rotation offset params if level calibration failed 2015-05-20 08:50:26 +02:00
Mark Charlebois f44444b7c4 POSIX: Converted poll to px4_poll
A new poll command was added in accelerometer_calibration.cpp
that needed to be converted to a px4_poll.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-19 12:06:58 -07:00
Lorenz Meier d906fb8f31 Merged master into linux 2015-05-19 21:00:02 +02:00
Roman Bapst 12c6dc8ad8 added routine for autopilot level calibration 2015-05-19 14:20:00 +02:00
Mark Charlebois 3a65187303 Fixed bad merge
Forgot to remove old file line when merging the changes from master.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-06 16:00:00 -07:00
Mark Charlebois db52227409 Merge remote-tracking branch 'upstream/master' into linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>

Conflicts:
	src/modules/commander/accelerometer_calibration.cpp
2015-05-06 15:51:39 -07:00
Mark Charlebois 0cea93a55c POSIX and QuRT: fixed calls needing px4_ prefix
There were some missed calls to open and ioctl that need to be
px4_open and px4_ioctl.

QuRT also does not provide usleep() so px4_time.h has to be included
in files calling usleep.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-05 12:13:39 -07:00
Roman Bapst 0217e2ed56 fix accel calibration: rotate sensor values into board frame 2015-05-05 18:41:50 +02:00
Mark Charlebois 190814bc97 Merge remote-tracking branch 'upstream/master' into linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>

Conflicts:
	src/drivers/rgbled/rgbled.cpp
	src/modules/commander/PreflightCheck.cpp
	src/modules/commander/airspeed_calibration.cpp
	src/modules/commander/calibration_routines.cpp
	src/modules/commander/gyro_calibration.cpp
	src/modules/commander/mag_calibration.cpp
	src/modules/mc_att_control/mc_att_control_main.cpp
2015-04-28 11:48:26 -07:00
Lorenz Meier 362672ece8 commander: Fix calibration feedback so that QGC picks up all error conditions 2015-04-26 17:33:45 +02:00
Don Gagne a7f88d97b8 Sensor cal rework
- cancel support
- versioned cal messages
- better still detection
- better messaging
2015-04-26 14:34:19 +02:00
Mark Charlebois c802beb3d7 QuRT and POSIX changes - part 3
More staged changes to support QuRT and related POSIX changes

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-24 01:13:08 -07:00
Mark Charlebois 694427e4ba Converted commander to use px4_posix calls
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:37:50 -07:00
Lorenz Meier cb99467cde commander: Remove unnessary sleep 2015-03-28 14:00:17 -07:00
Don Gagne 9d61e3a7db Use new calibrate_from_orientation api 2015-03-28 13:09:07 -07:00
Lorenz Meier 1e54dc4409 commander: Accel calibration: Reduce memory footprint, be more responsive 2015-03-15 17:23:48 +01:00
Lorenz Meier 030348eddd commander: Improve status feedback to make status parsing simpler in UI 2015-03-01 18:10:14 +01:00
Lorenz Meier 06b582f11e Accel calibration: Ensure GCC 4.7 compliance 2015-02-09 23:26:38 +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 807cf7bd16 Commander: Implement calibration routines for multi-sensor setups 2015-02-09 22:56:23 +01:00
Lorenz Meier 19cd496157 Commander: Use indexed sensor names in calibration routines 2015-02-03 08:55:16 +01:00
hauptmech 0b784c20c8 Save and check device id for acc and gyro calibration parameters.
Fix config utility to work with all devices of each type.
Accel, gyro and mag devices correctly set their device_id devtype.
Combo devices (mpu6000 lsm303d) now correctly return their devtype.
config util shows device id for all sensor types.
Add, save during calibration and check during preflight ID parameters for accelerometer and gyro
2015-01-31 15:53:34 +01:00
Andreas Antener 45c52b51ee move natural position to the front of the pending list for QGC 2014-12-02 01:42:12 +01:00
Andreas Antener b1bd813978 swap fron/back > the "side" being measured is facing downwards 2014-12-02 01:37:54 +01:00
Andreas Antener 3ce7abe9d8 use consistent orientation naming in messages 2014-12-02 01:01:35 +01:00
Lorenz Meier b51c669344 Commander: Improve calibration routines to produce more conscise and better sequenced instructions 2014-11-02 21:24:50 +01:00
Lorenz Meier 716e20fab6 Fix accel cal docs. 2014-07-13 11:39:13 +02:00
Lorenz Meier 3f6851b987 Re-send the RC config warnings once the GCS is connected, fixed compile warnings 2014-06-30 12:19:08 +02:00
Don Gagne 92adbe9216 Fix compiler warnings 2014-06-29 17:47:24 -07:00
Anton Babushkin 349809f535 sensors, commander: code style fixed 2014-05-11 13:36:51 +02:00
Anton Babushkin 855944fb2e commander: beeps and blinks cleanup 2014-02-11 16:35:05 +01:00
Anton Babushkin ba612c3ee8 mathlib fixes 2013-12-19 14:10:25 +04:00
Anton Babushkin 495073935e accelerometer_calibration: stability fix 2013-10-21 23:33:01 +02:00
Anton Babushkin ef42ef15c6 accel/gyro/mag calibration: big cleanup, use common messages 2013-10-21 22:24:59 +02:00
Anton Babushkin ea89f23c91 calibration: bugs fixed, mavlink messages cleanup 2013-10-21 20:07:47 +02:00
Anton Babushkin 0dc9c9ac26 accelerometer_calibration: code style fixed, lib/conversion copyright fix 2013-10-20 23:28:09 +02:00
Anton Babushkin b75c8e672f accelerometer calibration fix 2013-10-20 23:16:23 +02:00
Anton Babushkin ef6f1f6f80 get_rot_matrix() moved to separate library, accel calibration of rotated board fixed 2013-10-20 19:36:42 +02:00
Lorenz Meier 2d83c6f825 Closing all opened file descriptors, fixed param save issue, tests clean 2013-09-01 12:47:10 +02:00
Lorenz Meier 33c7342909 Minor fixes for calibration, UI language much more readable now 2013-08-27 10:36:43 +02:00