Commit Graph

792 Commits

Author SHA1 Message Date
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
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
Lorenz Meier edd2715f84 reverted memory change, sdlog app needs more than 2K 2012-10-30 18:26:36 +01: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
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
Lorenz Meier 1a70b2f4ed Added missing event type 2012-10-28 15:04:51 +01:00
px4dev 98791bc674 Remove reboot() API, replace with a prototype for up_systemreset() which is portable. 2012-10-27 22:42:43 -07:00
px4dev 22b0add293 Turn off C++ constructor debug messages. 2012-10-27 21:51:18 -07:00
px4dev f04c522f4f Get us a bit closer to having c++ static constructors working. 2012-10-27 21:42:27 -07:00
px4dev 9184753f17 Remove an annoying message. 2012-10-27 11:38:14 -07:00
px4dev 0272fc49aa Build fix due to missing include. 2012-10-27 11:37:11 -07:00
px4dev 6cec7f131e Minor board.h changes. 2012-10-27 11:34:20 -07:00
px4dev 5135e5308b Hoist the GPIO driver out and integrate it with the px4fmu driver. Move these pieces into the drivers tree. 2012-10-27 01:39:10 -07:00
Lorenz Meier faa4033f7e More compile fixes 2012-10-26 13:01:34 +02:00
Lorenz Meier e5fd37f719 Build fix after cleanup 2012-10-26 12:48:00 +02:00
Lorenz Meier 67e4584407 Deleted old cruft 2012-10-26 12:45:07 +02:00
Lorenz Meier 5f01688490 Fixed automatic log conversion / plotting script 2012-10-25 18:53:03 +02:00
Lorenz Meier c71f2ea204 Proper attitude initialization, finite check on attitude outputs 2012-10-25 16:29:17 +02:00
Lorenz Meier 569938e680 Copying log analysis file directly to the SD card during logging 2012-10-25 15:47:14 +02:00
Lorenz Meier 8e4c45322e Final GPS state, not nice, but working 2012-10-25 13:23:28 +02:00
Lorenz Meier 2b9cf08dc2 GPS tested and working 2012-10-25 13:07:26 +02:00
Lorenz Meier 4d03d020af Merge branch 'master' of github.com:PX4/Firmware into gps 2012-10-24 10:39:27 +02:00
px4dev 1065118ebc Separate config from implementation for the STM32 pwm servo driver. 2012-10-24 00:55:37 -07:00
px4dev 2fc1032069 Major formatting/whitespace cleanup 2012-10-23 23:51:13 -07:00
px4dev 34f99c7dca Hoist the ADC and CAN board-specific pieces. 2012-10-23 23:51:13 -07:00
px4dev db044b64cd Hoist the oard-specific USB pieces. 2012-10-23 23:51:13 -07:00
px4dev 7b4118a5e7 Hoist SPI functions. 2012-10-23 23:51:13 -07:00
px4dev 4c82f7a1af Cleanup after moving the low-level PWM code. 2012-10-23 23:51:13 -07:00
px4dev eaf91f05bd Fix a filename 2012-10-23 23:51:13 -07:00
px4dev 3d79b9a0b0 Tease the PWM driver out and fix some build issues after cleaning up behind the cpuload pieces. 2012-10-23 23:51:13 -07:00
px4dev c3fe915b44 Checkpoint - moving things out of the NuttX configs/*/src directories 2012-10-23 23:51:12 -07:00
Lorenz Meier 18c009d2c1 Better U-Blox struct packing 2012-10-23 13:16:17 +02:00
Lorenz Meier d7d373f465 System state updates 2012-10-23 13:15:36 +02:00
Lorenz Meier a24e50b931 Merge branch 'master' of github.com:PX4/Firmware 2012-10-23 10:59:01 +02:00
Lorenz Meier f13c7821d9 Fixed mavlink app termination, terminates now cleanly 2012-10-23 10:58:47 +02:00
px4dev 0afeeb5dd8 Move the PX4IO driver into the drivers folder. 2012-10-22 21:39:55 -07:00
Lorenz Meier 3f240a70ba mavlink cleanup, drop rate estimation is finally correct 2012-10-22 23:04:11 +02:00
Lorenz Meier ea36154e39 Accomodating for offboard control setups 2012-10-22 16:08:48 +02:00
Lorenz Meier 64c5096c9f Merged with fixed-wing stabilization work, multirotor control tested 2012-10-22 14:42:50 +02:00
Lorenz Meier 9e8a02b928 Switched to a more convenient audio tune 2012-10-22 13:58:13 +02:00
Lorenz Meier 3a26708203 Resolved wrong TX drop display 2012-10-22 13:28:53 +02:00
Lorenz Meier 3932bad137 Merge branch 'master' of github.com:PX4/Firmware into calibration 2012-10-22 12:14:40 +02:00
Lorenz Meier a3f2114d54 Removed bogus time scalings 2012-10-22 11:25:26 +02:00
Lorenz Meier df8148033a Cleaned up calibration, added text messages ring buffer 2012-10-22 08:14:43 +02:00
px4dev 5b9c469770 Function type fix 2012-10-21 19:12:32 -07:00
px4dev 5925d146bc Move the tone_alarm driver out of the NuttX configs area and add it as an stm32-specific driver in the PX4 apps space.
Add a new tone_alarm command that can be used to start/stop alarm tones from the shell.
2012-10-21 17:51:21 -07:00
Doug Weibel 1e0a34a102 Add functions for computation of the distance and bearing to the nearest point of a line segment or arc segment. 2012-10-21 16:39:53 -06:00
Doug Weibel 64ba024db2 Merge branch 'master' of https://github.com/PX4/Firmware 2012-10-21 14:27:36 -06:00
Lorenz Meier 096bf2dc93 Checkpoint: Working, but non-verified full mag calibration 2012-10-21 15:36:29 +02:00
Lorenz Meier 28171fb596 Merge branch 'master' of github.com:PX4/Firmware into calibration 2012-10-21 11:24:51 +02:00
px4dev 73521cbc66 Fix stack allocation (now probably too large) for PX4IO debugging. Disable nonblocking serial comms to avoid losing tx data. 2012-10-20 23:11:04 -07:00
px4dev bfbd17a2fa Make it possible to run fmu and px4io simultaneously with full control over both sets of possible PWM outputs. First started wins. 2012-10-20 16:53:52 -07:00
Lorenz Meier f868c99f06 Merge branch 'mavlink-cleanup' of github.com:PX4/Firmware into calibration 2012-10-21 01:52:00 +02:00
Lorenz Meier 42c61271ea remove bogus dt from att rate 2012-10-20 19:53:49 +02:00
px4dev d2ef2afb0b Major rework of the PX4IO driver; pull it closer up to date 2012-10-19 22:10:12 -07:00
px4dev f12b9d0706 Fix an error message 2012-10-19 22:09:56 -07:00
px4dev 4f20d9a24b Retire old test cases for drivers that have been removed. 2012-10-19 18:59:44 -07:00
Lorenz Meier d3ae83cb22 Merge branch 'daregger_rate_control' of github.com:PX4/Firmware into calibration 2012-10-19 00:39:06 +02:00
Lorenz Meier 5ec5754f26 brought controller back to last tuned state 2012-10-18 17:34:06 +02:00
Lorenz Meier c70c626915 Removed dead code 2012-10-18 13:40:17 +02:00
Lorenz Meier dff0051568 Map inputs to the controller we actually want 2012-10-17 19:02:57 +02:00
Lorenz Meier d1429f266d Calibration progress, needs sphere fitting 2012-10-17 18:27:49 +02:00
Lorenz Meier 6a48b91bea Lowering default rates at 57600 2012-10-17 18:27:21 +02:00
Lorenz Meier 2d631fb005 Various fixes to attitude control, flyable, needs parameter tuning 2012-10-17 18:26:56 +02:00
Lorenz Meier e4645c0a41 Initialized all sensor fields to zero 2012-10-17 15:10:32 +02:00