29 Commits

Author SHA1 Message Date
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
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
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
Lorenz Meier
c6eff9eb8b Removed outdated sensors bringup app 2012-08-18 09:34:49 +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
73286f3262 Minor tweaks and command parsing debugging 2012-08-16 20:57:38 +02:00
Lorenz Meier
18e71843be Increased attitude estimator bm stack 2012-08-16 16:57:44 +02:00
px4dev
34118c72ef mechanical style fixups 2012-08-14 08:47:04 -07:00
px4dev
35c4a21ca1 Simplify an error message to avoid a bad pointer deref. 2012-08-13 23:52:32 -07:00
Lorenz Meier
1d029b01fe First initial revision of ACC driver and gyro 2012-08-13 22:10:03 +02:00
Lorenz Meier
d92cdc7cfa Improved float tests 2012-08-13 21:09:08 +02:00
px4dev
42ace38e31 Don't try to mix if we have no mixer installed. 2012-08-11 10:34:54 -07:00
px4dev
67e0f8b179 Rework the mixer architecture based on discussions about arbitrary geometry mixing and plugins.
Now the mixer is a C++ library that can be fairly easily bolted into an output driver to provide mixing services.

Teach the FMU driver how to use it as an example.  More testing is still required.
2012-08-10 00:30:40 -07:00
Ivan Ovinnikov
9536bfa3ca HIL fixed, fixedwing control fixes 2012-08-07 14:18:09 +02:00
px4dev
3860f72665 Sketchy diagnostic commands useful for testing. 2012-08-05 19:46:55 -07:00
px4dev
9804447a66 More work on the mixer architecture.
Solve the multiple publishers issue with 'control groups', one group per controller.  Mixer inputs now specify both group and control offset within the group.

Avoid using %f when loading/saving mixers; use scaled integers instead.
2012-08-05 14:13:34 -07:00
px4dev
9804776a0c Checkpoint: more work in progress on mixer load/save 2012-08-05 14:13:33 -07:00
px4dev
145a6c4c49 Work in progress; standard mixer API and utility 2012-08-05 14:13:33 -07:00
Lorenz Meier
139cd09176 Faster sensor bus resets on timeouts, massively reworked fixed wing app, tested 2012-08-05 15:56:24 +02:00
Lorenz Meier
b5f7adfc10 Many Doxygen style fixes 2012-08-05 11:27:02 +02:00
px4dev
8a365179ea Fresh import of the PX4 firmware sources. 2012-08-04 15:12:36 -07:00