Commit Graph

27 Commits

Author SHA1 Message Date
px4dev 43210413a9 More test work on the px4io side of the serial interface. 2013-07-04 23:17:55 -07:00
px4dev c21237667b iov2 pin definition cleanup sweep 2013-07-04 23:16:13 -07:00
px4dev be6ad7af3b Rework the FMU<->IO connection to use a simple fixed-size DMA packet; this should let us reduce overall latency and bump the bitrate up.
Will still require some tuning.
2013-07-03 00:08:12 -07:00
px4dev d1562f926f More implementation for the serial side on IO; fix a couple of bugs on the FMU side.
Still needs serial init and some more testing/config on the FMU side, but closer to being ready to test.
2013-06-28 23:39:35 -07:00
px4dev 90c458cb61 Checkpoint: interface abstraction for px4io driver 2013-06-25 23:08:34 -07:00
Lorenz Meier 9444def5f8 Merge branch 'master' into fmuv2_bringup 2013-06-10 15:01:44 +02:00
Lorenz Meier 6c7c130de7 Hotfix: Make IOs mixer loading pedantic to make sure the full mixer loads 2013-06-07 10:34:55 +02:00
Lorenz Meier abb024c724 More safety added by disabling pulses 2013-05-29 18:32:23 +02:00
Lorenz Meier f6570172da Set default failsafe value to 0 of mixer 2013-05-29 17:07:26 +02:00
Lorenz Meier 2876bc72f9 Slightly reworked IO internal failsafe, added command to activate it (px4io failsafe), does not parse commandline arguments yet 2013-05-28 17:46:24 +02:00
px4dev 308ec6001a Add serial read-length handling. 2013-05-22 22:09:00 +02:00
px4dev 437d9e4180 Merge branch 'fmuv2_bringup' into fmuv2_bringup_io2 2013-05-22 21:39:30 +02:00
Lorenz Meier 88ba97816d Better preflight check, catches wrong RC configs. Needs rework of mavlink text message API to VARARGs 2013-05-21 09:14:22 +02:00
Lorenz Meier 0165034e49 Hotfix: Changed alarms back to what they originally were designed for: Traps to later see if condition was once violated. Currente status can be read through the status flags 2013-05-21 09:14:22 +02:00
Lorenz Meier 3ac76c4476 Blink pattern fixes 2013-05-13 10:15:36 +02:00
Lorenz Meier 69571c48c4 Fixed compile and logic errors, behaving now 2013-05-13 10:02:15 +02:00
Lorenz Meier 79f9b61aff Fixed led patterns to be up to the latest specs 2013-05-12 20:05:20 +02:00
Lorenz Meier 26efba2ff3 New blink patterns for safety switch, removed GPS lock indicator 2013-05-09 17:38:12 +02:00
Andrew Tridgell 5b75519925 px4io: handle errors from adc_measure()
don't update the voltage/current values on error
2013-05-04 19:18:58 +10:00
Andrew Tridgell af27101ffe px4io: changed adc_measure() to return 0xffff on error, and lower timeout
the timeout of 1ms was far too long, and could impact flight
performance

Returning 0xffff on error matches the FMU code, and allows bad values
to be discarded
2013-05-04 19:18:51 +10:00
Andrew Tridgell 44015d6915 px4io: return raw ADC value for current
we don't know how to scale it as we have no info on what sensor is
attached. As we are returning a uint16_t it is better to let the FMU
sort it out or we'll just lose precision.
2013-05-04 19:18:47 +10:00
px4dev e67022f874 Serial interface for IOv2 2013-04-28 18:14:46 -07:00
px4dev 8f7200e011 Frame up the configuration for the serial interface on IOv2 2013-04-28 13:51:33 -07:00
Lorenz Meier dc2c3cad3e Re-enabled mixer 2013-04-28 14:59:42 +02:00
Lorenz Meier 0eafc2ade1 IO compiling 2013-04-28 14:54:44 +02:00
Lorenz Meier 13fc670386 Moved last libs, drivers and headers, cleaned up IO build 2013-04-28 09:54:11 +02:00
Lorenz Meier f57439b90e Moved all drivers to new world, PX4IO completely in new world 2013-04-28 01:30:14 +02:00