Commit Graph

686 Commits

Author SHA1 Message Date
Lorenz Meier 37de377dcf commander: Increase stack size for low prio task to accomodate accel cal. 2015-03-15 17:24:11 +01:00
Lorenz Meier 1e54dc4409 commander: Accel calibration: Reduce memory footprint, be more responsive 2015-03-15 17:23:48 +01:00
Lorenz Meier 2bddaa9573 commander: Mag calibration: Use c++ syntax for array initialization 2015-03-15 14:33:57 +01:00
Lorenz Meier 49b3906b78 commander: Fix status checks for leds and adjust stack size based on actual use 2015-03-15 14:33:22 +01:00
Lorenz Meier 9db48df3d6 Slightly increase commander stack size to accomodate any additional printf calls 2015-03-15 12:03:27 +01:00
Andreas Antener e566cff28b ignore mount commands in commander 2015-03-13 10:20:06 +01:00
Lorenz Meier 7d87da700c commander: Adjust stack size to real use 2015-03-08 08:13:39 +01:00
Lorenz Meier d8b64a05d7 Merge pull request #1873 from Zefz/ekf-dead-reckoning-fix
AttPosEKF dead reckoning fix
2015-03-07 12:07:28 +01:00
Lorenz Meier 1d90e86ec4 Commander and MAVLink: Adjust stack sizes as required 2015-03-03 17:29:49 +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
Lorenz Meier dc67834222 Mag cal: Add 100% message 2015-03-01 19:04:14 +01:00
Lorenz Meier 243d2bc454 commander: Shorten mag cal interval 2015-03-01 18:32:08 +01:00
Lorenz Meier f9e525bbab commander: Do not allocate excessive stack 2015-03-01 18:32:07 +01:00
Lorenz Meier 030348eddd commander: Improve status feedback to make status parsing simpler in UI 2015-03-01 18:10:14 +01:00
Matt Beall 220fb19eb7 Removed actuator_control_mode flags...Using pre-existing flags instead 2015-02-28 15:19:16 +01:00
Matt Beall d7dc3a3ee8 Cleaned up some chunky code 2015-02-28 15:19:16 +01:00
Matt Beall e2de72b882 Added offboard actuator controls flags to offboard control mode and vehicle control mode to disable controls in att_control apps 2015-02-28 15:19:16 +01:00
Thomas Gubler 2b2f7e9407 introduce offboard control mode topic
Replace offboard_control_setpoint with offboard_control_mode
Remove all setpoint data from the topic as it's  not used anymore
(setpoint data is directly routed into position/attitude setpoint topics
for some time now)
Remove mode enum and replace with ignore booleans which map better to
the mavlink message
Mavlink: Rework parsing of offboard setpoints
Commander: in offboard mode set control flags based on ignore flags
instead of enum
2015-02-28 15:19:15 +01:00
Lorenz Meier e4830eb53f mag detection (sensors / commander): Default all sensors to internal, set the ones which have been found explicitely to zero if they were -1. 2015-02-28 04:01:10 +01:00
Johan Jansen 76901c6414 AttPosEKF: Moved data collection to separate function 2015-02-12 11:49:45 +01:00
Johan Jansen dc522f217f Commander: Fix GPS loss not handled properly 2015-02-11 16:42:01 +01:00
Lorenz Meier 06b582f11e Accel calibration: Ensure GCC 4.7 compliance 2015-02-09 23:26:38 +01:00
Lorenz Meier 3079b5560f commander: Mag calibration provides feedback on console as well 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 807cf7bd16 Commander: Implement calibration routines for multi-sensor setups 2015-02-09 22:56:23 +01:00
Lorenz Meier dc46736ead Merge ROS into master 2015-02-03 20:07:55 +01:00
Lorenz Meier 19cd496157 Commander: Use indexed sensor names in calibration routines 2015-02-03 08:55:16 +01:00
Thomas Gubler 84ff3c671d Merge remote-tracking branch 'upstream/master' into ros_messagelayer_merge2_attctrl_posctrl
Conflicts:
	src/drivers/px4fmu/fmu.cpp
2015-02-01 11:06:47 +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
Lorenz Meier 7f299ea0cc Move commander to multi pub/sub API 2015-01-29 16:33:53 +01:00
Lorenz Meier 801e9ed4fb Commander: move sensor interface for mag to new multi-sub 2015-01-29 16:33:52 +01:00
Thomas Gubler 8e7974e2e2 fix uorb constants for test functions 2015-01-28 16:32:47 +01:00
Thomas Gubler 2d124852c1 propagate uorb contants change through all modules/drivers 2015-01-28 16:31:41 +01:00
Thomas Gubler 14aa5f9441 add topic header includes 2015-01-25 15:00:35 +01:00
Lorenz Meier 859b345314 Mag cal: Make error handling more explicit 2015-01-21 08:58:47 +01:00
Simon Wilks b8b0d1d4ae Remove a noisy debugging statement. 2015-01-20 22:28:58 +01:00
Lorenz Meier 7d13318df8 Fix coverity CID 12451 2015-01-19 13:22:44 +01:00
Lorenz Meier 9dbcea4b1f Merge branch 'land_detector' 2015-01-17 23:32:14 +01:00
hauptmech e18e5ca5b5 Add SENS_MAG_ID parameter
Record devid to SENS_MAG_ID during mag calibration
Verify devid matches SENS_MAG_ID during preflight_check
2015-01-17 18:41:43 +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 28adc88500 Commander: Subscribe and use land detector 2015-01-15 14:37:51 +01:00
Johan Jansen ddf65bae04 Commander: Play tune on disarm and when safety switch is toggled 2015-01-15 11:09:31 +01:00
Lorenz Meier 1507d479e0 commander: Refresh safety tests to avoid false positives in unit tests. 2015-01-10 19:50:44 +01:00
Lorenz Meier bb1e082781 Commander: be less chatty 2015-01-09 09:09:24 +01:00
tumbili 72eafad510 introduced vtol_fw_permanent stabilization: allows vtol to be attitude-stabilized in manual mode 2014-12-31 16:40:16 +01:00