Commit Graph

1948 Commits

Author SHA1 Message Date
Lorenz Meier 1394b02c2e Make tools executable 2014-11-11 13:45:25 +01:00
Lorenz Meier 8599994ebb Add generic uploader tool 2014-11-08 20:38:57 +01:00
Lorenz Meier 5e2330abba Add USB load test from Mark Whitehorn 2014-11-03 08:39:16 +01:00
Lorenz Meier 72977ee909 Better error handling instructions 2014-11-02 22:13:59 +01:00
Lorenz Meier 44a2473632 Fix up reboot logic 2014-11-02 22:03:49 +01:00
Lorenz Meier 5862f4ffe6 Fix error handling 2014-11-02 22:00:42 +01:00
Lorenz Meier 166580b8f7 Time out on serial instead of just hanging there 2014-11-02 21:41:55 +01:00
Andrew Tridgell a82f4881c7 sdlog2_dump: Fixing incorrect tabbing to allow for CSV generation 2014-10-29 23:17:14 +01:00
James Harrison 6ec338c23f Fix px_romfs_pruner.py to skip .data files
The .data extension was missing but used in some places; this would cause the pruner to fail with a UnicodeDecodeError.
2014-10-14 22:18:51 +01:00
Lorenz Meier 4a8d20e2e5 Merged master into st24 2014-10-07 22:49:27 +02:00
Lorenz Meier 4ba4135c3b Code style fixes, no code changes 2014-10-07 12:52:48 +02:00
Lorenz Meier cebdae438d Add missing newline 2014-10-07 12:51:50 +02:00
Lorenz Meier 4d186e56ea Remove unused test data 2014-10-07 12:51:19 +02:00
Lorenz Meier 0078ba2a3b Removed bogus warnignn from test 2014-10-07 12:47:25 +02:00
Lorenz Meier 72fbd76c84 Updated and fixed parser for SF02/F laser sensor, test harness runs clean 2014-10-07 12:46:09 +02:00
Lorenz Meier 7e5910bdbf Formatted ST24 test code 2014-10-07 09:54:20 +02:00
Lorenz Meier 9c89499696 Fix up ST24 lib 2014-10-07 07:14:28 +02:00
Lorenz Meier 966688d092 Fixed ST24 test 2014-10-06 19:20:17 +02:00
Lorenz Meier 34e75672bb SBUS2 fix 2014-10-06 19:20:02 +02:00
Lorenz Meier b4c188cf19 Fix file location for st24 test 2014-10-06 13:41:29 +02:00
Lorenz Meier 72f6aaca96 Add ST24 test harness 2014-10-06 07:53:18 +02:00
Lorenz Meier 7dd81c8cb2 WIP on laser driver unit test 2014-09-27 16:21:25 +02:00
Lorenz Meier 9825ed8f3c Attempt at fixing programming timeouts 2014-08-25 10:21:26 +02:00
Lorenz Meier 3f4aef60c8 Increase timeout in an attempt to prevent timout python failure 2014-08-12 08:21:38 +02:00
Anton Babushkin 92a4757971 sdlog2_dump.py: minor fix allowing handling FMT messages in the middle of stream 2014-07-31 12:45:44 +02:00
Anton Babushkin 5a7a6bca77 fetch_log.py renamed to fetch_file.py and reworked, works with all files, not only logs, added recursive directory download 2014-07-29 16:02:58 +02:00
Lorenz Meier 53f1b31902 Do not abort on submodule init feedback 2014-07-24 21:41:09 +02:00
Lorenz Meier 086fc7f758 Merge pull request #1128 from PX4/uavcan
Basic UAVCAN support
2014-07-22 06:48:49 +02:00
Lorenz Meier 331623bbd4 Fix missing line endings 2014-07-21 13:48:59 +02:00
Lorenz Meier afff123742 Add PX4IO voltage dataset and linear fit 2014-07-21 13:30:56 +02:00
Lorenz Meier 8960c9e0a8 better submodule instructions 2014-07-12 19:28:10 +02:00
Lorenz Meier a2f528c5ba Merged master 2014-07-12 16:11:43 +02:00
Pavel Kirienko 024c8213a1 Fixed check_submodules.sh for UAVCAN 2014-07-12 17:45:05 +04:00
Pavel Kirienko 9a56892c2b Merge branch 'master' into uavcan 2014-07-12 17:38:49 +04:00
Lorenz Meier 5bb8c50112 Fixed the submodule check logic 2014-07-10 16:14:21 +02:00
Simon Wilks 13b41a2629 Add quotes around the variable. It's safer. 2014-07-08 19:17:25 +02:00
Simon Wilks b4ab31a2ba A more compatible way of checking for an empty string. 2014-07-08 19:11:28 +02:00
Pavel Kirienko 6814ddccff UAVCAN as a submodule 2014-07-08 20:19:17 +04:00
Lorenz Meier 76f82bf237 Updated submodule update instructions 2014-07-08 15:04:01 +02:00
Andrew Tridgell bc06d839ea Tools: skip check_submodules.sh when GIT_SUBMODULES_ARE_EVIL is set
this avoids using submodules when a specific NuttX tree is specified
2014-07-08 15:01:48 +02:00
Lorenz Meier 52713bc0ba Revert "Tools: skip check_submodules.sh when NUTTX_SRC is set"
This reverts commit ac8f179f2d.
2014-07-08 15:00:44 +02:00
Andrew Tridgell ac8f179f2d Tools: skip check_submodules.sh when NUTTX_SRC is set
this avoids using submodules when a specific NuttX tree is specified
2014-07-08 13:56:02 +02:00
Lorenz Meier d6999384ce Improve modem manager warning to avoid having smart people tell us we have Linux compatibility issues while we actually do not. 2014-07-08 11:42:46 +02:00
Andrew Tridgell 0785512026 px_uploader: added ModemManager warning 2014-07-08 11:41:04 +02:00
Lorenz Meier 2eb018b273 bugfixes for checks and tools 2014-07-07 22:20:55 +02:00
Lorenz Meier cd9f4f33a5 Turn instructions into a makefile command, allowing Windows GUI kids to create a make target in Eclipse just for this 2014-07-07 17:51:30 +02:00
Lorenz Meier 72ccbe9c4e Fixed check tools 2014-07-07 17:35:47 +02:00
Lorenz Meier 4c2cc65ca6 Cleaning up sub modules 2014-07-07 17:18:54 +02:00
Thomas Gubler 68dbf0057a add mavlink submodule check script
The script checks if the mavlink submodule is up to date
2014-07-07 15:25:32 +02:00
Lorenz Meier 8c638d2add XML tool 2014-07-01 14:28:48 +02:00
Thomas Gubler f169497e86 fix code style script: enforce max line width of 120 chars 2014-05-12 11:13:05 +02:00
Lorenz Meier 5199dea2b3 Merge pull request #876 from PX4/autodeclination
Added automatic declination lookup
2014-05-03 03:41:30 -07:00
Lorenz Meier 22f262a241 host tests: Fix missing newlines 2014-05-03 12:40:11 +02:00
Thomas Gubler d5e463352d romfs pruner: fix filename check 2014-05-02 17:34:50 +02:00
Thomas Gubler 047dfc7714 romfs pruner: do not try to prune .swp files 2014-05-02 14:26:22 +02:00
Lorenz Meier 9c81ab113e Updated outo-test 2014-04-28 20:42:46 +02:00
Lorenz Meier 7aefcb7a09 Add autodeclination testing - no-op right now 2014-04-28 20:29:45 +02:00
Lorenz Meier 238a3636fa Add autodeclination 2014-04-28 20:29:13 +02:00
Lorenz Meier 3959d0c1c9 Disable sbus2_test for now, just leverage the testing infrastructure 2014-04-28 19:24:44 +02:00
Lorenz Meier db30491051 Add missing newline 2014-04-28 19:20:14 +02:00
Lorenz Meier c179863b1e Improve testing infrastructure for mixer and SBUS2 2014-04-28 19:19:50 +02:00
Andrew Tridgell ec2197fd1b uploader: ignore bad character encodings for older bootloaders
this prevents the uploader from throwing an exception with older
bootloaders
2014-04-05 12:07:27 +02:00
Stefan Rado 1a98589f3a Merge remote-tracking branch 'remotes/origin/master' into param_tool 2014-03-22 11:13:54 +01:00
Lorenz Meier db04e00060 Merge pull request #712 from PX4/fetch_log
Log fetcher utility
2014-03-12 20:32:58 +01:00
Lorenz Meier 368c2390cf Merge pull request #673 from PX4/romfs_prune
ROMFS: ignore comments and newlines in startup files, text in mixer files
2014-03-10 19:01:23 +01:00
Anton Babushkin cb8bd1a3ad dumpfile command and fetch_log.py tool implemented to fetch logs via nsh console on USB 2014-03-08 21:05:13 +04:00
Julian Oes 680f2dd417 Merge remote-tracking branch 'px4/master' into beta 2014-02-27 17:30:15 +01:00
Lorenz Meier 99b376089f Replace single if lines with brackets in astyle 2014-02-23 07:26:23 -08:00
Lorenz Meier ff8f92af31 Remove Ubuntu code style script - people should use the reference one 2014-02-23 07:24:03 -08:00
Stefan Rado ec78fcf2b9 Improve DokuWiki formatting. 2014-02-19 01:54:01 +01:00
Stefan Rado 8d41155fb6 Rework px_process_params.py into a fully featured program. 2014-02-18 22:34:52 +01:00
Stefan Rado 55e66f5ad1 Rename Scanner and Parser classes to SourceScanner and SourceParser to avoid naming conflicts. 2014-02-18 22:07:42 +01:00
Stefan Rado e9feef8ff6 Simplify file extension check. 2014-02-18 22:00:10 +01:00
Stefan Rado a7ee2e71a0 Recognize @unit parameter documentation tag. Not used in any output yet. 2014-02-18 21:36:55 +01:00
Stefan Rado 7fa82a27a7 Merge branch 'master' into beta 2014-02-17 22:10:06 +01:00
Stefan Rado 1afa53a159 Cleanup: Moved sdlog2 file conversion scripts to separate folder. 2014-02-17 21:15:35 +01:00
Julian Oes 94c40b6fa4 ROMFS: only identify *.mix as mixer files 2014-02-17 09:06:35 +01:00
Julian Oes a61a89f339 ROMFS: ignore comments and newlines in startup files, text in mixer files 2014-02-17 00:25:30 +01:00
Stefan Rado 49cc0bd162 Explicitly treat all files as UTF-8. 2014-02-16 01:51:37 +01:00
Stefan Rado d30335cb3f Fixes for Python 3 and refactoring: Merge generic Output class into specialized output classes as some need to write files in binary mode. 2014-02-15 21:37:47 +01:00
Stefan Rado 1a7518a422 Fixes for Python 3: Use sorted() with key parameter instead of deprecated (and removed) cmp() function. 2014-02-15 21:37:47 +01:00
Stefan Rado 2e4c26c957 Rename parser.py to srcparser.py to prevent naming conflicts with built-in Python parser library. 2014-02-15 21:37:47 +01:00
Stefan Rado ed3ffc26d6 Layout fixes for wiki parameter documentation.
- Replace newlines in names and comments with a space.
- Right align min/max/default values.
2014-02-14 02:21:24 +01:00
Lorenz Meier 1b978293d9 Merged master into beta 2014-02-11 08:24:18 +01:00
Lorenz Meier 70964dd87c Update upload script from bootloader repo 2014-02-09 18:34:54 +01:00
Lorenz Meier 080b2da214 Updated uploader from Bootloader repo 2014-02-05 14:24:01 +01:00
Anton Babushkin 655192a7f1 Merge branch 'master' into beta 2014-01-29 22:13:22 +01:00
Lorenz Meier 2b17909f0c Changed param location 2014-01-29 19:18:44 +01:00
Lorenz Meier 60859607ff Better output 2014-01-29 15:11:50 +01:00
Lorenz Meier d40382425f Triggering param documentation generation 2014-01-29 14:51:57 +01:00
Julian Oes 99875bbd28 FSM visualisation script: cope with prefixed state names 2014-01-28 12:31:23 +01:00
Julian Oes 1488d32d0f FSM visualisation script: renamed the file 2014-01-28 10:49:14 +01:00
Julian Oes c5a3dd9168 FSM visualisation script: use argparse instead of optionparse and some minor cleanup 2014-01-28 10:46:44 +01:00
Julian Oes cd9ec04904 Added FSM visualisation script 2014-01-28 10:15:28 +01:00
Lorenz Meier f3cd83e804 Merged master into mixer unit tests branch 2014-01-15 07:43:17 +01:00
Lorenz Meier f595b204ea Parameter documentation improvements 2014-01-13 08:33:25 +01:00
Lorenz Meier 7ae71316fa Missing line break at EOF 2014-01-02 09:49:43 +01:00
Lorenz Meier eb47a164cb Added missing HRT functionality, cleanup 2014-01-02 01:18:12 +01:00
Lorenz Meier 7f14f1f7de Add conversions and mixer tests. Work in progress 2013-12-31 14:45:38 +01:00
Julian Oes dcfd5bdbe7 Python uploader: Ignore exceptions when sending reboot tries 2013-12-02 23:07:36 +01:00
Lorenz Meier cc324f2624 Ignoring docs output 2013-10-24 09:28:14 +02:00
Anton Babushkin bb8a2c3631 sdlog2_dump.py: C strings parsing fixed 2013-10-23 18:57:44 +02:00
Alexander Lourier 0f67c5cbb0 Parameters list generator 2013-10-18 03:47:15 +04:00
Lorenz Meier b3fb2bf850 Merge branch 'master' of github.com:PX4/Firmware into mixer_testing 2013-10-13 14:56:13 +02:00
Lorenz Meier 8aaf285ac5 Python exception handling from muggenhor 2013-10-13 12:38:26 +02:00
Lorenz Meier 5671df0af4 Improved mixer tests 2013-10-13 11:44:42 +02:00
Lorenz Meier 42b75ae896 Added host-building mixer test 2013-10-12 20:19:34 +02:00
Lorenz Meier 3796235967 Remove accidentally comitted COM tool 2013-09-12 12:58:08 +02:00
Andrew Tridgell 1f19a27e3c make upload on Linux much more reliable
Upload on Linux now only tries usb-3D_Robotics boards. This should
also make it handle more ports on MacOS
2013-09-12 00:47:08 +02:00
Lorenz Meier 57769ec437 Reducing timeout to 0.5 seconds 2013-09-10 14:09:09 +02:00
Julian Oes d30ba44f46 The python uploader can now reboot the board 2013-09-04 14:54:16 +02:00
Julian Oes 59373399ff Uploader works now with Python 2.7 and 3.3 2013-09-04 13:30:00 +02:00
Julian Oes 96e7f42844 Merge branch 'master' into python3_compat 2013-09-03 09:34:25 +02:00
Lorenz Meier 3c0c11aec3 v4 compatibility 2013-09-03 07:49:57 +02:00
Julian Oes 1fed9ef1b1 Make px_mkfw.py and px_upload.py compatible with both python 2.7 and 3.3 2013-08-23 13:37:58 +02:00
Lorenz Meier 53b373dd82 Minor fixes to log conversion scripts 2013-08-13 08:50:40 +02:00
Lorenz Meier da9d9781f9 Final version of log conversion script, runs with Python 2 or 3 on Windows, Linux and MacOS. Tested on Mac with 2 and 3 2013-08-13 07:33:32 +02:00
Lorenz Meier b3d2efc90a WIP 2013-08-13 07:26:05 +02:00
Lorenz Meier 487497d66e Added Python 2 / 3 Windows / Linux / Mac OS converter script. So much for cross-platform / version agnostic 2013-08-12 23:50:29 +02:00
Lorenz Meier d3d9d059c0 First stab at Python 2 and 3 compatibilty 2013-08-12 22:03:57 +02:00
Lorenz Meier 518e95ce44 Hotfix: Fixed Windows execution of sdlog2 dump script 2013-08-12 21:49:49 +02:00
Lorenz Meier 7861caf482 Hotfix: Cleanup / revision of log conversion scripts 2013-08-08 11:24:57 +02:00
Lorenz Meier 339c2599a4 Hotfix: Fixed sdlog2 MATLAB export 2013-07-29 00:30:37 +02:00
Anton Babushkin 6e5e1ff817 sdlog2_dump.py comments and version updated 2013-06-02 12:22:43 +04:00
Anton Babushkin bd8bafb347 sdlog2_dump.py: "recover from errors" option 2013-06-02 10:43:39 +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 8dbda51289 Cleanup 2013-05-27 18:04:19 +04:00
Anton Babushkin 84aa52c81a sdlog2_dump.py now dumps CSV columns in the same order as args 2013-05-27 18:01:03 +04:00
Anton Babushkin f5e405ef5b sdlog2_dump.py now generates customizible CSV output, messages/fields filter added. 2013-05-26 20:15:46 +04:00
Anton Babushkin 81e7af3185 sdlog2_dump.py now supports all fileds formats and able to parse original APM log 2013-05-26 15:35:43 +04:00
Anton Babushkin 691dc8eefd sdlog2 strick packing fixed, length bug fixed, "sdlog2_dump.py" debug tool added 2013-05-26 00:14:10 +04:00
Anton Babushkin 9f5fee09ba logconv.py added: convert sdlog binary log to CSV 2013-05-22 21:43:23 +04:00
px4dev 01e427b17c Merge working changes into export-build branch. 2013-04-26 16:14:32 -07:00
Lorenz Meier 3ea44e4a29 Hotfix: Make firmware generator and uploader python scripts Python 2 AND Python 3 compatible. 2013-03-18 15:11:02 +01:00
Lorenz Meier a03a2f9231 Hotfix: Roll back an attempt to let the system know we want Python 2. Its better to make the uploader Python 3 compatible 2013-03-18 09:38:35 +01:00
Thomas Gubler e0376fc375 archlinux compatibility 2013-03-09 15:22:24 +01:00
jgoppert d9491b20cc Reformat of math library with astyle. 2013-01-06 15:33:55 -05:00
Lorenz Meier 996e363122 Hotfix: general MAVLink update, including file transfer 2012-12-01 02:13:49 +01:00
Lorenz Meier c7616f89a3 Hotfix: Made uploader more verbose on errors 2012-12-01 02:03:30 +01:00
Lorenz Meier 21b86cba26 Updated upload script 2012-10-02 10:41:21 +02:00
Lorenz Meier 9de6a81543 Updated EKF filter, fixed uploader (reverted to master) 2012-10-02 09:23:47 +02:00
tnaegeli c9f27cbdc9 f 2012-09-24 18:23:00 +02:00
px4dev e3f0b8f255 Add support for a range of bootloader protocols. 2012-09-19 21:52:42 -07:00
px4dev 0ad1834242 Minor correctness fixes. 2012-09-16 12:26:14 -07:00
px4dev b871d28c6d Avoid trying to adjust the port timeout once it's open; Windows apparently doesn't like this. 2012-09-09 22:09:17 -07:00
px4dev be85f895a0 Use a much shorter timeout for normal communication, and stretch it only when we are waiting for erase. 2012-08-22 17:06:58 -07:00
px4dev 67ae727365 Bootloader requires images be a multiple of 4 bytes; pad to comply. 2012-08-11 19:42:24 -07:00
px4dev 8a365179ea Fresh import of the PX4 firmware sources. 2012-08-04 15:12:36 -07:00