Commit Graph

750 Commits

Author SHA1 Message Date
James Goppert a0fff97fd2 Moved deployment logic to python scripts. 2017-01-13 01:11:14 -08:00
James Goppert 434dddedea Changes to add px4fmu-v2_lpe config. 2017-01-13 01:11:14 -08:00
Julian Oes c91b36bf1f px_uploader.py: try to follow PEP8 (#6278)
This fixes some non-Pythonic things and unneccessary semicolons.

Still to fix are line-length and multiple spaces before operators.
2017-01-12 02:51:06 -05:00
ChristophTobler 21587bf8d3 update submodule sitl_gazebo 2017-01-10 10:09:38 +01:00
Daniel Agar dc787830b5 circleci run tests under code coverage (#6273)
* use regular optimization levels for the code coverage build.
 * the mixer test fails intermittently when built without optimization
2017-01-09 16:08:40 -05:00
Beat Küng 768485c083 jmavsim: update submodule
- enable baro noise
- add lat/lon to ground truth
2017-01-09 11:19:45 +01:00
Daniel Agar b8afc97959 clang-tidy config file .clang-tidy (#6277) 2017-01-08 21:55:24 -05:00
Daniel Agar defaf7f5e5 docker run helper script (#6270) 2017-01-08 13:45:28 -05:00
matanhavi 7df3b4ae71 check_submodules recursevely go over all submodules (#6272)
* Recursevely go over all submodules
Using git submodules command going over all the submodules and not only the ones on the whitelist
and fixed white spaces
2017-01-07 18:55:45 -05:00
Daniel Agar c9956e25b4 mavlink fix code style 2017-01-07 01:03:18 -05:00
Daniel Agar c280358e32 navigator fix code style 2017-01-07 01:03:18 -05:00
James Goppert be14c11589 Fix hook install script to create hook dir if it doesn't exist. (#6269) 2017-01-06 19:28:03 -05:00
Beat Küng 9b3803f71c px_process_params.py: fix for empty cmake scope
Hotfix for cmake configs which use include() for the module list (eg.
posix_sitl_ekf2.cmake or snapdragon). In that case the cmake parser did
not find any modules and thus the param list was empty.

The proper fix will be to parse the include() statements correctly.
2017-01-06 11:52:26 +01:00
Stephan Brown 67a484ac34 Make parameter generation also depend on the scripts that run. Address some review comments. 2017-01-06 09:58:58 +01:00
Stephan Brown e90bf8f8e5 px_generate_params: Sort parameters by name after parsing the xml file. 2017-01-06 09:58:58 +01:00
mazahner 6b0a6fb38f again remove unrequired output 2017-01-04 09:29:52 +01:00
mazahner f0c393baf6 remove unnecessary printfs 2017-01-04 09:29:52 +01:00
mazahner 6fe9b8e543 use CmakeLists scope to generate te XML file
- the only difference really is, that scope (the configuration.cmake) is already passed
  to px_process_params via the argument --scope. The Paths in --scope are evaluated w.r.t
  the path to src provided via the -s /--src-path argument.
- if no --scope is proveided. the Old scheme by simply walking the full --src-path directory
  is applied
2017-01-04 09:29:52 +01:00
Lorenz Meier c72de874d6 Chance airframe and parameter meta generation to FMUv4 2017-01-04 09:29:19 +01:00
Daniel Agar 97bc0f4486 gather test results 2017-01-02 10:14:41 +01:00
Daniel Agar ac7c309925 move cmake version check into cmake 2017-01-02 10:14:41 +01:00
ChristophTobler 90eada1e43 update sitl_gazebo submodule 2016-12-30 10:39:57 +01:00
ChristophTobler 04bc745d66 update sitl_gazebo submodule to master 2016-12-30 10:39:57 +01:00
Lucas De Marchi 72d8a4f932 aerofc: improve upload script
- Run in a single ssh command
  - Allow to update firmware when mavlink-routerd had already been
    stopped
  - Be resilient to another daemon interfering the communication by
    reading/writting to the UART
  - Print OS, BIOS nad FPGA version
2016-12-26 16:11:33 +01:00
Lucas De Marchi d26b406a04 aerofc: update script to upload firmware
mavlink_bridge.py script was removed in favor of new mavlink-router
project (https://github.com/01org/mavlink-router).
2016-12-26 16:11:33 +01:00
Anton Matosov 6d3116e30b Implement the way to run posix simulator directly from IDE without the need to reconfigure command lines, but use runner created via CMake
Steps to debug:
 * Run gazebo (or any other sim) server and client viewers via the terminal: `make posix_sitl_default gazebo_none_ide`
 * In your IDE select `px4_<mode>` target you want to debug (e.g. `px4_iris`)
 * Start debug session directly from IDE

This approach significantly reduces the debug cycle time because simulator (e.g. gazebo) is always running in background and you only re-run px4 process which is very light.
2016-12-26 15:38:25 +01:00
Lorenz Meier da198a40c5 Code style check: Remove stale folder location 2016-12-26 12:12:44 +01:00
Lorenz Meier fa84d104b2 Update SITL Gazebo to include model fixes 2016-12-25 18:15:51 +01:00
Lorenz Meier 349e3f6309 Update SITL Gazebo to include baro noise 2016-12-24 16:14:52 +01:00
Beat Küng 1e05520350 Tools/upload_log.py: add missing source parameter 2016-12-23 00:20:17 +01:00
Lorenz Meier 479374a047 Update SITL gazebo 2016-12-21 14:18:21 +01:00
James Goppert 1a6c1da855 Update sitl gazebo. 2016-12-21 14:15:29 +01:00
Lucas De Marchi 9ee478e1f7 cmake: fix update of git hashes
Since the git hashes were being generate by cmake it would only be
generated if the header file was not present. Simple test:

    $ make aerofc-v1_default
    $ touch a
    $ git add a
    $ git commit -m tmp
    $ make aerofc-v1_default

The file build_aerofc-v1_default/build_git_version.h should have the new
hashes and the correspondent .c/c.pp files should be rebuilt, but they
aren't.  The end result is that checking the version with "ver git" in
the nsh console will point to the wrong commit.

This moves the generation of the header to a separate tool and enforces
the command to be executed every time.
2016-12-21 14:09:41 +01:00
Lorenz Meier 3f545c270d Removed unused code 2016-12-21 08:37:45 +01:00
Lorenz Meier 417eda82ef ROMFS pruner: Kick out excluded files 2016-12-21 08:37:45 +01:00
Lorenz Meier 671e380fd2 Params script: Whitespace cleaning 2016-12-21 08:37:45 +01:00
Lorenz Meier f23881d8ab Airframes tool: Support basic pruning 2016-12-21 08:37:45 +01:00
David Sidrane 2957b8d7d4 Adding Carlo Woods's config cloning tool 2016-12-21 08:34:22 +01:00
David Sidrane dc8c6ea5e5 White space fixes 2016-12-21 08:34:21 +01:00
David Sidrane 57ac4dd401 Adding example of developer custom make file 2016-12-21 08:34:20 +01:00
David Sidrane c417a1be7b Adding USVCAN bootloader support 2016-12-21 08:34:20 +01:00
David Sidrane 318c69c74b Honor GIT_SUBMODULES_ARE_EVIL 2016-12-21 08:34:20 +01:00
Mark Whitehorn 48778ed3f2 bump parameter minor version 2016-12-16 18:12:17 +01:00
Roman 3392e3f9f7 bebop2 upload script: create microsd filesystem so that logger does not
complain

Signed-off-by: Roman <bapstroman@gmail.com>
2016-12-15 00:11:13 +01:00
Andreas Antener 30445ebd68 log upload: ignore error if we cannot get git email, really be quiet with -q except for printing the URL in the end 2016-12-13 10:20:14 +01:00
Lorenz Meier 1926c7bca7 Revert "Implement the way to run posix simulator directly from IDE without the need to reconfigure command lines, but use runner created via CMake"
This reverts commit fff4934743.
2016-12-12 22:32:34 +01:00
Bart Slinger a7c8d77453 Generic helicopter mixer
fix code style
2016-12-10 14:45:49 +01:00
Mark Whitehorn f0b41a0e52 change main trims to normalized values 2016-12-10 12:56:39 +01:00
Mark Whitehorn dbc149c224 change trim units from absolute usec to normalized values 2016-12-10 12:56:39 +01:00
Mark Whitehorn 764101e41e bump parameter minor version 2016-12-10 12:56:39 +01:00