Commit Graph

1798 Commits

Author SHA1 Message Date
Lorenz Meier a817dedf11 Fixed bug in MAVLink HIL interface, now consistent with in-flight results in the field 2013-04-22 14:39:49 +02:00
Lorenz Meier 82d2ab677e Fixes to MAVLink HIL 2013-04-22 13:47:45 +02:00
Lorenz Meier 9d6d41dceb Merge branch 'master' of github.com:PX4/Firmware into position_estimator_mc 2013-04-22 13:08:43 +02:00
Lorenz Meier edc8e9aa5d Small compile warning fix for HoTT test 2013-04-21 13:43:28 +02:00
marco 59573e5b69 BLCtrl 2.0 testing - currently only 8 Bit resolution - this should fly 2013-04-17 19:46:01 +02:00
Lorenz Meier 3bba1ea71c Merge branch 'master' of github.com:PX4/Firmware into position_estimator_mc 2013-04-14 13:02:23 +02:00
Julian Oes 8c70f4412d Fixed axis in L3GD20 driver 2013-04-08 23:29:24 -07:00
Lorenz Meier a1c8d19c34 Added generation of pressure altitude in highres IMU message mode 2013-04-07 18:43:19 +02:00
Lorenz Meier 5eeb7f0d77 Merge branch 'master' of github.com:PX4/Firmware into hil 2013-04-06 13:02:45 +02:00
px4dev 8224adf52a Should never have been here. 2013-03-31 15:46:17 -07:00
px4dev b1da855548 Merge branch 'master' into export-build 2013-03-31 15:16:07 -07:00
Lorenz Meier 9dbd2695d3 Hotfix missing yaw deadzone default (leads to continuous turns since zero speed is never commanded) 2013-03-28 12:48:28 +01:00
Lorenz Meier 6eba7a9e41 Fix gyro measurement noise variance 2013-03-28 12:47:47 +01:00
Lorenz Meier 6fb2496c49 Improved HIL startup script, added highres HIL receive routine 2013-03-24 18:38:40 +01:00
Lorenz Meier 482cada59b Butchered position estimator from Damian Aregger into shape, publishes now global position estimate as well. Compiling, needs HIL testing 2013-03-23 22:39:54 +01:00
Lorenz Meier 0dc96dbd89 Merge pull request #234 from PX4/seatbelt
Seatbelt for fixed wing
2013-03-23 08:24:41 -07:00
px4dev 4c448a5be0 Merge branch 'master' into export-build 2013-03-21 23:41:43 -07:00
Lorenz Meier 70a85739cc Added startup scripts useful when running USB consoles, made MAVLink aware that /dev/console is a hint for running on USB (magic strings, magic strings) 2013-03-21 10:14:34 +01:00
Lorenz Meier bee896786a Hotfix: Apply same (correc) deadzone logic from IO fix to FMU as well 2013-03-21 07:59:44 +01:00
Lorenz Meier 99054e76fb Merge pull request #235 from sjwilks/io-twitch
Stop the servo suddenly jumping when it goes out of the deadzone in one direction
2013-03-20 23:59:03 -07:00
px4dev db91dffb23 Merge branch 'master' into export-build 2013-03-20 23:05:19 -07:00
Simon Wilks f1d8aa57ce Ensure that numerator / demoninator <= 1. 2013-03-21 01:12:01 +01:00
px4dev b7d65bf8fc HOTFIX: correct some logic errors with SPI chipselect generation.
Tested by Tridge.
2013-03-19 21:03:27 -07:00
Lorenz Meier f43a74c6ca Merge branch 'seatbelt_controllib' of https://github.com/jgoppert/Firmware into seatbelt 2013-03-19 23:20:06 +01:00
jgoppert 8025a54d77 Added pressure alt measurement to kalman demo. 2013-03-18 16:44:53 -04:00
jgoppert b9e53b4ab4 Fixed a comment. 2013-03-18 16:22:50 -04:00
jgoppert 9c9873bcc1 Fixed PID roc2Thr param names/ added them to controldemo. 2013-03-18 16:18:58 -04:00
jgoppert 90f9b154eb Flipped simple mode pitch/throttle channel input. 2013-03-18 15:18:08 -04:00
jgoppert 3c6fbeb1a0 Added seatbelt fixedwing controller. 2013-03-18 15:09:15 -04:00
Lorenz Meier 9849d22e4f Added MAVLink-transmitted calibration warning about bad sensor calibration as part of preflight check 2013-03-18 11:05:38 +01:00
Lorenz Meier cd702cef89 Merge pull request #230 from PX4/pwm-syntax-fix
Adjust the syntax of the 'pwm' command to make it easier to use.
2013-03-17 23:47:51 -07:00
px4dev 60eca61e41 HOTFIX: Adjust the FMU update rate adaption logic to avoid constant debug message spew when not in a PWM mode.
Fixes #229
2013-03-17 15:54:19 -07:00
Lorenz Meier 26d45d5e34 Silence MS5611 driver, the perf command still captures the error count / rate. Unfortunately this is necessary as general users are concerned about something that is (at a reasonable rate) not actual safety critical. 2013-03-17 22:49:16 +01:00
px4dev 6e71466aee Adjust the syntax of the 'pwm' command to make it easier to use. 2013-03-17 12:29:18 -07:00
px4dev 8d47b3c6d4 Merge pull request #220 from PX4/tone_alarm_PLAY
New tone_alarm driver that uses ANSI music / GWBasic PLAY strings
2013-03-17 10:39:01 -07:00
px4dev 8fe14fdfdb Silence the tone for pauses in legato tunes. Some tunes sound better now.
Add new, distinctive error/notification tones.

Reduce the amount of data space consumed by the largest tune.
2013-03-17 10:38:18 -07:00
px4dev cd207705d5 Adjust audio pattern numbers. 2013-03-17 10:36:48 -07:00
px4dev da529bb83b Fix a typo in several of the basic alarm beep tones. 2013-03-17 10:07:42 -07:00
Lorenz Meier 002fb1b4ea Merge pull request #225 from PX4/sign_fix
Fix signs for fixed wing control
2013-03-17 03:16:55 -07:00
Lorenz Meier 0ee5293ceb Merge pull request #222 from PX4/trim_calibration
Fixed wing controller uses global trim values
2013-03-17 03:03:58 -07:00
Lorenz Meier 1ae4edab22 Merge pull request #224 from PX4/pwm-multirate
Pwm multirate
2013-03-17 02:49:18 -07:00
Lorenz Meier a0afed400f Fix signs for fixed wing control, issue resulted from consistently flipped pitch response for IO and FMU 2013-03-16 23:41:24 +01:00
Lorenz Meier 1b16387a99 Merge pull request #221 from PX4/const-sweep
Mark a number of things (most particularly the ROMFS) const to save RAM
2013-03-16 14:58:59 -07:00
Julian Oes b5b460e7ca IO board now disarms when FMU reboots when manual override is not an option 2013-03-15 15:24:52 -07:00
Lorenz Meier 494bcddaa4 Merge branch 'master' of github.com:PX4/Firmware into trim_calibration 2013-03-15 22:14:52 +01:00
Lorenz Meier 37c1f30598 Fixed typo 2013-03-15 19:58:20 +01:00
Lorenz Meier 7e4d6133ae Make communication rate between IO and FMU configurable 2013-03-15 19:19:52 +01:00
Lorenz Meier 688ec090e8 Moved trim for fixed wing to standard trim values, can now be calibrated via RC 2013-03-14 22:43:45 +01:00
px4dev 7011fe563b Move PWM rate configuration, etc. into a separate utility and out of the individual drivers. 2013-03-12 22:22:50 -07:00
px4dev 57429fd12c Convert HIL and FMU drivers to the new multirate PWM interface. 2013-03-12 22:22:49 -07:00
px4dev 6cf0758b24 Changes for multi-rate PWM output; default and alternate rates. ioctl protocol, PX4IO support. 2013-03-12 22:22:49 -07:00
Lorenz Meier 6b947a67d0 Merge branch 'master' of github.com:PX4/Firmware 2013-03-11 21:46:26 +01:00
Lorenz Meier 424923271e Hotfix: Throttle scaling in HIL 2013-03-11 21:46:16 +01:00
px4dev de078b4525 Move the bson sample data out of the BSS, saves 256 bytes of RAM 2013-03-10 14:59:38 -07:00
Lorenz Meier 9a1a3ddaa1 Moved filter states to stack RAM space 2013-03-10 22:21:39 +01:00
px4dev f81d514dbd Const a small array. 2013-03-10 14:13:33 -07:00
px4dev cac392140f const the listener array, saves a little RAM. 2013-03-10 14:13:13 -07:00
Lorenz Meier 1d444f80a3 Fixed comment 2013-03-10 22:01:13 +01:00
px4dev 157b54ab4a Script name pointer array can be const. Fix a couple of lint errors while I'm here. 2013-03-10 13:46:55 -07:00
px4dev 4bc2ea744e more constness 2013-03-10 12:56:52 -07:00
px4dev 18d9956876 One more tune. Might be a bit big to keep. 2013-03-10 12:36:59 -07:00
px4dev 32e67883e8 Add one more tune. Improve error handling. Be less picky about tunes passed on the command-line. 2013-03-10 12:14:09 -07:00
px4dev 02fc6812d4 Add support for arbitrary user tunes on the commandline. 2013-03-10 00:29:19 -08:00
px4dev 0d9d009961 New tone_alarm driver, now features GWBasic PLAY / ANSI music string format 2013-03-10 00:05:16 -08:00
Lorenz Meier c720a32380 Hotfix: Correct channel order in HIL 2013-03-10 01:00:16 +01:00
Lorenz Meier 921ef9178d Hotfix: Correctly publish servo outputs 2013-03-10 00:16:55 +01:00
Simon Wilks a8a74fda96 Invert aileron actuator for correct aileron response in auto 2013-03-09 22:11:31 +01:00
Lorenz Meier 802d0ae2fa Made dtors virtual, tested on IO and FMU 2013-03-09 21:07:29 +01:00
Lorenz Meier 5baea153e7 Merge branch 'master' of github.com:PX4/Firmware into px4io-i2c 2013-03-09 13:22:32 +01:00
Lorenz Meier e7df439ea1 Hotfix: Extend GPS lost timeout by a small delta to prevent timeout aliasing, GPS app does not report any more losses 2013-03-09 13:21:57 +01:00
Lorenz Meier 74bcf29c69 Refactored debug level into proper register, px4io status now correctly reads it. Added more of the missing alarms clear logic, alarms reporting now consistent. Adding missing sign change on mode switch, fixes override issue when attempting to switch to auto mode. Pending outdoor tests 2013-03-09 13:20:05 +01:00
Lorenz Meier 5335de4cc7 Merge branch 'px4io-i2c' of github.com:PX4/Firmware into px4io-i2c 2013-03-09 12:55:12 +01:00
Thomas Gubler 4b26d7aef4 adding missing include 2013-03-09 12:28:30 +01:00
Lorenz Meier 11cb9df05b After the mb12xx driver was merged way too early, make the best out of it and fix up the init phase to the driver bails out if there is no sensor connected 2013-03-09 11:20:06 +01:00
Lorenz Meier c9775d7455 Merge branch 'px4io-i2c' of github.com:PX4/Firmware into px4io-i2c 2013-03-09 11:03:38 +01:00
Lorenz Meier cc628fbc27 Add missing mixer ok check in override mode, clear FMU lost alarm when setting FMU_OK flag, print AP RX timeout in production mode as well 2013-03-09 11:03:06 +01:00
Lorenz Meier 7c8942f46c Merge branch 'master' of github.com:PX4/Firmware into px4io-i2c 2013-03-09 10:47:37 +01:00
Lorenz Meier 35790e673b Merge pull request #214 from ghulands/sonar
Maxbotix I2C Sonar Support
2013-03-08 13:17:57 -08:00
Lorenz Meier e8e52afcc4 Added minimum set of IO MAVLink text messages, report critical errors such as in-air restarts 2013-03-07 20:51:33 +01:00
Lorenz Meier ebac51cad8 Working on restart resilience, hunting down multi-load mixer issue (still present) 2013-03-07 19:47:43 +01:00
Lorenz Meier a493824850 Fixed wrong comment 2013-03-07 18:06:20 +01:00
Lorenz Meier ff5ca82c75 Fixed throttle scaling issue, harmonized FMU and IO RC scaling code 2013-03-07 11:45:23 +01:00
Lorenz Meier c993ba5bbc Fixed minor scaling issue, throttle range still half 2013-03-07 10:27:55 +01:00
Lorenz Meier 5ab8ea9226 Merge branch 'px4io-i2c-throttle' of github.com:PX4/Firmware into px4io-i2c-throttle 2013-03-07 09:53:37 +01:00
Lorenz Meier 4050a05de7 Merge branch 'px4io-i2c-throttle' of https://github.com/sjwilks/Firmware into px4io-i2c-throttle 2013-03-07 09:49:45 +01:00
Lorenz Meier 4797c192be Fixed RC calibration scaling / assignment 2013-03-07 09:49:12 +01:00
Simon Wilks 1c793848e0 Merge remote-tracking branch 'origin/px4io-i2c-throttle' into px4io-i2c-throttle 2013-03-07 01:48:41 +01:00
Simon Wilks 8f5dac3740 Let's just init the status flag every time we send a config update 2013-03-07 01:47:02 +01:00
Simon Wilks 8d1f80a9e8 Fix how we check for rc config init status 2013-03-07 01:03:38 +01:00
Simon Wilks 5c12b6a911 Request result of rc config upload from IO 2013-03-06 22:52:19 +01:00
Lorenz Meier 84f9599cb3 Merge branch 'px4io-i2c' of github.com:PX4/Firmware into px4io-i2c-throttle 2013-03-06 22:36:53 +01:00
Simon Wilks ae98836db8 Correct RC config sanity checking and report back when RC config errors occur. 2013-03-06 20:37:01 +01:00
px4dev b526bab174 Remove extra spaces from mixers before processing them. This gives us some more working space on IO for mixer processing. 2013-03-04 21:46:55 -08:00
Thomas Gubler c149361f15 scale the saved adc values to get voltage 2013-03-04 14:21:49 +01:00
Thomas Gubler e27481826c write adc values to sensors combined and log them 2013-03-03 23:56:11 +01:00
Greg Hulands 160ac722be Fix white space 2013-03-01 10:16:04 -08:00
Greg Hulands d1e41f2c48 Missed the accel reference here 2013-03-01 10:14:11 -08:00
Greg Hulands 349af372d0 Changes from pull request feedback 2013-03-01 10:03:40 -08:00
Greg Hulands 6eca4ba462 Maxbotix I2C Sonar Support 2013-03-01 09:20:00 -08:00
Lorenz Meier 72a8ba074e Merge branch 'master' of github.com:PX4/Firmware into px4io-i2c 2013-03-01 16:07:11 +01:00