Commit Graph

964 Commits

Author SHA1 Message Date
Lorenz Meier a1059c5657 Added missing GPS message fields 2012-11-12 23:10:12 +01:00
Lorenz Meier e52c7e3c4b Merge branch 'master' of github.com:PX4/Firmware 2012-11-12 21:08:57 +01:00
Lorenz Meier e9942e4af7 minor HIL related tweaks 2012-11-12 21:08:51 +01:00
Lorenz Meier 66e806754b Fixed GPS status detection 2012-11-12 17:36:17 +01:00
Lorenz Meier 2c12802f25 Fixed HIL compile warnings 2012-11-12 10:59:35 +01:00
Lorenz Meier 03d58e9b00 Merge branch 'master' of github.com:PX4/Firmware 2012-11-12 10:48:00 +01:00
px4dev dca3bce1ca Add a new performance counter for measuring periodic/interval events. 2012-11-12 01:35:51 -08:00
Lorenz Meier c57be7a7a7 Merge branch 'master' of github.com:PX4/Firmware 2012-11-12 08:38:39 +01:00
Julian Oes a8dfcaace2 Several fixes, hex flies, failsafe not really tested yet 2012-11-11 11:55:27 -08:00
Thomas Gubler 403874d313 change sign of elevator in mixer to match standard convention (positive --> more lift) 2012-11-11 17:55:05 +01:00
Thomas Gubler 60198e3a2d small code cleanup 2012-11-11 17:35:55 +01:00
Thomas Gubler 8edf02681b merge origin master into fw_control 2012-11-11 16:48:33 +01:00
Lorenz Meier 7d8d7a76b9 Fixed scalings for fixed wing and multirotors 2012-11-11 12:55:57 +01:00
Thomas Gubler 2b1e199b91 Merge branch 'hil_scaling' into fw_control 2012-11-10 20:03:17 +01:00
Thomas Gubler 3e6e7647c9 corrected hil scaling factors 2012-11-10 20:02:16 +01:00
Thomas Gubler bbfd31dd68 Merge branch 'master' of https://github.com/PX4/Firmware into fw_control 2012-11-10 19:14:50 +01:00
Lorenz Meier f8291711d3 Correct scaling for throttle 2012-11-10 19:10:57 +01:00
Thomas Gubler 596224883b Merge branch 'master' of https://github.com/PX4/Firmware into fw_control 2012-11-10 19:07:29 +01:00
Lorenz Meier fb022f40e5 Fixed zero offset in HIL 2012-11-10 19:06:58 +01:00
Thomas Gubler d3693ea993 Merge branch 'master' of https://github.com/PX4/Firmware into fw_control 2012-11-10 19:05:13 +01:00
Lorenz Meier 6adab3b319 Hack to detect the number of control inputs 2012-11-10 19:04:04 +01:00
Thomas Gubler 4fae74e4c1 Merge branch 'master' of https://github.com/PX4/Firmware into fw_control 2012-11-10 18:36:11 +01:00
Thomas Gubler e1cfa102a2 Merge branch 'master' of https://github.com/PX4/Firmware into fw_control 2012-11-10 18:35:58 +01:00
Lorenz Meier 92fe049f65 Sending correct actuator scaling 2012-11-10 18:35:53 +01:00
Thomas Gubler 12e6905834 merge origin/master 2012-11-10 18:35:46 +01:00
Lorenz Meier 13443e43bf Silenced attitude ekf if not getting sensor data in HIL mode 2012-11-10 18:32:42 +01:00
Lorenz Meier 596d20e2a3 Increased stack sizes, 1K is not enough when calling printf() from within app 2012-11-10 18:32:20 +01:00
Lorenz Meier d29c66b028 Code cleanup in mavlink app 2012-11-10 18:31:50 +01:00
Lorenz Meier 41629e0ddb Operational mixing and outputs in hil 2012-11-10 18:14:25 +01:00
Lorenz Meier ee5abb0745 Fixed the number of control inputs for simple mixer. Contributed by Thomas Gubler 2012-11-10 17:21:13 +01:00
Lorenz Meier b43f692d3a Correctly handling 8+ outputs, currently only first 8 supported 2012-11-10 17:07:17 +01:00
Lorenz Meier 84a0261278 Outputting mixed actuators instead of raw control output 2012-11-10 16:54:28 +01:00
Lorenz Meier e8eb887515 Added hil command to emulate PWM outputs 2012-11-10 16:52:06 +01:00
Lorenz Meier f08e99311f Better printing of baro test values 2012-11-10 16:51:38 +01:00
Lorenz Meier e99a684fd8 Removed debug ioctl output 2012-11-10 16:51:17 +01:00
Thomas Gubler 536ab4bce3 Merge branch 'master' of https://github.com/PX4/Firmware into fw_control 2012-11-10 15:22:42 +01:00
Lorenz Meier 90466afe05 Comments cleanup / polishing 2012-11-10 12:13:40 +01:00
Lorenz Meier 15f43b1acc improved ADC test, not yet stable 2012-11-10 12:13:15 +01:00
Lorenz Meier f0860ee8cb Merge branch 'master' of github.com:PX4/Firmware 2012-11-10 11:43:20 +01:00
Lorenz Meier 127ae32997 Completed sensors test, WIP on ADC test 2012-11-10 11:43:05 +01:00
Lorenz Meier 0baca3ee31 Better, platform independent failsafe handling 2012-11-09 16:30:00 +01:00
Lorenz Meier a866fb2f2c Disable failsafe until its actually tested 2012-11-09 16:20:23 +01:00
Lorenz Meier 754572f25a Merge branch 'master' of https://github.com/julianoes/Firmware into io 2012-11-09 16:07:05 +01:00
Lorenz Meier b48fc5362c Minor cleanup of leftover function definition 2012-11-09 16:05:14 +01:00
Lorenz Meier 50558d5cb7 Fixed indices in logger 2012-11-09 16:04:30 +01:00
Lorenz Meier 4338dd1e48 Merge branch 'master' of github.com:pixhawk/Firmware 2012-11-09 16:03:07 +01:00
Thomas Gubler 8768b7ddbf merge hil into fw_control 2012-11-08 19:17:03 +01:00
Thomas Gubler aaa13267b9 Merge branch 'master' of https://github.com/PX4/Firmware into fw_control 2012-11-08 19:11:56 +01:00
Lorenz Meier bb0c7450c8 Fixed mixer loading for FMU 2012-11-08 18:43:38 +01:00
Julian Oes 9f45770dc2 Merge branch 'master' of https://github.com/PX4/Firmware 2012-11-08 09:26:53 -08:00
Julian Oes 52143d6a68 Reverting commenting, that happened by accident 2012-11-08 09:26:37 -08:00
Julian Oes 6c3a340d6e Made param name shorter, don't know if it was needed 2012-11-08 09:25:42 -08:00
Lorenz Meier 9221addebd Added HIL/fake PWM out mode to be able to run a mixer against HIL 2012-11-08 18:15:23 +01:00
Lorenz Meier 2c32157e02 Merge branch 'master' of github.com:PX4/Firmware into hil 2012-11-08 18:14:20 +01:00
Lorenz Meier 0245d7be86 Removed outdated docs 2012-11-08 18:11:53 +01:00
Lorenz Meier 81afd23c6c Merge branch 'master' into hil 2012-11-08 18:11:16 +01:00
Lorenz Meier ce01aff241 Set mag scale to 1 as default 2012-11-08 18:11:03 +01:00
Lorenz Meier 35fae44527 Nulling controller parameters for additional safety 2012-11-08 18:10:03 +01:00
Lorenz Meier 1da7fc2549 Improved commandline handling 2012-11-08 18:09:13 +01:00
Julian Oes 0b5da8b599 Got rid of the control limitation at high throttle 2012-11-07 16:24:12 -08:00
Julian Oes 2b5f551838 Revert "Revert "Another take on Spektrum/DSM frame decoding, based on more careful examination of the relevant docs.""
This reverts commit 38b20f2a1a.
2012-11-07 14:56:03 -08:00
Lorenz Meier 1b322c7764 Fixed bug in HIL message handling, operational with actuator outputs now 2012-11-07 23:50:06 +01:00
Julian Oes 38b20f2a1a Revert "Another take on Spektrum/DSM frame decoding, based on more careful examination of the relevant docs."
This reverts commit ff3a014971.
2012-11-07 14:46:28 -08:00
Lorenz Meier 0f6ec03939 Merge branch 'master' of github.com:PX4/Firmware into hil 2012-11-07 21:56:04 +01:00
Julian Oes 25ed791b70 Forgot to comment 2012-11-07 10:56:25 -08:00
Julian Oes 5995240a07 Failsafe throttle when RC is lost is now a parameter 2012-11-07 10:50:52 -08:00
Julian Oes 9f92c6df67 Merge branch 'master' of https://github.com/PX4/Firmware 2012-11-07 10:24:49 -08:00
px4dev ff3a014971 Another take on Spektrum/DSM frame decoding, based on more careful examination of the relevant docs. 2012-11-07 02:47:01 -08:00
Julian Oes 74f7600602 Again some hacking to make arming/disarming work for now 2012-11-06 19:03:08 -08:00
Julian Oes 7da799d154 Scale control signals with thrust for low thrust 2012-11-06 19:02:01 -08:00
Julian Oes 08d6ade585 Some failsafe hack when RC signal is lost 2012-11-06 19:01:04 -08:00
Julian Oes e0e96c005a Corrected two small bugs considering arming and disarming 2012-11-06 18:57:42 -08:00
Lorenz Meier 88800b38f8 HIL testing / cleanup for fixed wing and multirotors 2012-11-07 00:08:04 +01:00
daregger 0ee48db90f add attitude + rotation Matrix to logging 2012-11-06 11:25:31 +01:00
Thomas Gubler b842957d87 Merge branch 'master' of https://github.com/PX4/Firmware into fw_control 2012-11-05 23:00:17 +01:00
Thomas Gubler 0eea4bfb4e fw control: minor cleanup (work in progress) 2012-11-05 22:51:41 +01:00
Lorenz Meier 7d76a8a57b Merge pull request #45 from thomasgubler/master_origin
re-adding pid limitation & mavlink waypoint handling fix
2012-11-05 13:15:35 -08:00
Lorenz Meier 976545861a Minor cleanup in position control skeleton 2012-11-05 22:13:55 +01:00
Thomas Gubler 59725ccd3a fixing mavlink waypoint handling 2012-11-05 21:53:21 +01:00
Thomas Gubler 808d897d28 fixing mavlink waypoint handling 2012-11-05 21:51:39 +01:00
Thomas Gubler 5344e89167 work in progress: line following working 2012-11-05 20:42:43 +01:00
Thomas Gubler be9b58e1b9 re-adding pid limitation 2012-11-05 20:22:00 +01:00
Thomas Gubler 572084f357 Merge branch 'master' of https://github.com/PX4/Firmware into fw_control 2012-11-05 17:56:10 +01:00
Lorenz Meier 706a7e4dd5 Merge branch 'master' of github.com:pixhawk/Firmware 2012-11-05 17:47:11 +01:00
daregger 801cf3af3e add tangent plane mapping to geo.c 2012-11-05 17:17:28 +01:00
Lorenz Meier e7f2c053c2 Quickly separated low-level raw RC from mapped / scaled RC, supports FMU PPM and IO PPM / Spektrum now 2012-11-05 16:04:45 +01:00
px4dev 39659e57f8 Add prototypical support for Spektrum satellite remotes to PX4IO. 2012-11-05 00:55:45 -08:00
px4dev 87fd9fcc06 Fix red/blue LED assignment. 2012-11-05 00:55:45 -08:00
Lorenz Meier ec43e7b7be Increased output rates at 115200 baud 2012-11-05 09:45:25 +01:00
px4dev 7fbad5adea Fix PWM channel zero output; pin configuration was being overwritten by USART2 setup. 2012-11-04 16:44:36 -08:00
px4dev 06e17eae5d Fix off-by-one reading PWM output values. Minor robustness tweaks. 2012-11-04 16:44:06 -08:00
px4dev 487597b385 Checkpoint; messages from FMU now make it to IO intact; fix HRT init timing, process more bytes from the serial port, add some simple packet counting. 2012-11-03 01:14:25 -07:00
px4dev b0da90b6db When starting the px4io driver, check that data is being received from the PX4IO board. 2012-11-03 01:14:25 -07:00
px4dev 37682f852f Clean up perf counters attached to an HX protocol stream. 2012-11-03 01:14:25 -07:00
px4dev f11cf48bb9 Attach the interrupt before powering on the HRT timer. 2012-11-03 01:14:25 -07:00
px4dev ccc7b13185 There are four relay channels (two are power switches) 2012-11-03 01:14:25 -07:00
px4dev 5af84e3b11 Check for transmit errors. 2012-11-03 01:14:24 -07:00
px4dev e36bd4b243 Fix transmit error reporting. 2012-11-03 01:14:24 -07:00
px4dev ad7db28929 Let's use poll. It's more friendlier. 2012-11-03 01:14:24 -07:00
px4dev ea539031da Cleanup and refactor of the PX4IO firmware and board support. Builds, not tested yet. 2012-11-03 01:14:24 -07:00
Lorenz Meier 82c4dbaaa8 param load / store cleanup, storage location selection now exclusively through dedicated "param select <path>" command 2012-11-02 15:21:37 +01:00
Lorenz Meier 55515f2e7e Merge branch 'master' of github.com:pixhawk/Firmware 2012-11-02 12:50:15 +01:00
Lorenz Meier a5193ba841 Merge branch 'master' of github.com:PX4/Firmware 2012-11-02 12:49:46 +01:00
Tobias Naegeli 80ac43e21d Fine tuning of manual control 2012-11-01 16:50:52 +01:00
Lorenz Meier 6af2ea9fbc Minor tweaks to offboard control reception 2012-11-01 10:51:55 +01:00
Lorenz Meier 5e1416178a Merged 2012-11-01 08:14:31 +01:00
Lorenz Meier 18dbdf0a54 Report mag status to system, sanity-check calibration 2012-11-01 08:11:55 +01:00
Lorenz Meier 4d6ac93aff Print selectively by name 2012-11-01 08:11:36 +01:00
Thomas Gubler 904efa8fa8 Merge branch 'master' of https://github.com/PX4/Firmware into fw_control 2012-10-31 21:07:01 +01:00
px4dev 8bfceef89c Remove the arbitrary limit on the path to the default parameter file. Add a verb to the param command to set the default parameter file. 2012-10-31 12:59:24 -07:00
Lorenz Meier 3c987d6368 Casting and fix default param path 2012-10-31 18:50:00 +01:00
Lorenz Meier fbdf30b7d4 Merge branch 'master' of github.com:PX4/Firmware 2012-10-31 17:09:11 +01:00
Lorenz Meier 0ddfd7c75c New param interface for microSD and EEPROM 2012-10-31 16:31:21 +01:00
Lorenz Meier 8dcde7f8cd prevent double-precision promotion where its not required 2012-10-31 15:49:01 +01:00
Lorenz Meier 939fc83c4a Fix compile warnings 2012-10-31 15:44:45 +01:00
Lorenz Meier 472010b10b Extended GPS struct with velocity vector 2012-10-31 12:59:14 +01:00
px4dev 34a3b260f3 Move the last of the board-specific code for PX4FMU out of the NuttX tree. Now it's just configuration. 2012-10-31 00:37:15 -07:00
px4dev b685d46dbf Clean out remains of the old EEPROM driver. 2012-10-30 20:51:45 -07:00
Lorenz Meier 137afdbd3c Remove excessive mem usage 2012-10-30 19:11:27 +01:00
Thomas Gubler ee1e98babb Merge branch 'master' of https://github.com/PX4/Firmware into fw_control 2012-10-30 18:30:35 +01:00
Thomas Gubler e716bd02ce Merge branch 'FW_control' of https://github.com/dougweibel/Firmware into fw_control 2012-10-30 18:29:31 +01:00
Lorenz Meier edd2715f84 reverted memory change, sdlog app needs more than 2K 2012-10-30 18:26:36 +01:00
Doug Weibel 18831db444 Work in process - beginning of navigation/position control implementation. Compiles, but has not been tested. 2012-10-30 11:01:56 -06:00
Lorenz Meier 56a0f14b34 Minor last tweaks 2012-10-30 17:57:26 +01:00
Lorenz Meier 12e1cf3710 Fixed error term calculation for yaw position 2012-10-30 17:38:26 +01:00
Lorenz Meier ab63a77edf Reducing stack sizes to free some RAM 2012-10-30 16:44:57 +01:00
Lorenz Meier 96dc901cae Fixed mag calibration 2012-10-30 16:44:16 +01:00
Lorenz Meier b1a83be611 Fixed extremely stupid copy-paste bug in mag scale loading 2012-10-30 11:32:23 +01:00
Lorenz Meier 4db0ec03ce Better yaw position control, but not quite there yet 2012-10-30 11:16:01 +01:00
Lorenz Meier 01932a2dc3 Merge branch 'master' of github.com:PX4/Firmware 2012-10-30 07:50:13 +01:00
Lorenz Meier fedf5470d6 Correctly initializing and updating yaw setpoint, sign still to be checked 2012-10-30 07:20:23 +01:00
px4dev 66da4395b4 Kill the old board info code. 2012-10-29 23:07:15 -07:00
px4dev 0616d58340 Add 'show' and 'test' verbs to the boardinfo command. Teach rcS how to use the new version. 2012-10-29 21:47:51 -07:00
px4dev 7203ba797e bson-based boardinfo working 2012-10-29 21:47:51 -07:00
px4dev 3420e7b828 Fix param handling of 32-bit BSON nodes 2012-10-29 21:47:51 -07:00
px4dev 4c18aced36 BSON coder unit tests, fixes arising from test failures. 2012-10-29 21:47:51 -07:00
px4dev 3d750bc38c Build fixes 2012-10-29 21:47:50 -07:00
px4dev c522b5446d Work in progress on to/from memory BSON coding. 2012-10-29 21:47:50 -07:00
px4dev 270a5d351f Warning fixes. 2012-10-29 21:47:37 -07:00
px4dev 9a85801cb0 Doxyheader fixes 2012-10-29 18:01:31 -07:00
Doug Weibel 09ec869ae9 Merge branch 'master' of https://github.com/PX4/Firmware into FW_control 2012-10-29 18:24:47 -06:00
Thomas Gubler 9ad9d62f34 Corrected some bugs, thanks to Doug for spotting them 2012-10-29 23:09:07 +01:00
Lorenz Meier 574eb96a2e Calibration improvement 2012-10-29 16:41:53 +01:00
Lorenz Meier c3c76ef3d5 Hardened the EEPROM attach routine for param storage 2012-10-29 09:44:59 +01:00
Thomas Gubler db8d369c55 added a very simple altitude controller for testing 2012-10-28 19:44:30 +01:00
Thomas Gubler b692c300d0 fw control: added Dougs horizontal navigation controller 2012-10-28 18:35:08 +01:00
Thomas Gubler 69e938aac3 moved elevator (-1) multipliction, ultimately this has to go into the mixer 2012-10-28 16:56:05 +01:00
Thomas Gubler 8fff4e19d6 roll compensation and default paramter values, pitch value has a sign error 2012-10-28 16:15:51 +01:00
Thomas Gubler 2f4cb6ca84 reverting my workaround in mavlink orb_listener so that the fix of Lorenz is active 2012-10-28 16:14:06 +01:00
Thomas Gubler 8d764170aa Merge remote-tracking branch 'origin/master' into fw_control 2012-10-28 15:27:13 +01:00