Commit Graph
68 Commits
Author SHA1 Message Date
Lorenz Meier 47c96d3d12 Quite flyable state 2012-09-12 18:50:24 +02:00
Lorenz Meier e4c3a44751 Fixed index in loading 2012-09-12 17:55:22 +02:00
Lorenz Meier ffceb37803 Committing WIP 2012-09-12 17:46:15 +02:00
Lorenz Meier 3536ad8010 Merge branch 'rc_cleanup' of github.com:PX4/Firmware into gps 2012-09-12 17:39:02 +02:00
Lorenz Meier 59bd9ae92b Re-enabled scaling for roll 2012-09-12 17:38:23 +02:00
px4dev 59b1402379 Compute the channel bound once before the loop runs. 2012-09-12 08:37:05 -07:00
Lorenz Meier 31ecc4d5df Working on correct RC outputs without magic numbers 2012-09-12 11:20:33 +02:00
Lorenz Meier cb57fdb28c Added ground estimator, fixed RC calibration 2012-09-12 10:34:49 +02:00
Lorenz Meier b7c8b7d9f1 fixed up RC inputs, removed magic numbers, added dead zones, needs testing 2012-09-12 00:26:55 +02:00
Lorenz Meier b573804456 Got rid of a bunch of magic numbers, manual controls can now be set up fine-grained 2012-09-11 23:54:26 +02:00
Lorenz Meier a74a455ab5 Fixed calibration routines to ignore previous offsets during calibration, added scale compensation for MPU-6000 2012-09-11 23:35:01 +02:00
px4dev 68d4a26b9e Be a bit quieter and more forgiving about various system configuration and driver non-issues. 2012-09-10 00:16:05 -07:00
Lorenz Meier 27c5cef054 Added RC params, fixed attitude and position control 2012-09-08 22:38:44 +02:00
Lorenz Meier 1538247a72 Sensor sending rate fixes 2012-09-07 12:49:31 +02:00
Lorenz Meier 5066ce1e91 Fixed correct setting of field update flag 2012-09-07 12:40:56 +02:00
Lorenz Meier e8307aba17 Added bitfield to encode updated dimensions 2012-09-06 20:47:22 +02:00
Lorenz Meier db6ec2d7d2 Various minor fixes and improvements across system 2012-09-05 18:05:11 +02:00
px4dev 86a2a4fb9f Turn off more debug output. 2012-09-04 23:37:56 -07:00
Lorenz Meier e503c15361 Checkpoint - this is worth an AR.Drone flight test. Fixed thrust scaling in sensors for manual input, kind of fixed AR.Drone motor interface, very reliable now 2012-09-04 21:16:39 +02:00
Lorenz Meier 7cd89520cc More black magic put into the attitude estimation - works nicely now 2012-08-29 15:53:11 +02:00
px4dev 1e90fd5bec Let's not leave the R/C channel scaling factor as a NAN or INF. It makes many things sad.
Also, clean up the calculation of same.  Really, is it easier to type out the same calculation 8 times, or perhaps you might be interested in this thing we call a 'loop'…
2012-08-28 21:13:00 -07:00
Lorenz Meier 68ac20cc3a fixed range of debug printing 2012-08-28 22:50:47 +02:00
Lorenz Meier a1963805e7 left debug output active to allow finishing off this issue 2012-08-28 22:48:00 +02:00
Lorenz Meier 5b81a51a82 Merge branch 'params' of github.com:PX4/Firmware 2012-08-28 21:44:38 +02:00
px4dev 936940abc9 Force a parameter update when the sensors thread starts. 2012-08-28 09:15:12 -07:00
Lorenz Meier fa32184973 params debugging 2012-08-28 13:56:39 +02:00
Lorenz Meier 36a8b00ab1 Added sensor offset setting 2012-08-27 23:43:56 +02:00
Lorenz Meier 2d2548e714 Final parameter interface cleanup - removed last bit of old cruft, fixed a bug on parameter update notification, cleaned up API slightly in naming 2012-08-27 22:57:20 +02:00
Lorenz Meier b090298b12 Minor cleanups, added more error verbosity, XXX parameters get now read it at maximum sensors speed, needs to be waiting on a param change notice (but not on the vehicle status topic, as before. 2012-08-27 17:24:17 +02:00
Lorenz Meier 2963dc679a Driver debugging (scaling, ranges, endianess) MPU-6000 needs more love 2012-08-26 23:48:16 +02:00
Lorenz Meier 6026595d83 Fixed axis assignment and raw value outputs. Scaling and offsets to be done 2012-08-26 13:51:18 +02:00
px4dev 656bc9e2ce Documentation, cleanup. 2012-08-25 19:56:29 -07:00
px4dev 93f26e3c96 Factor out the ADC code. 2012-08-25 19:09:10 -07:00
px4dev 665014a3e0 Run accel/gyro at 500Hz as intended. 2012-08-25 18:31:12 -07:00
px4dev a1b17326a4 Fix sensor subscriptions.
Default to publishing.
Make the sensors command and the sensors task visibly distinct in a task listing.
Correctly check for bma180/l3gd20 in use.
2012-08-25 18:27:34 -07:00
px4dev e05ef2bcab Let's do the sensors in C++. It's much tidier. 2012-08-25 16:13:38 -07:00
Lorenz Meier 380d136483 Fixed a few readout bugs in sensors app 2012-08-25 21:44:01 +02:00
Lorenz Meier 8eeba595ee Improved param load / store text feedback, ported sensors app to new driver model, ready for merge and test 2012-08-25 19:16:12 +02:00
Lorenz Meier d12c09cc86 improvements / debugging on I2C drivers 2012-08-24 14:58:14 +02:00
Lorenz Meier 295e9da1ba Added required scalings, added gyro to MPU6000 test, changed sensors app to read from new drivers 2012-08-24 02:16:26 +02:00
Lorenz Meier a7266d539c Bolted new param interface into the sensors app, continuing porting across codebase 2012-08-23 09:44:26 +02:00
Lorenz Meier 5f259e41d5 Sensor readout, testing and driver adjustments 2012-08-22 16:20:05 +02:00
Lorenz Meier fa9f145b08 Fixed a bunch of issues in the arming state machine for multirotors, arming / disarming works fine now. Porting of various processes needed 2012-08-22 14:35:22 +02:00
Lorenz Meier d2e757aa3c Merged parameter changes 2012-08-22 09:19:43 +02:00
px4dev 88f0080a0f Fix an architectural issue with the ORB that prevented publication from interrupt context.
ORB topic advertisements are now global handles that can be used in any context.  It is still possible to open a topic node as a publisher, but it's not the default.  As a consequence, the type of the handle returned from orb_advertise has changed; all other API remains the same.
2012-08-21 23:44:22 -07:00
Lorenz Meier c8645a7e53 Added more params, old read-in code not yet replaced 2012-08-21 09:02:09 +02:00
Lorenz Meier d1261e227c Porting to new param interface, updated mixers 2012-08-20 23:52:13 +02:00
pixhawk 801697c540 fixed sensors error printing 2012-08-20 16:08:27 +02:00
Lorenz Meier 78db6c990b Testing larger stack for sensors app 2012-08-20 13:11:19 +02:00
Lorenz Meier dae0b922f1 Added deamon example, reworked / merged multirotor attitude control. Ready for AR.Drone interface changes and integration tests 2012-08-19 15:52:59 +02:00