68 Commits

Author SHA1 Message Date
px4dev
c3fe915b44 Checkpoint - moving things out of the NuttX configs/*/src directories 2012-10-23 23:51:12 -07:00
px4dev
0afeeb5dd8 Move the PX4IO driver into the drivers folder. 2012-10-22 21:39:55 -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
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
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
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
px4dev
93c200d281 Add new 'task_spawn' interface for starting new tasks in the PX4 world 2012-10-01 00:02:38 -07:00
Lorenz Meier
1725069c18 Merge branch 'update_rate' of https://github.com/sjwilks/Firmware into ardrone 2012-09-29 12:46:20 +02:00
Simon Wilks
4933d1dbbd Only provide update rate mod support to modes supporting 4 PWM channels 2012-09-28 08:37:24 +02:00
Simon Wilks
7a5ac6892e Support custom PWM update rates
Rates of 50 to 400 can be specified using the -u <rate in hz> parameter
with the fmu command in the startup script.
2012-09-27 23:36:56 +02:00
Lorenz Meier
1d96f0b853 Fixed stupid interface bugs, working 2012-09-21 17:19:28 +02:00
Lorenz Meier
291f4f3a33 Reworked control interface, needs testing / validation 2012-09-19 18:53:29 +02:00
Lorenz Meier
b0b72b11eb Reworking control infrastructure for inner rate loop, preparing offboard interface 2012-09-18 18:28:49 +02:00
px4dev
d7fb2175eb A simple file write performance test 2012-09-13 21:42:51 -07:00
Lorenz Meier
c815aff842 Deamonized GPS app, fixed GPS issues, reworking RC input 2012-09-12 17:22:24 +02:00
Lorenz Meier
cb57fdb28c Added ground estimator, fixed RC calibration 2012-09-12 10:34:49 +02:00
Lorenz Meier
c9a453c340 Tuned filter gains, still suboptimal, but improved 2012-09-10 14:53:23 +02:00
Lorenz Meier
c25cef299f Fixed to mag measurement and filter 2012-09-07 16:56:47 +02: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
5c692e2971 Initialise some extra fields, don't try closing an ORB advertisement. 2012-09-03 23:21:17 -07:00
px4dev
f92139f53b Merge branch 'master' into ms5611_newmath 2012-09-03 12:35:36 -07:00
Lorenz Meier
8aa41f7d34 Add actuator controls output 2012-09-02 12:21:54 +02:00
px4dev
eb8e3a2942 Reduce slightly the rate at which we can be spammed with arming-state change messages. 2012-09-02 02:16:44 -07:00
Lorenz Meier
7cd89520cc More black magic put into the attitude estimation - works nicely now 2012-08-29 15:53:11 +02:00
Lorenz Meier
97d9e67e67 Really ugly but safe hack to make 30 deg rotations work 2012-08-27 15:44:50 +02:00
Lorenz Meier
848c156140 Added negative float printing to test range 2012-08-26 14:51:52 +02:00
Lorenz Meier
62e07358b4 Ported almost everything to new param interface, ready for serious testing 2012-08-24 00:01:23 +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
Lorenz Meier
72979032e9 Merge branch 'master' into px4dev_new_param 2012-08-22 08:56:33 +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
px4dev
a0ae2cb175 Add a set of ORB topics for advertising actuator outputs.
This is part of \#7
2012-08-21 20:14:43 -07:00
Lorenz Meier
f3c1a7475d Improved tuning for current attitude estimation hack, needs to be removed ASAP 2012-08-21 17:42:24 +02:00
Lorenz Meier
e3fffa23e0 Merge branch 'master' into px4dev_new_param 2012-08-20 13:16:09 +02:00
Lorenz Meier
aaf2a23f18 Reduced optimistic send rates, better mag scaling 2012-08-20 12:38:45 +02:00
Lorenz Meier
0d28187960 Fixed attitude mag scaling 2012-08-20 11:36:44 +02:00
px4dev
532b61c5a2 Tweak the test to work with the changed parameter export path 2012-08-19 22:16:10 -07:00
Lorenz Meier
d07a63c169 Fixed compile errors and warnings in param test 2012-08-19 19:33:01 +02:00
px4dev
d903311dce Add support for setting and exporting parameters. 2012-08-19 01:31:27 -07:00
px4dev
d91f5f3dd7 The beginnings of a new parameter system. 2012-08-19 01:31:26 -07:00
Lorenz Meier
2a5fcd9174 Fixed incorrect scaling of acceleration values 2012-08-19 09:35:58 +02:00
px4dev
8477754411 Share the PX4IO protocol header, such as it is, between the two apps.
Stop using systemlib in the PX4IO firmware; it has expectations that can't reasonably be met.
2012-08-18 22:56:04 -07:00
Lorenz Meier
7874bbd37f Updated tests suite properly to MPU-6000 driver, should pass now 2012-08-18 23:01:17 +02:00
Lorenz Meier
d48f7ea9f2 Fixed sensors test 2012-08-18 22:39:57 +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
5aa91b6f17 Updated MPU test to new driver model 2012-08-18 12:29:04 +02:00