Commit Graph

95 Commits

Author SHA1 Message Date
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
Lorenz Meier 85bc4f683a Cleaned up position control (WIP), moved PID structs (should become classes) to systemlib, added deamon app example 2012-08-19 11:29:07 +02:00
Lorenz Meier 2a5fcd9174 Fixed incorrect scaling of acceleration values 2012-08-19 09:35:58 +02:00
Lorenz Meier 23ae096911 Added simple, but complete code example 2012-08-19 08:38:01 +02:00
Lorenz Meier 9a56be6907 Changed mavlink and sensors apps to deamons, now started with mavlink start and sensors start. 2012-08-19 01:26:42 +02:00
Lorenz Meier dc484c1d21 State machine cleanup, introduced variable rates for MAVLink depending on the baud rate 2012-08-18 16:48:43 +02:00
Lorenz Meier 8a8b6b7165 Fixed PI wrapping code, debugging more sensor code, possible misalignment of mag and acc frames in filter 2012-08-17 18:38:52 +02:00
Lorenz Meier bce043a21b Fixed mag axis assignment, fixed mag calibration 2012-08-17 17:37:58 +02:00
Lorenz Meier 73286f3262 Minor tweaks and command parsing debugging 2012-08-16 20:57:38 +02:00
Lorenz Meier e95662f505 mag cal, scaling of throttle 2012-08-16 13:33:16 +02:00
Lorenz Meier 1530aeccae Working towards full sensor flexibility 2012-08-16 11:21:59 +02:00
Lorenz Meier 9014577aff Massive improvements in state machine, still tracing wrong throttle scaling in manual input path 2012-08-13 18:53:37 +02:00
Lorenz Meier 18c6c620c0 Added manual control abstraction layer, reworked sensors and ardrone_control apps to use it instead of direct RC channels 2012-08-11 19:45:32 +02:00
Lorenz Meier 7a912a3fe4 Minor but important fixes across system 2012-08-08 18:47:46 +02:00
Ivan Ovinnikov 9536bfa3ca HIL fixed, fixedwing control fixes 2012-08-07 14:18:09 +02:00
Lorenz Meier 7f2a63eb96 Completed calibration state machine, calibration state now propagating to sensor, scale calibration soon 2012-08-06 23:43:09 +02:00
Lorenz Meier 96b348af9f Minor fixes to HMC driver, mag calibration done 2012-08-05 22:51:31 +02:00
Lorenz Meier 139cd09176 Faster sensor bus resets on timeouts, massively reworked fixed wing app, tested 2012-08-05 15:56:24 +02:00
px4dev 8a365179ea Fresh import of the PX4 firmware sources. 2012-08-04 15:12:36 -07:00