948 Commits

Author SHA1 Message Date
px4dev
8d716dea45 Teach 'fake' to set the arming state as well.
Whitespace.
2012-12-18 00:33:33 -08:00
px4dev
b8044d9786 use <err.h> more consistently in the fmu driver. 2012-12-18 00:29:22 -08:00
px4dev
6d0bea0298 Fix the PWM servo ioctl base so it's not overlapping the GPIOs 2012-12-18 00:27:12 -08:00
Simon Wilks
03b51c69e0 Added more LED state logic and improve code.
The LED will now also indicate when the FMU is ARMED. Switched to using
a 16-bit value where each bit indicates what state the LED should be
in.
2012-12-08 13:39:28 +01:00
Simon Wilks
197e573885 Add an additional safety switch LED blink sequence when FMU and IO are armed
If both the FMU and the IO board are armed then the secure switch will
blink two times quickly then a pause followed by two quick blinks and
so on.
2012-12-07 21:34:41 +01:00
Lorenz Meier
82cbac70ee Fixed calibration check 2012-12-07 17:07:42 +01:00
px4dev
451ecc1bf4 Remove a few cut-and-paste author attributions. 2012-12-02 17:53:31 -08:00
px4dev
ad6c60c77c Merge pull request #90 from PX4/#89-BlinkM-driver
BlinkM driver
2012-12-01 22:59:36 -08:00
px4dev
b02c69243d Merge pull request #75 from PX4/delay_test
Added delay test to measure comm delays with a led / scope
2012-12-01 22:55:55 -08:00
px4dev
55e2e18885 Merge pull request #73 from PX4/io_arming
Made sure IO and FMU obey the lockdown flag when arming motors
2012-12-01 22:55:33 -08:00
px4dev
c09ed414fd Merge pull request #80 from PX4/#61-px4io-spektrum-decoder
#61 px4io spektrum decoder
2012-12-01 22:54:06 -08:00
px4dev
d92827c54c Merge pull request #76 from PX4/topics_cleanup
Cleaned up different uorb topics, cleaned up excessive stack sizes
2012-12-01 22:53:15 -08:00
px4dev
269bd9f403 Force the fade speed to something sensible. Deal better with failed probes. 2012-12-01 19:36:02 -08:00
px4dev
2a8ef50df4 A driver and shell command for the BlinkM I2C LED controller. 2012-12-01 19:29:36 -08:00
Lorenz Meier
de88732e8e Prevented unhealthy RC input from propagating through the system 2012-12-01 10:49:52 +01:00
px4dev
ea8872f545 Merge branch 'sbus' of https://github.com/PX4/Firmware into #61-px4io-spektrum-decoder 2012-12-01 00:50:39 -08:00
px4dev
efd3b9dea6 Clean up the FMU communications init. 2012-11-30 22:36:17 -08:00
px4dev
7d9d307ab0 We don't need non-blocking I/O for this context anymore; it's OK for it to block. 2012-11-30 22:15:40 -08:00
px4dev
8c4e9de70a Use the right constraint for the output mixer; we might end up wanting more virtual control channels. 2012-11-30 21:52:18 -08:00
px4dev
1e6e06595a Avoid processing S.bus channels that cannot be communicated to FMU 2012-11-30 21:51:36 -08:00
px4dev
2ac0cac11f Build fix - need <termios.h> 2012-11-30 21:50:19 -08:00
Julian Oes
6f572637de Fixed missing heading for mtkcustom and nmea 2012-11-30 14:26:03 -08:00
Lorenz Meier
ef4a54666d Harmonized PPM, S.BUS and DSM input (order: first preference S.Bus, then DSM, then PPM, first available and valid source is chosen), tested with FMU, valid channel inputs 2012-11-30 14:57:54 +01:00
px4dev
e0df7e6a76 save ~200 bytes of RAM by correctly positioning the S.bus decoder table in flash. 2012-11-30 01:46:14 -08:00
Lorenz Meier
31c5425e50 Merge remote-tracking branch 'origin/#61-px4io-spektrum-decoder' into sbus 2012-11-30 10:42:36 +01:00
Lorenz Meier
d16d66f990 Enabled UART3, added JTAG make target for IO, removed potentially problematic usleep 2012-11-30 10:42:27 +01:00
px4dev
c961dd8bab Just for fun, add a (completely untested) S.bus decoder. 2012-11-30 01:34:33 -08:00
px4dev
9fa794a8fa Rework the PX4IO software architecture:
- Use a separate thread for handing R/C inputs and outputs.
 - Remove all PX4IO R/C receiver configuration; it's all automatic now.
 - Rework the main loop, dedicate it to PX4FMU communications after startup.
 - Fix several issues in the px4io driver that would cause a crash if PX4IO was not responding.
2012-11-30 00:02:47 -08:00
px4dev
9c8101d4f1 Add some more information to comments. 2012-11-29 10:18:21 -08:00
Lorenz Meier
401c54bdd3 Merge branch '#78-px4io-firmware-updater' of github.com:PX4/Firmware into sbus 2012-11-29 09:54:23 +01:00
px4dev
d0efd1a419 Fix the DSM (spektrum) protocol decoder, and add some format auto-detection to it. 2012-11-29 00:35:21 -08:00
px4dev
3321ca0888 Don't print the status line so much; we seem to drop a lot of receive characters this way. 2012-11-29 00:34:44 -08:00
px4dev
03a82e0a03 Fix includes for debug output. 2012-11-29 00:33:44 -08:00
px4dev
92e1d5eb78 Possible fix for #78 - increase the wait timeout for discard when flashing PX4IO. It's not clear this solves the issue, but I can't reproduce it with this added. 2012-11-28 20:12:36 -08:00
Lorenz Meier
15236d1ff2 Hotfix: calibration status returns sanity checks with better granularity 2012-11-27 17:26:04 +01:00
Lorenz Meier
caf0fefa32 Cleaned up different uorb topics, cleaned up excessive stack sizes 2012-11-27 17:24:33 +01:00
Lorenz Meier
4d6fb3a037 Added delay test to measure comm delays with a led / scope 2012-11-27 12:45:17 +01:00
Lorenz Meier
11b0242f55 Not arming FMU in HIL mode 2012-11-26 17:50:14 +01:00
Lorenz Meier
4298f68fcd IO does not arm in HIL mode 2012-11-26 17:43:07 +01:00
Lorenz Meier
dc72d467d4 fixed wing manual setpoints in manual mode 2012-11-25 00:28:15 +01:00
Lorenz Meier
9f35de51a6 Removed unneeded header 2012-11-24 22:39:43 +01:00
Lorenz Meier
b1bc5e0e46 Improved drivers, allowed parallel use of multiple gyros 2012-11-23 22:52:37 +01:00
Lorenz Meier
0193d590db Removed debug printf 2012-11-21 17:37:52 +01:00
Lorenz Meier
d9a3103413 Merge branch 'development' of github.com:PX4/Firmware into development 2012-11-21 17:37:00 +01:00
Lorenz Meier
4d1256e3f3 Removed left-over comment 2012-11-21 17:36:52 +01:00
Lorenz Meier
e24c349d1d Temporarily very verbose on flow output 2012-11-21 15:42:42 +01:00
Lorenz Meier
25e304c869 Added vicon, actuator controls effective and optical flow to logging 2012-11-21 15:32:59 +01:00
Lorenz Meier
ffda224b41 Added actuator controls effective topic 2012-11-21 14:59:55 +01:00
Lorenz Meier
d1cde9858d Fixed typo in console message string 2012-11-21 14:59:17 +01:00
Lorenz Meier
13000a7121 Yaw rate sanity checking for controller 2012-11-20 16:51:13 +01:00