Commit Graph

1948 Commits

Author SHA1 Message Date
Mark Charlebois 12a25e4b63 Merge remote-tracking branch 'upstream/master' into linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>

Conflicts:
	makefiles/firmware.mk
	src/modules/commander/module.mk
	src/modules/mavlink/mavlink_ftp.h
	src/modules/mavlink/mavlink_tests/module.mk
2015-05-04 16:36:59 -07:00
tumbili 4b34d0c297 improved topic listener 2015-05-04 23:10:23 +02:00
Thomas Gubler 07f6165290 make parameter parser work with python3 2015-05-04 14:04:09 +02:00
Mark Charlebois 8e589adb24 topic_listener: added missing build deps
The posix build would complain that toipc_listener.cpp did not exist
and there was no rule to create it.

The required rule was added to src/systemcmds/topic_listener/module.mk

The script generate_listener.py is run from the Build tree and needs to
access $(PX4_BASE)/msgs so $(PX4_BASE) is now passed as an argument to
generate_listener.py

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-26 20:02:58 -07:00
tumbili 3af6e9d76e added autogenerated code for topic listener tool 2015-04-26 22:17:16 +02:00
Mark Charlebois f63ab3d5e3 Merge branch 'master' into linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>

Conflicts:
	makefiles/firmware.mk
2015-04-22 10:38:46 -07:00
Mark Charlebois 19162ba5be Posix: Changed PreflightCheck to read Vdev
PreflightCheck was failing because it was trying to read actual
devices instad of virtual devices.

ADCSIM had a LINUXTEST ifdef that was removed.

posix_run.sh was using the wrong path

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-21 17:14:52 -07:00
Don Gagne 6bf0a2618b Add support for board attribute to parse output
This allows for writing parameter meta data which is specific to a
board type
2015-04-21 12:31:08 -07:00
Mark Charlebois f3b5076d70 Linux to posix conversion
Changed "linux" target to "posix". Most of the changes are shared with
QuRT and with OSX. The Linux specific parts are in for i2c which uses
<linux/i2c.h> and <linux/i2c-dev.h>.

There is also a check for __PX4_LINUX in mavlink for a tty ioctl that is
not supported.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-21 09:53:09 -07:00
Mark Charlebois 6ce0b7b753 QuRT: added missing make pieces
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:37:51 -07:00
Mark Charlebois d2f0572ce6 Linux: added builtins to show devices and topics
list_devices will list virtual devices starting with "/dev/".
list_topics will list topics ("/obj/")

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:37:50 -07:00
Mark Charlebois 87a8289a22 Linux: changed adc to adcsim and add barosim
The name of the app was adc but should have been adcsim.
Added a barometer simulator.

This will allow ms56711_linux to depend on real devices and not
simulation.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:35:48 -07:00
Mark Charlebois f0312d2da0 Linux: Added commands to show threads and devices
The list_tasks and list_devices commands will show
lists of running px4 threads and created virtual device nodes.

The list_builtins command was removes and the list of commands
will be shown if return is pressed.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:35:47 -07:00
Mark Charlebois 80c5812861 Linux: run socat as user not as root
If sudo is used to run socat the tty cannot be opened by a regular user

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:35:47 -07:00
Mark Charlebois cf71db74d7 Support to specify build time OS target
Now run:

make PX4_TARGET_OS=nuttx

or

make PX4_TARGET_OS=linux

To test the linux build and make sure that the required directories
exist, run:

make linuxrun

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:16:26 -07:00
Mark Charlebois 2cd44a24ea Linux: Added linker script support for param and added mc_att_control
Added linker script to resolve __param_start and __param_end.

Added mc_att_control to list of supported builtins.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:16:26 -07:00
Mark Charlebois 526b0e68eb Linux: modified shell to not show _main suffix
The builtin commands all have _main suffix by convention so
no need to show _main. Also nsh calls the commmands without the
_main suffix.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:15:13 -07:00
Mark Charlebois 520459062d Initial Linux support including execution shell
Uncomment the following line in setup.mk and comment out the line above
to enable the Linux build.

   export PX4_TARGET_OS	 = linux

The build uses the clang compiler by default. The final bundled executable
is mainapp located in:

   Build/linux_default.build/mainapp

When you run mainapp it will provide a list of the built-in apps. You can
type in the commands to run such as:

   hello_main start

Because the Linux build is threaded and does not support tasks or processes,
it cannot call errx, exit() _exit(), etc. It also requires unique scoped
variables to test if a thread is running or if an application should exit.
The px4::AppMgr class was added in px4_app.h for this purpose. The
hello sample app demonstrates how this is used.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 10:46:43 -07:00
Lorenz Meier f8cf495494 Revert "Added ability for board specific meta data generation"
This reverts commit 9ac350a7d1.
2015-04-18 11:38:23 +02:00
Don Gagne 9ac350a7d1 Added ability for board specific meta data generation
Use new @board meta data attribute for board specific ifdef support
2015-04-18 11:14:12 +02:00
Don Gagne 202cfd21d0 Change to V2 spec of param meta data
Had to switch to ElementTree to get attribute support
2015-04-16 10:21:18 -07:00
Don Gagne 2fa0c333cb Add version number to parameter meta data 2015-04-15 14:53:06 -07:00
Don Gagne 05c351183f Parameter meta data fixes 2015-04-15 11:29:37 -07:00
Don Gagne c8452bb9d6 Store parameter xml size
This is needed in order to decompress in QGroundControl
2015-04-14 19:17:30 -07:00
Andreas Antener e2d27ade2e remove ROS install scripts, they are now in PX4/containers 2015-04-06 14:02:14 +02:00
Daniel Agar 5cc1a5dfda check_code_style exclude eigen 2015-03-27 19:08:44 -04:00
Lorenz Meier 7554eb515a Fix ROS install instructions 2015-03-25 01:02:29 -07:00
Lorenz Meier 8a584be530 Fix missing dependencies 2015-03-24 14:55:17 -07:00
Lorenz Meier f26edd20f6 Add missing gflags 2015-03-24 14:50:22 -07:00
Lorenz Meier 14247d95dd Ensure Eigen is installed as submodule 2015-03-20 00:01:32 +01:00
Daniel Agar 0eaf41a048 check_code_style.sh properly ignore src/modules/attitude_estimator_ekf/codegen/* 2015-03-19 23:49:36 +01:00
Andrew Tridgell 9d8931328b Tools: added boot_now.py script 2015-03-14 21:12:24 +11:00
Andrew Tridgell 2c2359dcf0 px_uploader.py: added --boot-delay option
this sets the bootloader delay
2015-03-14 21:12:21 +11:00
Lorenz Meier 86970eead7 Matlab tools: Motor transfer function curves 2015-03-11 09:24:30 +01:00
Andrew Tridgell 332d42b105 px_uploader: print chip version 2015-03-07 09:46:27 +01:00
Andrew Tridgell d9b4f5b170 px_loader: added --force option
this can be used to override the board type check. Useful when
changing bootloaders
2015-03-07 09:45:51 +01:00
Lorenz Meier 200f0e9a93 Better error handling for multi-board setups 2015-03-02 23:05:03 +01:00
Lorenz Meier a31fccb0b0 Uploader: Fix flashing if multiple board types are connected 2015-03-02 22:36:48 +01:00
Daniel Agar 265147ce7f make check_format ignore src/modules/attitude_estimator_ekf/codegen 2015-03-02 12:48:24 -05:00
Daniel Agar 8de2b8af14 check_code_style.sh ignore mathlib/CMSIS 2015-03-02 12:48:24 -05:00
Daniel Agar b2082c124a git pre-commit hook don't echo files changed 2015-03-02 12:48:24 -05:00
Daniel Agar b5a2c8708c check_code_style.sh ignore unittests/build directory 2015-03-02 12:48:24 -05:00
Daniel Agar 92a3b9ce1f add astyle pre-commit git hook 2015-03-02 12:48:24 -05:00
Daniel Agar b1dcb10f25 add make check_format to check astyle code formatting 2015-03-02 12:48:19 -05:00
Lorenz Meier 6d2e8b9d08 Reduce delay between board search attempts, code style 2015-02-26 13:07:43 +01:00
Johan Jansen 74177a2688 px4_uploader: Push program bytes faster by using bigger blocks 2015-02-26 11:14:54 +01:00
Johan Jansen a8f9caaaa5 px4_uploader: Prevent spin-lock from hogging CPU 2015-02-26 11:14:06 +01:00
Andreas Antener 172179ee2e removed docker/vagrant stuff, is now in a separate repository 2015-02-19 22:12:28 +01:00
Lorenz Meier 786e2ad9cd uORB header generator: Fix typo in feedback text 2015-02-16 06:52:58 +01:00
Andrew Tridgell 4c8ac04877 PX4: better error msg in python uorb generation error 2015-02-16 06:52:21 +01:00
Andrew Tridgell 36870cf44b Tools: improve python package error message 2015-02-16 06:52:00 +01:00
Thomas Gubler 775e35ceaf fix syntax in uorb header generation script
This fixes syntax and indentation of a58d73b5d0
2015-02-08 13:35:28 +01:00
Thomas Gubler a2a0451094 ros workspace setup scripts: use master branch 2015-02-06 21:16:24 +01:00
Lorenz Meier a58d73b5d0 Add error message with installation instruction if empy is missing. 2015-02-06 08:54:19 +01:00
Lorenz Meier 515266c163 Update header generation script 2015-02-03 20:28:14 +01:00
Lorenz Meier 37ec1ec8de Improve submodule checking 2015-02-03 20:27:51 +01:00
Thomas Gubler 33a32fca14 Tools/ros: add license info 2015-02-01 12:55:15 +01:00
Thomas Gubler e547176ba1 Merge pull request #1734 from PX4/ros_messagelayer_merge_attctrl_posctrl
Ros messagelayer merge attctrl posctrl
2015-02-01 11:58:37 +01:00
Thomas Gubler 2728889f78 Merge remote-tracking branch 'upstream/master' into ros_messagelayer_merge_attctlposctl 2015-01-28 16:29:14 +01:00
Simon Wilks a25dbb3c8e Add a compiler coloring tool to highlight warning and errors in the output. 2015-01-28 11:19:52 +01:00
Andreas Antener 8194cb1071 added ros-joy package and drcsim 2015-01-24 12:39:15 +01:00
Andreas Antener 700ca3c7d0 naming updates 2015-01-24 12:39:15 +01:00
Andreas Antener c4b309c06e added readme for docker container 2015-01-24 12:39:15 +01:00
Andreas Antener aae96a1b16 updated docs, fixed script copy, renamed stuff 2015-01-24 12:39:15 +01:00
Andreas Antener 6ab1f21680 updated setup, added maintainer 2015-01-24 12:39:15 +01:00
Andreas Antener 6db56b8df0 added privileged options to support hardware acceleration 2015-01-24 12:39:14 +01:00
Andreas Antener 4fda482a73 updated copy instruction 2015-01-24 12:39:14 +01:00
Andreas Antener da8c9af37b fixed some stuff 2015-01-24 12:39:14 +01:00
Andreas Antener 353c230db5 restructured things a little bit 2015-01-24 12:39:14 +01:00
Andreas Antener 0bfeedef89 updated build and notes 2015-01-24 12:39:14 +01:00
Andreas Antener 05589e40df updated docker instrumentalization and info 2015-01-24 12:39:14 +01:00
Andreas Antener 2d65e8cb3b initial commit for vagrant/docker based ros setup 2015-01-24 12:39:14 +01:00
Thomas Gubler 6357fa7597 header generation script: create dir if it does not exist 2015-01-23 15:39:34 +01:00
Thomas Gubler 6f7fa3b4e7 header generation script: add option to set output filename prefix 2015-01-23 10:33:18 +01:00
Thomas Gubler 8e15a5b9d0 install script: add missing joy dependency 2015-01-22 15:07:06 +01:00
Thomas Gubler dcdde8ea88 Merge remote-tracking branch 'upstream/master' into ros_messagelayer_merge
Conflicts:
	src/modules/attitude_estimator_ekf/attitude_estimator_ekf_main.cpp
	src/modules/uORB/topics/vehicle_attitude.h
2015-01-21 14:41:03 +01:00
Simon Wilks 0a99a26fcc Cleanup uploader output. 2015-01-19 16:51:08 +01:00
Andreas Antener a5caf1c99b adding '-y' option to apt-get and missing update before drcsim installation 2015-01-19 10:17:58 +01:00
Thomas Gubler 4c9cc4175b ros: update ubuntu install scripts 2015-01-19 07:47:12 +01:00
Andreas Antener 43f3e3ac78 adding drcsim binary installation 2015-01-17 16:52:02 +01:00
Andreas Antener 93173190fd removed drcsim, set bash as executing shell 2015-01-17 16:52:02 +01:00
Thomas Gubler dfba2f3cb0 add drcsim to workspace setup script 2015-01-16 15:18:53 +01:00
Andreas Antener 18b4e15836 added needed dependencies because or recent changes in ROS 2015-01-16 12:16:02 +01:00
Andreas Antener ac76cdbc37 added catkin_make 2015-01-16 12:16:02 +01:00
Thomas Gubler 96db9e8188 Merge remote-tracking branch 'upstream/master' into ros
Conflicts:
	src/platforms/px4_middleware.h
2015-01-15 12:42:28 +01:00
Thomas Gubler 1f26e1f5eb remove hector from install script 2015-01-15 12:36:30 +01:00
Johan Jansen 11469ad9b5 px_uploader: Small fix to properly display timeouts 2015-01-12 12:25:30 +01:00
Thomas Gubler b2366aaa22 Merge remote-tracking branch 'upstream/master' into ros 2015-01-09 08:07:00 +01:00
Johan Jansen 1eda1f816b px_uploader: Minor code cleanup 2015-01-08 16:30:47 +01:00
Johan Jansen 2aa7b3038a px_uploader: Added progress bar for erasing and uploading firmware 2015-01-08 13:18:50 +01:00
Thomas Gubler 417a82c699 add ros setup scripts 2015-01-07 13:48:20 +01:00
Thomas Gubler 25af4b266c Merge remote-tracking branch 'upstream/master' into dev_ros
Conflicts:
	.gitignore
	src/lib/uavcan
2014-12-25 09:48:15 +01:00
Lorenz Meier 84d744707d UAVCAN: Move into lib directory 2014-12-23 14:34:53 +01:00
Lorenz Meier 6e0cf50029 Move unittests into a more perceivable directory 2014-12-20 13:54:58 +01:00
Thomas Gubler 6f9cbd9751 add genmsg and gencpp python modules, ros not required anymore for message generation 2014-12-04 16:40:46 +01:00
Thomas Gubler 8e8f84bde0 uorb topic header generator: only create new files if the file content really changed 2014-12-04 10:39:24 +01:00
Thomas Gubler 8b5bc703a1 initial version of msg to uorb script
Standard and embedded types work, may need small refinements for some
types
2014-12-01 16:39:27 +01:00
Don Gagne f3f7f08e0d Parameter xml metadata in .px4 2014-11-18 17:20:50 -08:00
Lorenz Meier 8e8dd62fbd Let the uploader print the binary size 2014-11-15 13:49:06 +01:00
Lorenz Meier d7ebea6ec2 Fix comparison in upload script for test builds 2014-11-12 12:50:30 +01:00
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