Commit Graph
97 Commits
Author SHA1 Message Date
Simon Wilks 032f7d0b0e Fix syncing issue with receiver on startup. 2013-06-04 23:24:30 +02:00
sjwilks 40dbd21e11 Merge pull request #288 from PX4/failsafe_io
Better failsafe on IO (if FMU and IO fail)
2013-06-04 05:07:45 -07:00
Simon Wilks 82c7e58122 Removed some debugging code 2013-06-04 01:03:16 +02:00
Simon Wilks 9374e4b1f2 Formatting and comments 2013-06-04 00:52:48 +02:00
Simon Wilks 30d17cf0ba Fix whitespace 2013-06-04 00:18:23 +02:00
Simon Wilks f435025d26 Completed main implementation and debugging 2013-06-04 00:10:58 +02:00
Simon Wilks 6571629dca Merged new repository layout from PX4/Firmware 2013-05-15 20:11:13 +02:00
Simon Wilks 150eabbf39 GPS support - mostly working. 2013-05-14 23:53:21 +02:00
sjwilks 1b9222f43a Merge pull request #269 from PX4/new_led_status
New led status
2013-05-13 07:49:19 -07:00
Simon Wilks 6388608b72 Merged with master. 2013-05-06 19:06:38 +02:00
Simon Wilks 1dbbdcfa48 Add the missing mixer file. 2013-05-02 08:41:02 +02:00
Simon Wilks d9da4352d5 Makefile correction. 2013-05-02 07:13:07 +02:00
Simon Wilks ddf1b27697 Added a config for quads with a wide arm config. 2013-05-02 07:10:23 +02:00
Simon Wilks 5ebd78345c Add some GPS data to telemetry message. 2013-05-01 21:30:11 +02:00
Simon Wilks a2adff9663 Merge remote-tracking branch 'upstream/master' into hott_v2 2013-05-01 19:49:28 +02:00
Simon Wilks 0af9b60db7 More changes. 2013-04-26 22:28:31 +02:00
Simon Wilks d6e9a35aa2 Update the quad V values. 2013-04-26 18:34:12 +02:00
Simon Wilks a6b8463308 Update the makefile to include the new mixer config. 2013-04-25 23:44:22 +02:00
Simon Wilks 1063ae9de9 Add a mixer file for the V quad 2013-04-25 21:40:43 +02:00
Simon Wilks b666bbb55c First steps to supporting GPS 2013-04-25 20:18:06 +02:00
Simon Wilks 9da16afcc2 Add support for V for quads with offset arms such as the TBS and SteadiDrone QU4D 2013-04-25 08:59:48 +02:00
Simon Wilks 443c3f67d3 Reformatting. 2013-04-25 08:36:14 +02:00
Simon Wilks 570858d87c General cleanup based on the pull request from muggenhor 2013-04-23 22:41:44 +02:00
Simon Wilks 5b60991c63 Style fix: ETS_AIRSPEED > ETSAirspeed 2013-04-23 08:49:33 +02:00
Simon Wilks 24630f15b6 Yet more cleanups. 2013-04-22 21:30:20 +02:00
Simon Wilks a3b3879302 Merge remote-tracking branch 'upstream/master' into eagletree 2013-04-22 20:54:41 +02:00
Simon Wilks ad212ee628 More cleanups 2013-04-22 15:00:15 +02:00
Simon Wilks 87c27ac243 Merge remote-tracking branch 'upstream/master' into eagletree 2013-04-22 08:51:51 +02:00
Simon Wilks 715e3e2ebe Cleanup 2013-04-22 08:51:49 +02:00
Simon Wilks 48f815860b Debugging, cleanup and added airspeed to HoTT telemetry. 2013-04-21 01:29:07 +02:00
Simon Wilks 853ba612b1 Add missing uORB topic 2013-04-19 18:28:47 +02:00
Simon Wilks 696e48fbf3 Cleanup variable names and such 2013-04-19 18:28:06 +02:00
Simon Wilks df6976c8d6 Split diff pressure and airspeed. 2013-04-19 16:20:40 +02:00
Simon Wilks c5a453cd18 Remove some testing code. 2013-04-13 09:09:21 +02:00
Simon Wilks 42f4a9e880 Switch to differential pressure topic 2013-04-13 08:47:12 +02:00
Simon Wilks c8ac1d0b0a Add in the missing header. 2013-04-11 08:37:25 +02:00
Simon Wilks 4f99200b0f Initial implementation that can read values from the ETS. 2013-04-11 08:36:54 +02:00
Simon Wilks f1d8aa57ce Ensure that numerator / demoninator <= 1. 2013-03-21 01:12:01 +01:00
Simon Wilks fc82ed0c69 Skeleton code. 2013-03-20 13:21:00 +01:00
Simon Wilks 01cac73247 Fix the CamFlyer mixer 2013-03-19 22:15:04 +01:00
sjwilks 1c9bc8e19d Merge pull request #231 from PX4/calibration_warning
Added MAVLink-transmitted calibration warning about bad sensor calibrati...
2013-03-18 15:32:37 -07:00
Simon Wilks a8a74fda96 Invert aileron actuator for correct aileron response in auto 2013-03-09 22:11:31 +01:00
Simon Wilks 1c793848e0 Merge remote-tracking branch 'origin/px4io-i2c-throttle' into px4io-i2c-throttle 2013-03-07 01:48:41 +01:00
Simon Wilks 8f5dac3740 Let's just init the status flag every time we send a config update 2013-03-07 01:47:02 +01:00
Simon Wilks 8d1f80a9e8 Fix how we check for rc config init status 2013-03-07 01:03:38 +01:00
Simon Wilks 5c12b6a911 Request result of rc config upload from IO 2013-03-06 22:52:19 +01:00
Simon Wilks ae98836db8 Correct RC config sanity checking and report back when RC config errors occur. 2013-03-06 20:37:01 +01:00
Simon Wilks 07c3493825 Revert "testing"
This reverts commit 16aa618bb4.
2013-03-05 23:00:39 +01:00
Simon Wilks 16aa618bb4 testing 2013-03-05 14:36:45 +01:00
Simon Wilks 5cca76f414 Merge remote-tracking branch 'upstream/px4io-i2c' into px4io-i2c-throttle 2013-03-03 23:13:53 +01:00
Simon Wilks c26fdecad2 Merge remote-tracking branch 'upstream/px4io-i2c' into px4io-i2c 2013-03-03 18:10:09 +01:00
Simon Wilks faafb55e42 Merge remote-tracking branch 'upstream/master' into px4io-i2c 2013-02-25 23:25:29 +01:00
Simon Wilks e0345f7abe Merge remote-tracking branch 'upstream/px4io-i2c' into px4io-i2c 2013-02-25 23:06:29 +01:00
Simon Wilks a69b09d2bf Merge remote-tracking branch 'upstream/master' into px4io-i2c 2013-02-21 22:04:29 +01:00
Simon Wilks bd5887b4ca Move the config param to a more sane location (I hope). 2013-01-25 10:44:21 +01:00
Simon Wilks 0246842c88 Enable single wire via ioctl calls and pull the battery voltage from the battery status topic. 2013-01-25 01:41:11 +01:00
Simon Wilks 23f0be6b02 Merge branch 'ioctl' into hott 2013-01-24 23:57:54 +01:00
Simon Wilks 0669d2aee0 Merge remote-tracking branch 'upstream/master' into hott 2013-01-24 23:27:27 +01:00
Simon Wilks b9009390d7 Merged and tested against the single wire implementation added to Nuttx r5554. 2013-01-24 23:26:12 +01:00
Simon Wilks 8ba3fbd0a3 Merged 2013-01-22 22:16:41 +01:00
Simon Wilks ecd01dc2e8 We aren't using RS485 but single wire. 2013-01-21 23:31:12 +01:00
Simon Wilks 64925c33cd Merged 2013-01-11 16:52:42 +01:00
sjwilks 659543f852 Merge pull request #96 from sjwilks/autostart-scripts
Updated PX4IO autostart script.
2013-01-06 04:19:22 -08:00
Simon Wilks 7842caf3b2 Moved the channel mappings and attributes to the config section 2013-01-06 04:21:04 +01:00
Simon Wilks 0a89ab7075 Send rc channel ordering and channel attributes from FMU to IO 2013-01-05 22:13:12 +01:00
Simon Wilks 1b81724ef7 Manually remap the channel assignements for testing. 2013-01-05 15:46:26 +01:00
Simon Wilks 06126d0d9e Starting GPS should probably be on by default. 2012-12-13 07:09:11 +01:00
Simon Wilks 096305f625 A mixer is required. 2012-12-10 09:05:26 +01: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
Simon Wilks 2a0c2ea6eb Merge remote-tracking branch 'upstream/master' into autostart-scripts 2012-12-07 18:04:59 +01:00
Simon Wilks b7b79d8254 Add logging back in. 2012-12-06 22:37:28 +01:00
Simon Wilks c3038619a4 Updating the PX4IO rc script to the latest state. 2012-12-06 22:35:20 +01:00
Simon Wilks 097aeddcad Push single wire operations into stm32_serial.c and added a test to verify HoTT telemetry setup. 2012-12-06 17:24:27 +01:00
Simon Wilks 9924c4f425 Addressed compiler warnings and handle non-supported devices properly. 2012-11-30 08:12:20 +01:00
Simon Wilks c149b26dd4 Code formatting cleanup.
Fixed code style with Tools/fix_code_style.sh
2012-11-30 08:06:19 +01:00
Simon Wilks 2eccf5ff19 Cleanup a bit. 2012-11-29 16:48:52 +01:00
Simon Wilks d82c62e95b Single wire now working once moving away from UART5. 2012-11-29 16:42:13 +01:00
Simon Wilks d6e54c3ce4 Trying to get single wire working. Not quite there yet. 2012-11-29 02:30:46 +01:00
Simon Wilks 14d874f4a1 Fix some memory corruption bugs. 2012-11-22 16:20:48 +01:00
Simon Wilks cc7952ea94 Messaging cleanup. 2012-11-22 12:48:52 +01:00
Simon Wilks c296ffb708 Tried cleaning up console messaging a bit. 2012-11-22 11:46:23 +01:00
Simon Wilks ae906dee98 Shorten the post read delay slightly. 2012-11-22 02:03:50 +01:00
Simon Wilks bc27a495a0 Make the reading and sending of data independant of the message type.
This will allow us to cleanly support various sensor types by having a
byte array interface for send_data() and read_data().
2012-11-22 01:54:41 +01:00
Simon Wilks 054c65535f General code cleanup. 2012-11-21 23:37:20 +01:00
Simon Wilks 4a509684a7 Merge remote-tracking branch 'upstream/master' into hott 2012-11-21 07:32:59 +01:00
Simon Wilks 6894c4d1bf Added a note on the inclusion of libraries for UART access in the Makefile. 2012-11-21 00:19:45 +01:00
Simon Wilks aa7873dee1 Introducing an initial implementation of HoTT telemetry support. 2012-11-21 00:16:43 +01:00
Simon Wilks 46ab48ab94 Added a missing comment. 2012-11-14 00:36:01 +01:00
Simon Wilks efdfa2b8b4 Setup skeleton code (basic daemon). 2012-11-14 00:33:26 +01: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 b02a5a9eb9 I don't want to track this script. 2012-09-27 23:44:05 +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
Simon Wilks 37163011fc Use the update rate parameter provided and not the default. 2012-09-24 23:36:21 +02:00
Simon Wilks 4adca98991 Merge remote-tracking branch 'upstream/master' 2012-09-24 23:13:11 +02:00
Simon Wilks ccafa0e982 Revert "Fix the RC mappings."
This reverts commit de7aa60f4b.
2012-09-05 11:53:29 +02:00
Simon Wilks de7aa60f4b Fix the RC mappings.
The value of the RC mapping parameters are mixed up resulting in the
wrong parameter handle index values being used when attempting to read
the corresponding RC channels. Currently giving throttle input on Mode
2 TXs will result in a roll input, etc.
2012-09-05 11:41:34 +02:00