8b3ff9febaAdd preliminary support for HMC5883L magnetometer and MPL3115A2 altimeter. Logging only, at this stage.Gavan Fantom2014-11-23 18:54:11 +00:00
56de69735fThe weighting mechanism to only consider accelerations roughly in line with gravity wasn't working too well. Let's consider all readings equally for now.Gavan Fantom2014-05-17 12:35:20 +00:00
9d5e6da3bfYes, we do actually want I2C to run fast.Gavan Fantom2014-05-17 12:33:47 +00:00
e8adff93c1Bye bye Wii Motion Plus, hello MPU6050. Also, increase control loop to 200Hz, add SD card logging, and a number of other changes.Gavan Fantom2014-05-06 21:03:48 +00:00
b482b85ffdFirmware changes to match rewired control board.Gavan Fantom2013-05-25 19:24:39 +00:00
b9c08d88b1Implement CPPM reception. Keep it as an option for now. Recalibrate the radio, as the timings have changed. And, it seems a couple of channels are now swapped with the new radio. Or rather, unswapped. So fix the channel map to match.Gavan Fantom2013-04-07 01:39:36 +00:00
2fa58944faNew radio, new calibration values. Oh, and code to make the calibration easier/possible.Gavan Fantom2013-04-07 00:17:31 +00:00
17a2289effRevert PID values. They were a bit too aggressive and unstable.Gavan Fantom2013-02-04 15:32:29 +00:00
b7e7fea6baAdd ESC calibration mode, activated by holding down the button at startup.Gavan Fantom2012-12-10 23:20:14 +00:00
274805c2a0Limit integral windup, some new PID values and linearise thrust.Gavan Fantom2012-12-08 12:31:17 +00:00
999e129e2cImprove handling of arming, providing LED blink codes if the arming fails. Also, implement a software watchdog to make sure that the main real-time modules are actually being run. Provide a panic facility, also giving blink codes to indicate the panic reason.Gavan Fantom2012-09-22 12:08:07 +00:00
e36ec4d5b1Let's have an LED driving module so that we can output different patterns for status indications etc.Gavan Fantom2012-08-30 14:04:33 +00:00
3f12132231Lots of development of new features. Radio input, motor output, PID control loops, boot-time initialisation, option to run without attached UART.Gavan Fantom2012-08-30 12:42:38 +00:00
2890007195Take interleaved accelerometer and gyro readings, and integrate them into a single attitude estimation.Gavan Fantom2011-11-04 12:47:16 +00:00
6a700d0dbeNo point in calling event_dispatch() from the menu any more.Gavan Fantom2011-06-04 20:57:13 +00:00
65b11ff92eUse the timer to kick off WMP readings regularly.Gavan Fantom2011-06-04 20:56:20 +00:00
fda1b2a672Use events to invoke menu handling on UART receive. We now have a basic main dispatch loop.Gavan Fantom2011-06-04 19:41:12 +00:00
0562093ebbDon't call event handlers for events which haven't been registered.Gavan Fantom2011-06-04 19:31:24 +00:00
fa84a1b8bbChange API for getch to make it the caller's responsibility to poll for input, allowing it to do other stuff if it wants to.Gavan Fantom2011-06-04 19:28:59 +00:00
9f79b3d82e* Make total stack size available as a symbol * Implement SWI handler to enable/disable interrupts * Implement event system to deal with kicking non-interrupt codeGavan Fantom2011-06-03 21:22:01 +00:00
0f508fb424Offload I2C work onto interrupts. For now, we just spin while waiting for the I2C activity to complete.Gavan Fantom2011-05-26 01:57:16 +00:00
f0efc593eaUse interrupts and buffer the UART receive side too.Gavan Fantom2011-05-23 21:41:17 +00:00
4eaff797c9* Use interrupts and buffering for UART TX * Set up P0.26 as an output, driving the on-board LED * Toggle the LED while waiting for UART input to demonstrate activityGavan Fantom2011-05-22 10:34:44 +00:00
e1b1b60a53* Move UART code into its own file * Set up vectored interrupt controller * Set up timer interruptGavan Fantom2011-05-21 22:26:19 +00:00