Commit Graph

706 Commits

Author SHA1 Message Date
philipoe 9a9efdaaa5 commander: Increase timeout on airspeed sensor for the prearm_check 2015-04-07 15:25:45 +02:00
Lorenz Meier 26ccac347d commander: Go only into armed error state if on low battery and disarmed 2015-04-04 10:18:40 +02:00
Lorenz Meier 64cdcfc0cc Fix detection of USB connected state. Needs bench test without USB 2015-04-04 10:15:46 +02:00
Don Gagne bb6b30f57a Report alternate side done 2015-04-03 19:51:58 -07:00
Lorenz Meier 17ee20a338 commander: Improve gyro cal 2015-03-28 16:44:26 -07:00
Lorenz Meier cb99467cde commander: Remove unnessary sleep 2015-03-28 14:00:17 -07:00
Lorenz Meier 8ebf9755e4 commander: Fix battery config 2015-03-28 13:54:05 -07:00
Don Gagne 48e88ec551 Set CAL_MAG_ID correctly 2015-03-28 13:09:07 -07:00
Don Gagne d88916d20e New mag cal changes
- Use new calibrate_from_orientation worker routine to detect
orientaions
- Calibrate all mags at once
- Change to 3-side calibration mechanism
2015-03-28 13:09:07 -07:00
Don Gagne 716fb561aa Include sensor number 2015-03-28 13:09:07 -07:00
Don Gagne 9d61e3a7db Use new calibrate_from_orientation api 2015-03-28 13:09:07 -07:00
Don Gagne fdc053e883 Add sensor number to messages 2015-03-28 13:09:07 -07:00
Don Gagne eff3d9d713 New worker routines for orientation detection 2015-03-28 13:09:07 -07:00
Lorenz Meier a098ca4ec6 Move autosave into the 1-second timeout check. 2015-03-28 13:07:01 -07:00
Lorenz Meier f8fd67d3e1 Auto-save parameters on change 2015-03-28 13:07:01 -07:00
Daniel Agar 8aae66b893 trivial code style cleanup round 2 2015-03-27 23:38:58 -04:00
Daniel Agar c2abb0f82a fix code style if trivial one line difference 2015-03-19 23:49:36 +01:00
dogmaphobic b78a021fb9 Adding a few missing units to the Battery Calibration group. 2015-03-19 12:07:15 -04:00
Lorenz Meier ad54ff616d commander: Increase frame size limit 2015-03-15 17:24:50 +01:00
Lorenz Meier 904fc9b21c commander: Improve gyro calibration 2015-03-15 17:24:29 +01:00
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