96 Commits

Author SHA1 Message Date
px4dev
487597b385 Checkpoint; messages from FMU now make it to IO intact; fix HRT init timing, process more bytes from the serial port, add some simple packet counting. 2012-11-03 01:14:25 -07:00
px4dev
b0da90b6db When starting the px4io driver, check that data is being received from the PX4IO board. 2012-11-03 01:14:25 -07:00
px4dev
f11cf48bb9 Attach the interrupt before powering on the HRT timer. 2012-11-03 01:14:25 -07:00
px4dev
5af84e3b11 Check for transmit errors. 2012-11-03 01:14:24 -07:00
px4dev
ea539031da Cleanup and refactor of the PX4IO firmware and board support. Builds, not tested yet. 2012-11-03 01:14:24 -07:00
Lorenz Meier
5e1416178a Merged 2012-11-01 08:14:31 +01:00
Lorenz Meier
18dbdf0a54 Report mag status to system, sanity-check calibration 2012-11-01 08:11:55 +01:00
px4dev
34a3b260f3 Move the last of the board-specific code for PX4FMU out of the NuttX tree. Now it's just configuration. 2012-10-31 00:37:15 -07:00
px4dev
b685d46dbf Clean out remains of the old EEPROM driver. 2012-10-30 20:51:45 -07:00
px4dev
270a5d351f Warning fixes. 2012-10-29 21:47:37 -07:00
px4dev
9a85801cb0 Doxyheader fixes 2012-10-29 18:01:31 -07:00
Lorenz Meier
574eb96a2e Calibration improvement 2012-10-29 16:41:53 +01:00
px4dev
98791bc674 Remove reboot() API, replace with a prototype for up_systemreset() which is portable. 2012-10-27 22:42:43 -07:00
px4dev
9184753f17 Remove an annoying message. 2012-10-27 11:38:14 -07:00
px4dev
0272fc49aa Build fix due to missing include. 2012-10-27 11:37:11 -07:00
px4dev
6cec7f131e Minor board.h changes. 2012-10-27 11:34:20 -07:00
px4dev
5135e5308b Hoist the GPIO driver out and integrate it with the px4fmu driver. Move these pieces into the drivers tree. 2012-10-27 01:39:10 -07:00
px4dev
1065118ebc Separate config from implementation for the STM32 pwm servo driver. 2012-10-24 00:55:37 -07:00
px4dev
2fc1032069 Major formatting/whitespace cleanup 2012-10-23 23:51:13 -07:00
px4dev
34f99c7dca Hoist the ADC and CAN board-specific pieces. 2012-10-23 23:51:13 -07:00
px4dev
db044b64cd Hoist the oard-specific USB pieces. 2012-10-23 23:51:13 -07:00
px4dev
7b4118a5e7 Hoist SPI functions. 2012-10-23 23:51:13 -07:00
px4dev
eaf91f05bd Fix a filename 2012-10-23 23:51:13 -07:00
px4dev
3d79b9a0b0 Tease the PWM driver out and fix some build issues after cleaning up behind the cpuload 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
px4dev
0afeeb5dd8 Move the PX4IO driver into the drivers folder. 2012-10-22 21:39:55 -07:00
Lorenz Meier
3932bad137 Merge branch 'master' of github.com:PX4/Firmware into calibration 2012-10-22 12:14:40 +02:00
Lorenz Meier
df8148033a Cleaned up calibration, added text messages ring buffer 2012-10-22 08:14:43 +02:00
px4dev
5b9c469770 Function type fix 2012-10-21 19:12:32 -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
Lorenz Meier
096bf2dc93 Checkpoint: Working, but non-verified full mag calibration 2012-10-21 15:36:29 +02:00
Lorenz Meier
28171fb596 Merge branch 'master' of github.com:PX4/Firmware into calibration 2012-10-21 11:24:51 +02: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
Lorenz Meier
97726fa679 Calibration WIP, not compiling 2012-10-17 08:02:50 +02:00
Lorenz Meier
642f3426a7 Added mag calibration routine, fixed minor typos without runtime effects 2012-10-15 08:52:17 +02:00
Lorenz Meier
bd3f3b1031 Sensor rate and throttle inversion fixes 2012-10-09 16:26:29 +02:00
px4dev
22537447db Adjust to changes in the work queue API. 2012-09-14 22:59:42 -07:00
Lorenz Meier
c25cef299f Fixed to mag measurement and filter 2012-09-07 16:56:47 +02:00
Lorenz Meier
db6ec2d7d2 Various minor fixes and improvements across system 2012-09-05 18:05:11 +02:00
Lorenz Meier
84e11a0cac Fixed correct RC loss detection, AR.Drone is now shutting down motors after 1 s of RC loss. Added debug topic. 2012-09-05 11:37:17 +02:00
Lorenz Meier
eb01cd6fd3 Changed a critical section to double precision calculation. It may not be necessary, but lets not risk precision unless we have properly analyzed what numerical precision is required. 2012-09-03 22:29:51 +02:00
px4dev
00ba1d629b Redo the math in the ms5611 driver to a) avoid re-computing scaling factors for every pressure measurement, b) be perhaps more readable and follow the data sheet more closely, and c) support calibration of the MSL pressure. 2012-09-01 16:26:12 -07:00
Lorenz Meier
cf62c892f9 Added temperature measurement, added led system command 2012-09-01 19:56:42 +02:00
Lorenz Meier
39fd8b9cda Fixed minor compile warnings (just warnings, no effect on execution) in BMA180 2012-08-31 14:38:55 +02:00
Lorenz Meier
4ba8036d80 minor typo in comment 2012-08-31 14:06:34 +02:00
Lorenz Meier
5f131e8c11 Checkpoint: Operational BMA180 driver 2012-08-31 14:02:23 +02:00
px4dev
63485b91b2 Kick the BMA180 driver mostly into shape. Still not reading data correctly. 2012-08-30 22:33:20 -07:00
px4dev
116306ae3e units in comments 2012-08-30 22:32:54 -07:00
px4dev
1e80bd544b Make the buffer ring work.
Avoid reading from the misaligned structure more than once.
Discard some redundant whitespace / prototype.
2012-08-30 22:32:42 -07:00
px4dev
45885f15dc Fix the readout transfer size. 2012-08-29 23:25:14 -07:00