Commit Graph

48 Commits

Author SHA1 Message Date
px4dev 34f99c7dca Hoist the ADC and CAN board-specific 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 d3ae83cb22 Merge branch 'daregger_rate_control' of github.com:PX4/Firmware into calibration 2012-10-19 00:39:06 +02:00
Lorenz Meier e4645c0a41 Initialized all sensor fields to zero 2012-10-17 15:10:32 +02:00
Lorenz Meier 97726fa679 Calibration WIP, not compiling 2012-10-17 08:02:50 +02:00
Lorenz Meier bd3f3b1031 Sensor rate and throttle inversion fixes 2012-10-09 16:26:29 +02:00
px4dev dfae108e6a Go back to the FIFO scheduler for now, as we don't have time to shake out the RR scheduler changeover just yet.
Make the "default" scheduler a centralized definition so that changes are easier in future.
2012-10-03 23:13:20 -07:00
Lorenz Meier b5d2ec3d92 Merge branch 'master' of github.com:PX4/Firmware 2012-10-02 22:28:22 +02:00
Lorenz Meier 7ef4655b0e Fixed HIL joystick support 2012-10-02 22:28:14 +02:00
px4dev 93c200d281 Add new 'task_spawn' interface for starting new tasks in the PX4 world 2012-10-01 00:02:38 -07:00
Julian Oes 2c5c314105 Cleanup of lots of debugging printfs 2012-09-27 17:08:29 +02:00
Julian Oes 201fdbc42c ardrone flying now (still workaround of disabled rates controller) 2012-09-26 10:11:57 +02:00
Lorenz Meier 082074f991 Completely implemented offboard control 2012-09-21 12:55:41 +02:00
Lorenz Meier f5dea9a1a5 Debugging / fixing attitude aliasing 2012-09-17 10:13:15 +02:00
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 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
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