Commit Graph

133 Commits

Author SHA1 Message Date
px4dev 19b2e1de85 Copy the correct number of bytes back for register read operations. Basic PX4IO comms are working now. 2013-07-06 00:00:44 -07:00
px4dev 6871d2909b Add a mechanism for cancelling begin/end perf counters. 2013-07-05 22:53:57 -07:00
px4dev 3c8c596ac7 Enable handling for short-packet reception on FMU using the line-idle interrupt from the UART. Enable short packets at both ends. 2013-07-05 20:37:05 -07:00
px4dev bcfb713fe9 Enable handling for short-packet reception on IO using the line-idle interrupt from the UART. 2013-07-05 20:35:55 -07:00
px4dev f9a85ac7e6 Remove the TX completion callback on the IO side.
Report CRC, read and protocol errors.
2013-07-05 19:16:25 -07:00
px4dev 10e673aa4b Send error response if register write fails. 2013-07-05 19:02:42 -07:00
px4dev 46a4a44321 Be more consistent with the packet format definition.
Free perf counters in ~PX4IO_serial
2013-07-05 18:36:00 -07:00
px4dev 50cae347b4 Check packet CRCs and count errors; don't reject packets yet. 2013-07-05 17:13:54 -07:00
px4dev 5a8f874166 Add an 8-bit CRC to each transmitted packet. 2013-07-05 16:56:47 -07:00
px4dev 313231566c Encode the packet type and result in the unused high bits of the word count. 2013-07-05 16:41:27 -07:00
px4dev e55a37697d Always send and expect a reply for every message. 2013-07-05 16:34:44 -07:00
px4dev 83213c66df Reset the PX4IO rx DMA if we haven't seen any traffic in a while; this gets us back into sync. 2013-07-04 23:22:59 -07:00
px4dev 94b638d848 One more piece of paranoia when resetting DMA 2013-07-04 23:19:24 -07:00
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
Anton Babushkin 079cb2cd65 sdlog2: RC (RC controls) and OUT0 (actuator 0 output) messages added, print statistics to mavlink console 2013-06-08 18:15:55 +04:00
Anton Babushkin 7b98f0a567 sdlog2 minor fix 2013-06-07 22:12:21 +04:00
Anton Babushkin 59b26eca48 sdlog2 -b option (log buffer size) added, minor cleanup 2013-06-07 22:02:40 +04:00
Anton Babushkin d39999425d sdlog2 fixes 2013-06-07 21:32:58 +04:00
Anton Babushkin 03357f89fd Merge branch 'master' into sdlog2 2013-06-07 19:29:14 +04:00
Anton Babushkin 5bad186916 sdlog2: STAT (vehicle state) log message added, minor optimizations 2013-06-07 13:36:15 +04: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 b52aeea746 Merge branch 'master' of github.com:PX4/Firmware 2013-06-06 22:14:19 +02:00
Lorenz Meier b3c5bd5d3a Saved a few string bytes, cleaned up task names and output 2013-06-06 22:14:11 +02:00
Anton Babushkin 4052652a28 sdlog2: ATTC - vehicle attitude control logging added 2013-06-06 23:19:16 +04:00
Lorenz Meier 106f4910be Merge pull request #284 from limhyon/master
Nonlinear complementary SO(3) filter has been implemented.
2013-06-06 04:39:39 -07:00
Hyon Lim (Retina) 6537759dfc Add detailed documentation for SO3 gains tuning.
USB nsh has been removed.
2013-06-06 21:28:40 +10:00
Lorenz Meier 39d6dd3dc6 Merge pull request #287 from DrTon/sdlog2
sdlog2 - new APM compatible logger
2013-06-06 03:46:19 -07:00
Lorenz Meier 68931f38d5 HOTFIX: Added start / stop syntax to GPIO led command 2013-06-05 15:04:49 +02:00
Anton Babushkin aedacc7bc8 Merge branch 'master' into sdlog2 2013-06-04 16:51:12 +04:00
Anton Babushkin 7ae2cf9d2d Minor sdlog2/logbuffer cleanup 2013-06-04 16:48:55 +04:00
Lorenz Meier de8186e050 Merge branch 'master' of github.com:PX4/Firmware into failsafe_io 2013-06-04 13:25:42 +02:00
Lorenz Meier e3ee6689fe Merge pull request #294 from sjwilks/hott_v2
Add GPS Support to the HoTT Telemetry driver
2013-06-04 03:15:40 -07:00
Simon Wilks 82c7e58122 Removed some debugging code 2013-06-04 01:03:16 +02:00
Simon Wilks f435025d26 Completed main implementation and debugging 2013-06-04 00:10:58 +02:00
Anton Babushkin 606f68c890 sdlog2 GPS message changes 2013-06-01 20:40:56 +04:00
Anton Babushkin 9f895d87cd sdlog2 mavlink msg fix 2013-06-01 17:16:12 +04:00
Anton Babushkin 34d4d62acc sdlog2 messages cleanup, fixes 2013-06-01 15:59:42 +04:00
Anton Babushkin b344f23daf Merge branch 'master' into sdlog2 2013-06-01 13:34:49 +04:00
Anton Babushkin 1bf8f7b47e sdlog2 performance increased, fixes and cleanup 2013-06-01 13:18:03 +04:00
Anton Babushkin b614d2f1eb adlog2: added options cleanup, updates rate limit added 2013-05-30 23:41:06 +04:00
Anton Babushkin 9952fef645 sdlog2 messages packing fixed, sdlog2_dump.py now produces much more compressed output. 2013-05-30 21:27:55 +04:00
Anton Babushkin d6ae0461ab sdlog2: GPS message added 2013-05-30 12:28:05 +04: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