Commit Graph

1063 Commits

Author SHA1 Message Date
Nuno Marques 3fcffe1f3b Tools: update sitl_gazebo (#8597) 2018-01-05 14:09:31 -05:00
Julian Oes f3bd241dbe jMAVSim: update to latest master
This brings some support for mavlink 2, and various other bugfixes.
2018-01-04 21:27:16 +01:00
TSC21 fefed35dfe Tools: update sitl_gazebo 2018-01-01 21:06:00 +01:00
Daniel Agar ad532d0510 docker_run.sh update container versions to match Jenkins 2018-01-01 10:27:43 -05:00
Lorenz Meier e7fe8f7268 Uploader: Enforce matching maximum flash sizes
The goal is to force developers to use the correct target with the correct flash size. This prevents criticial functionality missing and is in particular important for FMUv2/FMUv3 boards. It is unmaintainable otherwise for the Pixhawk series.
2018-01-01 09:29:55 -05:00
Anass Al dc6e47f777 Update SITL Gazebo for magnetic declination fix 2018-01-01 11:52:35 +01:00
Lorenz Meier 34ea229a78 Update Gazebo with GUI fix 2017-12-30 20:14:33 +01:00
Lorenz Meier ab30532f52 Update SITL Gazebo with build system fixes 2017-12-30 20:10:00 +01:00
Lorenz Meier 3cc356a703 Gazebo: Update repository to enable video streaming support 2017-12-30 18:17:25 +01:00
Lorenz Meier ab2f85d4ff SITL: Search MAVLink locally 2017-12-30 14:47:37 +01:00
Lorenz Meier 5d4086309f Gazebo: Fix build for Gazebo 8 and tune down GPS noise 2017-12-30 13:05:51 +01:00
Lorenz Meier e3f5f8e475 Update Gazebo submodule to include gimbal fixes 2017-12-30 11:46:55 +01:00
Beat Küng 3da8031e8e uorb graph: improve error output 2017-12-18 10:19:15 +01:00
Beat Küng eeff52cda7 uorb_graph: add .gitignore, change graph file for sitl runtime config 2017-12-18 10:19:15 +01:00
Beat Küng 57f92250b3 uorb graph create.py: sort modules & topics by name length for JSON output 2017-12-18 10:19:15 +01:00
Beat Küng 9bff0c8c04 uorb graphs: add script to create graph from a posix startup script 2017-12-18 10:19:15 +01:00
Beat Küng e2d6c0a8f9 uorb_graph: add script to generate uORB pub/sub graphs
2 possible output formats:
- JSON (can be used with D3.js)
- Graphviz

Not covered yet: Publication & Subscription classes
2017-12-18 10:19:15 +01:00
Daniel Agar 4beeb7f560 delete obsolete s3 upload helpers 2017-12-15 14:31:25 -05:00
Daniel Agar 868ff42f47 check_submodules.sh handle CI forced update only if directory exists 2017-12-15 14:31:25 -05:00
Daniel Agar f01400d407 check_submodules.sh force update if in CI 2017-12-11 16:48:39 -05:00
Daniel Agar 1886c8d983 check_submodules try harder when fetching to work around various issues 2017-12-10 19:24:05 -05:00
Daniel Agar db8900fffc cmake improve git submodule dependencies 2017-12-06 21:15:32 -05:00
Daniel Agar d1a4c2dcd0 cmake handle git submodule depdencies 2017-11-23 00:22:45 -05:00
Florian Achermann a5cc4bcd08 Update SDP3x Airspeed Correction (#8242)
Update the model for the standard configuration based on the model from Sensirion and add also an option to do the tube pressure loss correction from Sensirion for other configurations.
2017-11-22 22:03:26 -05:00
Daniel Agar fc80846825 simplify param scoping and centralize dependencies 2017-11-22 10:36:51 +01:00
Julien Lecoeur 2ca00f1a65 Docker: update images to tag 2017-10-23 2017-11-15 09:56:10 +01:00
Beat Küng cf7140526a jMAVSim: update submodule to include fix for VMware driver 2017-11-08 10:47:57 +01:00
Beat Küng 44839208f7 jmavsim_run.sh: add more aggressive GC option
This reduces memory usage by roughly 100MB on my laptop
2017-10-27 10:43:45 +02:00
Beat Küng 083a59ebc0 Tools/jMAVSim: update submodule (updated textures & rendering) 2017-10-27 10:43:45 +02:00
Matthew Edwards ccf3e71b56 Bump parameter.xml minor version (#8120). 2017-10-25 11:30:31 +02:00
Daniel Agar 136d259876 travis-ci fix coverity scan and px4_metadata (#8156) 2017-10-20 09:20:30 -04:00
Daniel Agar d83073f016 move RTPS to dedicated px4fmu-v{3,4,4pro,5}, posix, sdflight builds (#8113) 2017-10-17 16:29:55 -04:00
davidaroyer ed9e798f86 docker_run.sh: add ocpoc target 2017-10-05 09:34:14 -07:00
Jonas Vautherin 93c1ad3103 sitl: add possibility to not run gazebo when running make 2017-10-04 15:38:37 +02:00
Daniel Agar 48f1e3ed1c uORB generation move to msg/ 2017-09-29 10:13:51 -04:00
Daniel Agar e38136fc9f NuttX build re-enable hard link copy and improve builtin_list 2017-09-29 10:13:51 -04:00
Daniel Agar 01b3e6fd25 NuttX upgrade cmake wrapper (#7873)
* NuttX cmake

* px4_macros:Pass the stringified predicate as second arg to static assert

   CC_ASSERT mapes to the c++ static_assert or provides the same
   funtionality for c via the other macros. The c++ static assert
   takes 2 argumants the prdicate and a message. This fixes the
   lacking second argument.

* Updated nuttx and apps submodule to upstream nuttx 7.21+==master

   This is the latest uptake of upstream nuttx and apps.

* ROMFS generate with xxd instead of objcopy

* delete nuttx-patches

* NuttX update submodules to latest px4_nuttx-master

* fix nuttx apps and board dependency

* docker_run update to latest container 2017-08-29

* cmake ROMFS portable sed usage

* NuttX update submodules to latest px4_nuttx-master
2017-09-29 10:13:51 -04:00
David Sidrane 86c52e2ecf Tools:nuttx_defconf_tool upstream has CONFIG_START_YEAR etal
Re insetion of CONFIG_START_{YEAR|NONTH|DAY} is not needed as
   CONFIG_START_{YEAR|NONTH|DAY} have been defined always in
   upstream NuttX
2017-09-29 10:13:51 -04:00
Daniel Agar d04d62c37e airframe metadata sort by SYS_AUTOSTART and minor cleanup (#8009) 2017-09-25 11:17:50 -04:00
ChristophTobler e5f46856c4 update submodule sitl_gazebo to include new range orientation 2017-09-25 11:46:44 +02:00
Daniel Agar 3498fe0c6f delete sdlog2 EKF2 replay (#7982) 2017-09-19 10:20:41 -04:00
NRottmann 81782444e4 Update sitl_gazebo to latest version 2017-09-13 06:20:05 -07:00
Julien Lecoeur ceeae7587e worst case analysis of stack usage (#7883)
* Makefile target "check_stack"
2017-09-10 13:34:34 -04:00
Daniel Agar 8f1355c325 docker_run.sh add default port (14556 udp) and remove X11 setup (#7936) 2017-09-07 22:21:18 -04:00
Lucas De Marchi fd3b0eafb2 aerofc: allow to use 921600 baud to reboot 2017-09-05 20:28:15 +01:00
Daniel Agar edea4a369e uavcan start enforcing code style (#7856) 2017-08-25 13:07:21 -04:00
Daniel Agar 47eb371c01 delete Tools/make_color.sh 2017-08-23 08:07:36 +02:00
Daniel Agar c8bc6f961f topic_listener move generator to same directory 2017-08-23 08:07:36 +02:00
Daniel Agar 9f15c572a3 astyle scripting move to Tools/astyle 2017-08-23 08:07:36 +02:00
Mark Charlebois 295ffdc1b6 Use specific vesions
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2017-08-19 09:42:50 +02:00
Mark Charlebois 326445ba83 Removed support for astyle 2.05.1
There are bugs in version 2.05.1 (default version in Ubuntu 16.04)

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2017-08-19 09:42:50 +02:00
José Roberto de Souza d640d1aaf1 submodules: sitl_gazebo: Update to newest version 2017-08-19 09:04:52 +02:00
Lorenz Meier 9e312e8dba Uploader: Do not show timeout for larger binaries when everything is still as expected. 2017-08-13 11:36:12 +02:00
Daniel Agar b9c1d87876 docker_run respect PX4_DOCKER_REPO env variable 2017-08-10 03:09:33 -04:00
Beat Küng 55f65b4aff Tools/message_id.py: rename to uorb_rtps_message_ids.py for clarity 2017-08-08 21:47:17 +02:00
Beat Küng 1d40336723 airframes parser: add dodecarotor image 2017-08-08 11:59:00 +02:00
Vicente Monge a93174dee4 Fix for manual/automatic micro RTPS bridge generation 2017-08-07 12:00:35 +02:00
Beat Küng 4ee9cb2e2f px4airframes markdown: always use '/' for path separation
Because it's an URL and os.path.join() will use '\' on windows.
2017-08-07 11:12:51 +02:00
Lorenz Meier 9d49690f17 GPS simulation: Manage delays correctly
The GPS simulation now mimicks the real driver more closely and should provide even GPS delays. The delays themselves are set by the simulator, and default to 120 ms for Gazebo
2017-08-02 13:06:59 +02:00
Vicente Monge e7b7b27ef8 Adding src/lib/micro-CDR to files_to_check_code_style.sh 2017-08-01 22:32:43 +02:00
Vicente Monge c5e2745a19 Fixes for manual bridge generation
Fix for some forgot .cxx extensions
Fix for 'print' python 2 3 compatibility
Fix for topic ID type change
2017-08-01 22:32:43 +02:00
Mark Charlebois c05ea542d9 Added requested information about generate_microRTPS_bridge.py
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2017-08-01 22:32:43 +02:00
Mark Charlebois b31006dd78 Converted os.system calls to python methods
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2017-08-01 22:32:43 +02:00
Mark Charlebois 049c769293 Converted cxx to cpp
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2017-08-01 22:32:43 +02:00
Mark Charlebois 187cbbcfe6 Updated src/lib/micro-CDR
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2017-08-01 22:32:43 +02:00
Daniel Agar 2151890e50 urtps microRTPS_transport.h code style 2017-08-01 22:32:43 +02:00
Daniel Agar 1fcca041f3 docker_run.sh update px4-dev-snapdragon to FastRTPS 2017-07-28 tag 2017-08-01 22:32:43 +02:00
Daniel Agar 95a496d121 docker_run.sh update to FastRTPS 2017-07-27 tag 2017-08-01 22:32:43 +02:00
Mark Charlebois b19dc0650e Fixed format issues and missing micro-CDR in a config file
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2017-08-01 22:32:43 +02:00
Vicente Monge c85039e413 Fixing rebase conflicts 2017-08-01 22:32:43 +02:00
Lorenz Meier 587f4d8f33 jMAVSIm: Explicitely configure to 500 Hz 2017-08-01 19:50:35 +02:00
Lorenz Meier 879356c25b SITL gazebo plugin: Harden dynamics of delta quad 2017-08-01 19:50:35 +02:00
Lorenz Meier d1973a6c7f jMAVSim: Update submodule to use new timestamp API 2017-08-01 19:50:35 +02:00
Lorenz Meier 94684899a5 Gazebo: Fix usage of timestamps 2017-08-01 19:50:35 +02:00
Lorenz Meier 292dce04aa Gazebo client: Reduce priority to avoid affecting other processes 2017-08-01 19:50:35 +02:00
Beat Küng e3b61f22f2 Tools/upload_log.py: use https 2017-07-31 14:15:28 +02:00
Lorenz Meier 3c89059199 Update SITL version to fix image triggering 2017-07-31 12:26:08 +02:00
ChristophTobler a240eeb86a update sitl gazebo to include tranformation fix 2017-07-28 17:23:22 +02:00
ChristophTobler 44cd65798b update sitl_gazebo to use the vision position estimate 2017-07-28 09:09:56 +02:00
Lorenz Meier 98bd6e43e8 SDP3x: Add model for pitot pressure drop 2017-07-26 09:27:32 +02:00
Lorenz Meier 0d30d817b8 Update SITL Gazebo to default triggering to MAVLink 2 2017-07-18 23:05:43 +02:00
Lorenz Meier efba7fa7b9 Update SITL gazebo 2017-07-18 23:05:43 +02:00
Julien Lecoeur bc006b81fc can_boot_descriptor: python3 compatibility 2017-07-18 08:24:37 +02:00
Beat Küng 913cbc773e px4moduledoc: extend validation: limit max line length to 120 2017-07-14 11:57:11 +02:00
Beat Küng 8b64fc8a5e Tools/px4moduledoc: add some comments, describe the regexes 2017-07-14 11:57:11 +02:00
Beat Küng 674ae5292e markdown module doc script: write how to generate the modules documentation 2017-07-14 11:57:11 +02:00
Beat Küng 7a4f557a7a px_process_module_doc: separate page into one page per category 2017-07-14 11:57:11 +02:00
Beat Küng 3b0da512a5 px_process_module_doc: add --no-validation flag
and make sure the command failed if there's a validation error.
2017-07-14 11:57:11 +02:00
Beat Küng 6c9574b336 Tools/px_process_module_doc.py: add script to extract documentation
And turn it into a markdown page.
It also does some simple validation, to check that the getopt() arguments
match the documentation.
2017-07-14 11:57:11 +02:00
Beat Küng 45bc882f5d px_process_params: fix scope when script is called from repo root
If called with ./Tools/px_process_params.py, the path would start with
src/<module>, and thus not match the regex "^.*/src/"
2017-07-14 11:57:11 +02:00
Beat Küng 41e53ef949 px_process_airframes: add image path as optional argument for markdown output
usage:
./px_process_airframes.py -m -i ../image/path
2017-07-14 11:57:11 +02:00
David Sidrane de97ff163b NuttX/nuttx got tagged and broke git version version exraction
This is part one of a fix for cascading failure. The NuttX
  nuttx repos was tagged with upstream_7.18+ and broke the tag
  extraction that was expecting nuttx-M.mm
2017-07-14 10:46:30 +02:00
Anup Parikh 1cff86025e Fix issue #7525
Add missing `.py` extension to Tools/px4 to fix #7525
2017-07-10 18:48:27 +02:00
garfieldG 44e148151b Fixed the version naming 2017-07-09 13:08:49 +02:00
Julian Oes d64b7706f5 check_code_style_all: accept astyle version 3.0.1 2017-07-08 11:52:23 +02:00
Beat Küng 18ea5ec1f8 logger: add git branch name to the log 2017-07-07 17:06:48 +02:00
Hamish Willee 5af62c8e49 Fix up so image links work properly 2017-07-06 22:21:46 +02:00
Hamish Willee 02b1048752 Make default output file name airframes_reference.md, which is expected by our gitbooks 2017-07-06 22:21:46 +02:00
Hamish Willee 8edc70d150 Add anchors for every vehicle in airframes reference 2017-07-06 22:21:46 +02:00
James Goppert d10a491243 Add logging profiles to logger module. 2017-07-06 09:02:13 +02:00
Lorenz Meier 9bb3ab4a71 Update SITL module 2017-07-06 07:42:17 +02:00
Lorenz Meier ca7c71b759 Update SITL version 2017-07-02 21:50:02 +02:00
Lorenz Meier 4cae86dc1a Update jMAVSim 2017-07-02 16:59:55 +02:00
Lorenz Meier 82bd13bfe0 Update SITL Gazebo interface version 2017-07-02 16:46:13 +02:00
Lorenz Meier 6ea9c1877b Add version command to PX4 tools directory 2017-07-02 14:43:13 +02:00
Hamish Willee 071cfc2d31 Ensure groups have unique names in TOC 2017-07-01 20:04:46 +02:00
Hamish Willee 6f3b6bf55b Update parser to get class information and create separate groups for each class 2017-07-01 20:04:46 +02:00
Hamish Willee 50140b3d90 Group by vehicle type and add headings 2017-07-01 20:04:46 +02:00
Hamish Willee d88e387013 Fix typo in exported text 2017-07-01 20:04:46 +02:00
Lorenz Meier a6ef6c6e33 SITL Launcher: gzserver must be running when gzclient connects 2017-06-27 11:59:29 +02:00
Lorenz Meier ad624c4a0a Airframes parser: Add new class field 2017-06-27 11:07:03 +02:00
Khoi Tran 355205554a Use format to properly format file for process_logdata_parser.py 2017-06-20 08:24:30 +02:00
Mohammed Kabir 4d6c1b5749 Add second barometer to thermal compensation fitting script 2017-06-16 21:15:09 +05:30
Beat Küng 1392e25652 Tools/jMAVSim: update submodule
allows setting gps origin via ENV variable
2017-06-14 13:12:10 +02:00
Nicolae Rosia 5e57594fba update docker_run.sh
Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com>
2017-06-13 08:16:37 +02:00
Nicolae Rosia a6acb2e68e ARM Toolchain: search compiler in PATH
Add CMake target for strip since these changes break adb_upload_to_bebop.

GCC users should add the cross compiler bin path to PATH (location of arm-linux-gnueabihf-g++).
Clang user should do the following:
* set CMAKE_CXX_COMPILER to clang++ by providing -DCMAKE_CXX_COMPILER=clang++ to cmake
* get GCC cross compiler - needed because Clang does not ship a CRT
* create a symlink for clang and clang++ in GCC cross compiler bin dir.
* add GCC bin dir to PATH

Signed-off-by: Nicolae Rosia <nicolae.rosia@gmail.com>
2017-06-13 08:16:37 +02:00
Kabir Mohammed f266b91cc9 bebop uploader : kill and restart autostarted PX4 daemon 2017-06-13 08:16:37 +02:00
Kabir Mohammed 8b1ca2ea9b Rename RPi/Bebop toolchain locations to PX4_TOOLCHAIN_DIR 2017-06-13 08:16:37 +02:00
Kabir Mohammed f123ade6d3 Rename to generic arm toolchain 2017-06-13 08:16:37 +02:00
Daniel Agar bd60f87283 move param jinja templates into relevant module 2017-06-12 12:18:53 -04:00
Daniel Agar 4937449890 move parameter unittest into systemcmds 2017-06-12 12:18:53 -04:00
Daniel Agar f26cd01d16 param gen reorganize and fix DISABLE_PARAMS_MODULE_SCOPING 2017-06-12 12:18:53 -04:00
Julien Lecoeur 38fff6546d Fix python 3 compatibility in px_uploader.py 2017-06-08 07:57:00 +02:00
Lorenz Meier 5f4fb744ca Uploader: Signal GCS or other connected devices that a FiFirmware upload is pending and requires device access. 2017-06-05 22:44:21 +02:00
Daniel Agar db816982cd px4params don't search recursively for params
- move controllib_test under controllib
2017-06-04 18:22:42 +08:00
Lorenz Meier ea223505ae Tools: Add MAVLink libary git hash to exported symbols 2017-06-04 16:14:00 +08:00
Daniel Agar 24b26e53b9 cmake organize code coverage handling and base 2017-06-02 19:35:18 -04:00
Daniel Agar e4f55e4526 travis-ci upload cppcheck, scan-build, and coverage to s3 2017-06-02 19:35:18 -04:00
Daniel Agar 1ebe215c60 check_submodules.sh only sync selected submodule 2017-06-02 19:35:18 -04:00
Daniel Agar 8a681397bf travis-ci lazy init submodules 2017-06-02 19:35:18 -04:00
Daniel Agar 6a249c742b travis-ci add tests coverage to coveralls 2017-06-02 19:35:18 -04:00
Daniel Agar e112161a04 clang-tidy fix mathlib headers and format 2017-06-02 19:35:18 -04:00
Daniel Agar ac4a706da0 build system fixes and improvements
- deploy px4 metadata using target
 - clang scan-build upload output to s3
 - clang-tidy properly check headers
 - add cppcheck helper
 - force gcc color
2017-06-02 19:35:18 -04:00
Lorenz Meier 9736c08e49 uORB listener: Expand command to allow selecting the instance to print
listener sensor_gyro 1 2

will now print one report of the third gyro (index 2). The syntax needs further polishing, but this is a valid intermediate step.
2017-06-02 18:30:01 +02:00
Daniel Agar dde605fc4a Tools/docker_run.sh pick appropriate container if not set (#7297) 2017-05-26 09:28:37 -04:00
Daniel Agar ef5bc526de Tools/ecl_ekf mark executable 2017-05-17 09:02:52 +02:00
Lorenz Meier 31006eb43c Update SITL repository 2017-05-14 15:53:31 +02:00
David Sidrane 95fd2cd184 Create NuttX git hash and tag 2017-05-03 08:18:47 +02:00
Lorenz Meier b039f61762 Check code style: Be more permissive on Astyle 2017-05-01 16:56:13 +02:00
Lorenz Meier c60ad883a4 Update SITL 2017-04-23 19:24:40 +02:00
Lorenz Meier 1766f65f02 Update Gazebo SITL 2017-04-23 15:24:41 +02:00
Daniel Agar 93d4f487ef travis-ci update to latest docker 2017-04-22 21:31:05 -04:00
Julian Oes e9aef2eb95 px_uploader.py: properly loop through all baudrates
In case when the baudrate change failed, we should still try that
baudrate again in the next iteration.
2017-04-22 08:00:51 +02:00
Julian Oes 2467297acf px_uploader.py: fix exception on baudrate change
This prevents an exception happening inside the serial stack.
2017-04-22 08:00:51 +02:00
Paul Riseborough 1843061376 Tools/ecl_ekf: Improvements to ecl log analysis scripts
Fix error in scaling of population high frequency vibration metrics
Add histograms for delta angle and velocity bias data
Fix variable descriptions
2017-04-21 08:34:19 +02:00
Paul Riseborough 2a34bde0e9 Tools/ecl_ekf: Update EKF log analysis
Add assessment of IMU bias and mag field estimation
Reduce warning false positives by adjusting thresholds and eliminating use of peak value plots for output observer monitoring
Clear each figure after saving to reduce memory usage
2017-04-21 08:34:19 +02:00
Andrew C. Smith d21b6655d2 Add the Gumstix AeroCore2 to the build system. 2017-04-20 12:24:27 -10:00
jwilson 0aaf595317 Modified sanity test to identify success from the output of the PX4 flight stack, instead of QuRT. 2017-04-20 08:39:16 +02:00
Beat Küng 06997915c2 px4airframes: update image path for markdown after dev-guide update 2017-04-18 11:58:18 +02:00
Beat Küng 42d2f8a798 px4airframes markdown output: merge output columns with maintainer 2017-04-18 11:58:18 +02:00