Commit Graph
50 Commits
Author SHA1 Message Date
Don Gagne f3f7f08e0d Parameter xml metadata in .px4 2014-11-18 17:20:50 -08:00
Don Gagne 852fa61173 Correct setting of DSM and ST24 flags 2014-11-16 14:12:58 -08:00
Don Gagne d907b030ee Initialize RSSI so it doesn't remain uninitialized
Spektrum doesn’t support rssi so it is not set by st24_decode.
2014-11-05 13:15:52 -08:00
Don Gagne db0b892c23 Fix 8+ channel binding 2014-10-12 11:38:34 -07:00
Don Gagne d8e0a22cbc Merge pull request #1362 from vooon/ftp_list_fix
FTP: Add skip entry information for proper offset calculation.
2014-09-15 18:16:52 -07:00
Don Gagne deda5d0a04 Upgraded unit test framework 2014-09-13 19:59:44 -07:00
Don Gagne 2136722237 Merge pull request #1358 from DonLakeFlyer/FTP
Fix mavlink unit test
2014-09-13 10:05:07 -07:00
Don Gagne 46a9f616eb Fix List command test
Return order from List command is not repeatable
2014-09-12 10:54:23 -07:00
Don Gagne dbefa77943 Update for not getting back "." entries 2014-09-10 13:12:04 -07:00
Don Gagne 981741f8ce Don't send back U or ./.. entries from List command 2014-09-10 13:11:36 -07:00
Don Gagne e4f3fd88f0 Merge pull request #1357 from vooon/ftp_opcode
FTP request opcode
2014-09-10 12:28:42 -07:00
Don Gagne 828fb5efd1 Additional FTP command support plus unit test
- Restructured to a flatter class implementation
- Added support for create/remove directory, remove file
- Refactored error codes and command opcodes
- Added unit test support
- Fixed bugs found by unit test
2014-09-02 15:36:32 -07:00
Don Gagne 37ea85968d Tweak for mavlink_ftp api change 2014-09-02 15:34:20 -07:00
Don Gagne e7165d6cbf Generator for mavlink_ftp test files 2014-09-02 15:34:02 -07:00
Don Gagne 1969c9ccf6 Improved unit test framework
- Added init/cleanup calls before after test
- Added ut_compare macro with better failure reporting
2014-09-02 15:33:43 -07:00
Don Gagne 6f0160bb5d New mavlink_ftp unit test 2014-09-02 15:32:50 -07:00
Don Gagne 81275e624e Added mavlink_ftp unit test 2014-09-02 15:32:33 -07:00
Don Gagne 7db57310d5 New mavlink_ftp unit test data 2014-09-02 15:32:16 -07:00
Don Gagne fce0a3b728 Gave up on using bitfields 2014-08-27 21:39:55 -07:00
Don Gagne 0eea110f6f Modified to use new FILE_TRANSFER_PROTOCOL message
- Also corrected system/component id transmit/check
2014-08-27 17:14:49 -07:00
Don Gagne c8ecf59ab7 List command bug fix, easier debugging
- List command was generating bad data size because it was adding
directory entry char to buffer before testing buffer overflow.
- Added MAVLINK_FTP_DEBUG define to easily turn on/off noisier
debugging output
2014-08-12 14:23:26 -07:00
Don Gagne 1d3edfa629 More FTP support
Added:
- sequence numbers
- directory list returns file sizes
- open command returns file size in data
2014-08-10 12:02:10 -07:00
Don Gagne cfe5c45e04 Fix broken arming unit test
Also, update arming_state_transition calls to add new fRunPreArmChecks
flag.
2014-08-04 09:42:16 -07:00
Don Gagne 014fd5f47b Add fRunPreArmChecks flag
This is to allow unit tests to be written which do not perform pre-arm
checks
2014-08-04 09:41:29 -07:00
Don Gagne 6fbeaeaace Update arming_state_transition calls
Add new fRunPreArmChecks flag
2014-08-04 09:40:38 -07:00
Don Gagne 6f12928389 Fix mainStateTransitionTest 2014-07-07 20:00:44 -07:00
Don Gagne 680ebf29c3 Fix compiler warnings 2014-07-07 15:11:46 -07:00
Don Gagne f5c14ff140 Turn off noisier logging 2014-07-07 10:17:39 -07:00
Don Gagne 2a79689224 Fix unused variable warnings 2014-07-06 16:51:06 -07:00
Don Gagne b8ba6400f2 More logging 2014-07-06 16:04:30 -07:00
Don Gagne 91537934c4 Better logging 2014-07-06 14:58:27 -07:00
Don Gagne 278aafe939 Bring everything up to double 2014-07-06 11:06:14 -07:00
Don Gagne b9299e68d4 Compiler warning fixes 2014-07-05 13:35:12 -07:00
Don Gagne 92adbe9216 Fix compiler warnings 2014-06-29 17:47:24 -07:00
Don Gagne 2448e2adbc More tab fixes 2014-06-29 13:55:55 -07:00
Don Gagne f3af2f9f62 Fix tabbing to 8 spaces, keep tab 2014-06-29 13:47:56 -07:00
Don Gagne 33c20e15a2 Backing out sbus changes 2014-06-29 13:35:15 -07:00
Don Gagne 367613a1b5 Fix tabbing 2014-06-29 13:32:58 -07:00
Don Gagne f0558a97dd Use same warnx/exit pattern 2014-06-29 12:53:59 -07:00
Don Gagne d5b5dcef24 Fix bugs found through compiler warnings 2014-06-29 12:01:43 -07:00
Don Gagne a398d5cbcc Support for List, Open, Read, Terminate commands
Fixed various bugs. Flattened Mavlink::Session class while fixing bugs
in this area.
2014-06-27 20:33:39 -07:00
Don Gagne c1545bd237 Fix float equality comparison
Also restructured incorrect return statement
2014-04-07 18:56:03 -07:00
Don Gagne f97263f5a0 Added comprehensive arming_state_transition unit test
Also converted full to C++ style. Also converted to new unit test code.
2014-03-27 13:07:27 -07:00
Don Gagne dcc11b8cab Update to convert to C++ style 2014-03-27 13:06:09 -07:00
Don Gagne b9a56fbeb9 Fixed bug with transition from in air restore to armed
Also added better debug output for invalid transitions
2014-03-27 13:05:51 -07:00
Don Gagne d5a7e7c52b Rewrote to provide better feedback
Also allows variables as well as static text for assert text in
ut_assert
2014-03-27 13:05:03 -07:00
Don Gagne 521539897e Simpler state transition code
Also fixed ARMING_STATE_ARMED_ERROR->ARMING_STATE_STANDBY_ERROR
transition.
2014-03-26 14:51:57 -07:00
Don Gagne 783a240396 Function naming and remove unneeded sprintf 2014-03-17 11:01:15 -07:00
Don Gagne 4b980b508c arming_state_transition now outputs error messages
If mavlink fd is passed in method will output reason for arming failure
to mavlink.
2014-03-16 21:39:06 -07:00
Don Gagne dec13e7f21 Use single set of arm/disarm code
Set mode and arm/disarm commands now call a single method to arm
disarm, thus removing code duplication. Also calls updated
arming_state_transition method such that the arming state logic does
not need to be duplicated outside of arming_state_transition.
2014-03-16 21:38:23 -07:00