Commit Graph

731 Commits

Author SHA1 Message Date
Andreas Bircher 61d2987e6d Geotagging enhancements (#4475)
* adding the altitude tag

* sorting list of pics before tagging

* adding instruction about alphabetical image naming
2016-05-07 10:29:40 +02:00
Lorenz Meier 23a9af9088 Bump param meta version 2016-05-01 18:28:45 +02:00
David Sidrane 1c94e27463 Bugfix:#3167 Nested parameter files under xxxx/yyyy/zzzz/kkkk are considered in the scope of xxxx/yyyy
Conflicts:
	src/lib/ecl
2016-05-01 13:47:41 +02:00
David Sidrane 64d43ad381 Scope parameter included in build by cmake/configs
Conflicts:
	Tools/px_generate_params.py
	src/lib/ecl
2016-05-01 13:47:41 +02:00
Lorenz Meier a741257293 Enable new ESP8266 TELEM2 output mode 2016-04-29 14:59:11 +02:00
Lorenz Meier 49d174aae4 Add small script to sync meta data to QGC build 2016-04-29 11:02:29 +02:00
Lorenz Meier 52d85f56e1 upload sh: Fix portability 2016-04-29 11:02:15 +02:00
Lorenz Meier a01cb1d0b8 Bump param meta version 2016-04-27 16:40:58 +02:00
Lorenz Meier 191afe499c Gazebo: More Eigen3 fixes 2016-04-25 14:53:01 +02:00
Lorenz Meier 3f1994886a Add new GPS submodule to check 2016-04-25 09:49:42 +02:00
Lorenz Meier 2a83cb54c8 Raise param meta version 2016-04-25 09:36:13 +02:00
Lorenz Meier d3dff8a1e2 Raise params version 2016-04-25 08:44:51 +02:00
Andreas Antener cbc94fbe8c first attempt to run mavros tests in new sitl environment 2016-04-20 11:05:29 +02:00
Lorenz Meier 03f4e1f437 Update SITL Gazebo version 2016-04-18 22:53:08 +02:00
Daniel Agar 19c78f583a make check_format check version
-run Tools/fix_code_style.sh with no argument to check astyle version
2016-04-17 16:20:51 -04:00
Daniel Agar 0b54bb99f9 NuttX quiet build
cmake combine NuttX copy and export

-NuttX wasn't recopying if it fails to compile
2016-04-17 16:02:28 -04:00
Lorenz Meier 66080b4b28 Make submodule check smarter 2016-04-17 21:30:38 +02:00
Beat Küng 9259406a29 generate_listener.py: add a timeout of 2 seconds
abort if within 2s there is no new message published
2016-04-15 15:02:26 +02:00
Beat Küng 1269dfbc43 generate_listener.py: fix listener command
the loop variable i was increased even if no topic was updated. This means
less messages are outputed than specified.
2016-04-15 14:29:35 +02:00
James Goppert afcc5b4695 Moved control library. 2016-04-14 14:28:32 -04:00
Lorenz Meier 0abc792d96 Update Gazebo plugin 2016-04-09 10:24:30 -07:00
Lorenz Meier 4e0e9ff691 Update SITL Gazebo 2016-04-08 22:14:48 -07:00
Lorenz Meier ebc1c0b648 Update SITL Gazebo 2016-04-08 21:51:12 -07:00
Lorenz Meier f2cff929e9 Update SITL version 2016-04-08 18:23:31 -07:00
Lorenz Meier 55e4e75a4f SITL: Generate SDF from xacro on every build 2016-04-08 18:20:59 -07:00
Lorenz Meier a052907c29 Updated SITL Gazebo version 2016-04-05 21:31:53 -07:00
Lorenz Meier 1634fa9390 Update Gazebo 2016-04-05 20:22:20 -07:00
Lorenz Meier a64af416ba Update Gazebo 2016-04-05 20:09:18 -07:00
Lorenz Meier e035c95cf7 Update jMAVSim version 2016-04-05 19:09:30 -07:00
Lorenz Meier 4d27239bb2 Update jMAVSim 2016-04-05 19:09:30 -07:00
Lorenz Meier 23bf798e29 Update jMAVSim version 2016-04-05 19:09:29 -07:00
Lorenz Meier 079151b3fe New strategy to build and run jMAVSIM 2016-04-05 19:09:29 -07:00
Roman 1ce99e3b96 ekf2 replay: some cosmetics 2016-04-05 21:24:11 +02:00
Roman bd4a0e30de ekf2 replay: allow user to change parameters 2016-04-05 21:24:11 +02:00
Julian Oes 994947ea84 Makefile/cmake/Tools: add easy Snapdragon upload
This adds a a target `make eagle_default` to build both the POSIX and
the QURT side in one command. Also, it adds an upload target for both to
push the files over adb to the device. This doesn't just push the
executables and lib files, but also the startup config files.
2016-04-01 11:36:27 +02:00
Daniel Agar ff75b8bb8f allow boolean tag 2016-03-25 20:47:56 -04:00
James Goppert d02abf2cc0 Removed CMSIS. 2016-03-25 18:43:43 +01:00
Andreas Bircher 0dae7528c9 adjusting header 2016-03-24 17:36:21 +01:00
Andreas Bircher b63701bfdb adding geotagging python script 2016-03-24 17:36:21 +01:00
AndersonRayner 13c611462e Make sdlog2_dump.py compatible with APM .bin files
sdlog2_dump.py didn't know what to do with data types "d" and was causing errors when trying to dump APM .bin files to .csv.
2016-03-24 15:03:21 +01:00
Lorenz Meier 79fb8036b6 Bump param meta version 2016-03-13 18:29:01 +01:00
Lorenz Meier 22a0ce7048 Pull in fixes from Gazebo 2016-03-12 12:14:55 +01:00
Lorenz Meier b080f76c3a Updated SITL 2016-03-12 11:22:20 +01:00
Lorenz Meier 0720407b8c Make submodule check less verbose 2016-03-11 12:07:26 +01:00
Lorenz Meier 4551879b55 Improved GIT submodule check 2016-03-11 11:59:13 +01:00
Lorenz Meier ad58fc7458 Bump param version 2016-03-06 17:38:08 +01:00
Don Gagne 07775f7629 Add initial version stamps to meta data 2016-03-05 20:33:16 +01:00
Don Gagne 29af484685 Add firmware type to .px4 2016-03-05 20:33:16 +01:00
Julian Oes dcf022f480 Submodules: use submodule sync --recursive
This should make changes where the submodule repository changes trouble
free for users.
2016-03-03 14:22:37 +01:00
Lorenz Meier 9415dd8cd3 Add support for increment tag 2016-02-28 19:42:19 +01:00
Lorenz Meier 3efd0ff686 Gazebo: Better physics tuning 2016-02-28 17:18:45 +01:00
Lorenz Meier 2a521345dc Update SITL gazebo 2016-02-28 16:36:43 +01:00
Lorenz Meier 34b6354fa6 Expand SITL run 2016-02-27 11:48:31 +01:00
Lorenz Meier 17358ffbff Changed permissions, added Python shebang 2016-02-27 11:24:05 +01:00
sander fa590bbe80 Correct float parsing args and increase altitude monitoring frequency 2016-02-27 11:24:05 +01:00
sander b9ae592e2b Altitude monitoring and wait for home lock 2016-02-27 11:24:05 +01:00
sander 14f358a975 Argument parsing and copyright 2016-02-27 11:24:05 +01:00
sander e38b8d93ea Fix failure message 2016-02-27 11:24:05 +01:00
sander f425068926 Comment update 2016-02-27 11:24:05 +01:00
sander 35044273a2 Fixed connection string, added constants 2016-02-27 11:24:05 +01:00
sander 96d7036b09 Initial mission check script using dronekit 2016-02-27 11:24:05 +01:00
Julian Oes 5af9dc280f check_submodules: Don't override submodule
Previously make would override a submodule, now it only does submodule
init and override if the submodule is not already checked out.
2016-02-23 17:03:30 +01:00
Julian Oes 740b4556a0 Tools: revived posix_apps.py and qurt_apps.py
Not sure why they got removed in the first place in the merge.
I also don't know how they are used and what they are for, comments
welcome.
2016-02-19 16:59:48 +01:00
Julian Oes 975e38a350 check_submodules: submodule was lost in the merge 2016-02-19 16:59:47 +01:00
Mark Charlebois d4811bc108 Added dspal submodule to check_submodules.sh
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:45 +01:00
Mark Charlebois c15e042741 Added missing apps.h include
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:45 +01:00
Mark Charlebois 3b58cfb89d Added back ending carriage return
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:44 +01:00
Mark Charlebois 4d56909088 Removed dspal submodule, added px4muorb.idl
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:43 +01:00
Mark Charlebois 4f84a6d81e Added missing apps.h include
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:43 +01:00
Mark Charlebois d6a99c79c1 Added back ending carriage return
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:42 +01:00
Mark Charlebois 0e24e808ab Removed dspal submodule, added px4muorb.idl
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2016-02-19 16:59:41 +01:00
Lorenz Meier 07a0da9114 jMAVSim: Update to fixed version with declination support 2016-02-13 11:41:05 +01:00
Lorenz Meier fbb201845b Fix check submodules 2016-02-13 11:39:51 +01:00
Lorenz Meier f577f2efb0 Updated check submodules 2016-02-13 11:15:13 +01:00
Lorenz Meier c5b1e791bd Update git check script. Fixes #3733 2016-02-13 00:50:06 +01:00
Lorenz Meier 84552d475e jMAVSim: Enable Zurich as location, enable mag decl lookup 2016-02-10 08:29:26 +01:00
Lorenz Meier a8d00ee46f Update mag declination code in SITL Gazebo 2016-02-07 15:06:58 +01:00
Lorenz Meier f91520730b Correct declination math. Allows to properly simulate declination in various locations 2016-02-07 12:30:28 +01:00
Lorenz Meier 630ad18c8d Update SITL gazebo 2016-02-07 12:10:46 +01:00
Lorenz Meier 8a42b312ef Add Gazebo version with mag declination 2016-02-07 12:00:59 +01:00
Lorenz Meier 3bdcb203f4 SITL: Fix compile errors 2016-02-06 17:03:24 +01:00
Lorenz Meier 336a464ed3 Updated SITL Gazebo to master merged with VTOL 2016-02-06 16:42:36 +01:00
Lorenz Meier b1a16c711e Param meta data: Validate new enum value entries 2016-02-06 16:19:46 +01:00
Lorenz Meier 203416f136 PX4 params: Support enum values 2016-02-06 16:11:58 +01:00
Lorenz Meier 6a98c6ca63 Airframes XML generator: Add support for Octo Coax Wide 2016-02-02 08:31:32 +01:00
Lorenz Meier 6c13cef85e Lister: Add missing uint16 2016-01-25 21:46:07 +01:00
Julian Oes 4b55c5276e px_romfs_pruner.py: fix indenting 2016-01-24 15:46:29 +01:00
Julian Oes 443592136b px_romfs_pruner.py: PEP8ify and whitespace
- Changed from 8 spaces indent back to 4 which I find appropriate for
  Python.
- Fixed linelength to 80 chars.
2016-01-24 15:46:29 +01:00
Julian Oes 6e26d1b8dc px_romfs_pruner.py: ignore files starting with . 2016-01-24 15:46:29 +01:00
Lorenz Meier fb21654807 PX4 airframes: Fix XML parser 2016-01-24 13:22:45 +01:00
Lorenz Meier f918b0c992 Uploader: Make sure to warn about wrong board type 2016-01-21 09:34:54 +01:00
Lorenz Meier a49dbbc9a8 Lister: Fix Clang compile error 2016-01-20 11:01:31 +01:00
Lorenz Meier 56957e7ee4 Improved listener tool 2016-01-19 19:26:31 +01:00
Lorenz Meier cb2c8a1390 Fix list of files to check for code style 2016-01-18 11:36:11 +01:00
Lorenz Meier 170f9aec49 Update standard VTOL model 2016-01-16 14:38:12 +01:00
tumbili ee71a0d761 updated sitl_gazebo: support standard quad vtol plane 2016-01-14 16:07:01 +01:00
Lorenz Meier dd58dcfb91 Fix CMake version check 2016-01-14 12:48:42 +01:00
Lorenz Meier 4437727b97 Airframes XML: Generate new icons 2016-01-14 00:43:23 +01:00
Lorenz Meier 1772cbe5e0 Support reboot_required tag 2016-01-13 21:14:35 +01:00
Lorenz Meier a2758eadb6 Automate initial submodule update 2016-01-13 11:50:27 +01:00
Lorenz Meier 7d7333cdea Better output on submodule check fail 2016-01-12 10:33:24 +01:00
Lorenz Meier 365ef883e3 Check submodules during each build 2016-01-12 10:14:15 +01:00
Stefan 902b774091 Update mavlink_px4.py
spelling mistakes
2016-01-11 08:37:43 +01:00
Roman Bapst d98024a300 updated sitl_gazebo 2016-01-09 01:51:15 +01:00
Lorenz Meier 44cf30e039 SITL: Update tailsitter model 2016-01-08 16:43:50 +01:00
Lorenz Meier 68329fe152 SITL Gazebo: Link against protobuf lib 2016-01-04 22:33:02 +01:00
Lorenz Meier 723f4bf3a1 Build lift drag plugin for OS X 2016-01-04 15:52:56 +01:00
Lorenz Meier a4018bcbc1 Update to higher jMAVSim update rate 2015-12-29 17:13:22 +01:00
Lorenz Meier 5d6f63af19 update jMAVSim 2015-12-29 14:15:33 +01:00
Lorenz Meier 496e7a1799 Revert jMAVSIm change 2015-12-26 00:33:09 +01:00
Lorenz Meier 2b99d42d8d jMAVSim: Enable Mag 2015-12-24 13:06:07 +01:00
Lorenz Meier 23e9693641 Allow chrooting the application 2015-12-22 09:48:11 +01:00
Lorenz Meier 7fcf2d9733 Add FW attitude controller to code check regime 2015-12-11 09:53:32 +01:00
Lorenz Meier 128fd82970 Merge pull request #3326 from PX4/master_silicon_rev
Support of Bootloader Rev 5 - silicon rev check
2015-12-06 13:30:57 +01:00
David Sidrane 923a43b67f Support for Rev 5 of Bootloader 2015-12-04 13:10:29 -10:00
David Sidrane 31a773e3ce Use _ prefix o uavcan files in ROMFS , simplify upgrade 2015-12-04 12:25:51 -10:00
David Sidrane c0ef1a9dcb Move uavcan bin files to ROMFS based on naming convention 2015-12-04 12:25:51 -10:00
Lorenz Meier 8cc54ac661 SITL run: Request best scheduling for SITL processes - next up is lockstep 2015-12-01 13:01:23 +01:00
Lorenz Meier da190f31fe SITL: Use stable version for gazebo 2015-12-01 12:30:13 +01:00
Lorenz Meier 4beef62337 Update sitl_gazebo repo 2015-12-01 12:18:40 +01:00
Lorenz Meier 989b65912b jMAVSim: Drop sim rate to 400 Hz 2015-11-30 00:40:41 +01:00
Mark Charlebois be0c5aaef5 Fixed documentation for decode_backtrace.py
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-23 21:37:55 -08:00
Mark Charlebois 08714d2c75 Fixed whitespace
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-23 21:31:50 -08:00
Mark Charlebois 5f4ee6ad9d Fixed decode_backtrace.py to return proper index
The algorithm was returning the function after the desired function

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-23 21:30:33 -08:00
Mark Charlebois 92e47eba76 Added tool to decode stack backtraces
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-23 21:30:33 -08:00
Lorenz Meier fb24a54ca4 SITL run: Always execute cleanup action 2015-11-23 13:51:18 +01:00
Lorenz Meier 23cfe5c41f SITL run: Abort on first error 2015-11-23 13:38:05 +01:00
Lorenz Meier 5b278b0b15 Update Gazebo version 2015-11-23 12:45:08 +01:00
Lorenz Meier 4ae15e3d84 SITL run: Better Gazebo output, less CMake warnings 2015-11-23 12:40:33 +01:00
Lorenz Meier 35af171575 Update sitl_gazebo version 2015-11-23 10:41:41 +01:00
Lorenz Meier a4a9ff7046 Fix debug targets for sitl run 2015-11-21 17:43:07 +01:00
Lorenz Meier c6510bd2de Merge branch 'master' of github.com:PX4/Firmware into driver_framework 2015-11-21 11:20:27 +01:00
tumbili 3337eb8f1a unsubscribe from topic to prevent overflow in device handler list 2015-11-20 16:09:49 +01:00
Lorenz Meier 703979c892 jMAVSim update: Have GPS after 1 second 2015-11-20 11:33:22 +01:00
Roman a8ab52b444 topic_listener: allow listening to actuator control groups 2015-11-19 09:13:44 +01:00
tumbili 0fa0654f5a sitl_gazebo cleanup 2015-11-18 16:11:11 +01:00
tumbili 16aa852c53 merged master into sitl_gazebo 2015-11-18 16:11:10 +01:00
tumbili 354e623318 support for vtol simulation 2015-11-18 16:11:10 +01:00
tumbili 2f0b24feab cmake: replace vtol model with tailsitter model 2015-11-18 16:11:10 +01:00
tumbili 041d6e704d support for simplistic tailsitter 2015-11-18 16:11:10 +01:00
Lorenz Meier 2cf6d9f605 Fix relative path of inject XML file. By Yi Yi 2015-11-18 10:15:20 +01:00
Youssef Demitri 199f6478ee enable online model lookup in gazebo 2015-11-13 16:29:26 +01:00
Lorenz Meier de39e7de62 Fix param meta info 2015-11-12 11:33:36 +01:00
Lorenz Meier 8ae78ab093 Params: Fix max range for injected params 2015-11-11 00:06:26 +01:00
Lorenz Meier dcc9e29b66 Updated injected XML file 2015-11-10 23:02:54 +01:00
Lorenz Meier 56d67c6f6c Tools: Support injecting param meta, do not generate code for these 2015-11-09 09:31:43 +01:00
jgoppert 68e4b33167 Added valgrind to sitl. 2015-11-07 11:49:58 -05:00
Roman Bapst 0bd2a7650c Merge pull request #3124 from PX4/mixer_files
use correct Unix line ending character
2015-11-06 20:58:05 +01:00
Youssef Demitri 170f0032fd updated to master (solve merge conflicts) 2015-11-06 12:18:31 +01:00
Lorenz Meier ca7a7dfd10 Output rotor config as XML attributes 2015-11-05 21:30:10 +01:00
tumbili 9b5b2a4ccc use correct Unix line ending character
Conflicts:
	Tools/px_romfs_pruner.py
2015-11-03 17:00:13 +01:00
Lorenz Meier 7f242d7170 Update jMAVSim 2015-11-02 13:42:20 +01:00
Lorenz Meier 3d13e771a8 Support runs without simulation 2015-10-30 16:33:19 +01:00
tumbili 4206c28b03 fixed projection from local position to gps coordinates 2015-10-29 16:23:46 +01:00
tumbili 33135e5958 updated sitl_gazebo 2015-10-29 15:47:05 +01:00
Lorenz Meier a394dd5b0d Add gazebo, gazebo_iris and gazebo_vtol targets 2015-10-29 10:35:35 +01:00
Lorenz Meier 8ba0c003db Merge pull request #3078 from yuanxing-THU/master
Ignore .DS_Store in the ROMFS pruner.
2015-10-27 22:25:23 +01:00
tumbili 218f11f54b kill gazebo properly 2015-10-27 13:14:17 +01:00
skyworks_zyx f297cf96f7 Ignore .DS_Store in the ROMFS pruner. 2015-10-27 19:23:02 +08:00
jgoppert 4241e526aa Updated sitl scripts for LPE. 2015-10-26 16:03:22 -04:00
tumbili 1767acd1e9 use correct startup scipt depending on simulator 2015-10-26 12:24:27 +01:00
Lorenz Meier 529d9b4d3a Check and enforce CMake version 2015-10-26 10:19:30 +01:00
James Goppert dab48553c7 Added export to gazebo variables. 2015-10-25 19:25:18 -04:00
Lorenz Meier 9cbcca1f49 Fix Gazebo handling 2015-10-25 18:25:37 +01:00
Lorenz Meier 7d5a9c5baa Added sitl_gazebo as submodule 2015-10-25 18:20:53 +01:00
jgoppert 7d9c6592fd Remove bash debugging. 2015-10-25 17:58:16 +01:00
jgoppert f831cc6cfa Don't kill if jmavsim not found. 2015-10-25 17:58:16 +01:00
jgoppert a23ba97f3f sitl bash fix for pid recording 2015-10-25 17:58:16 +01:00
jgoppert a688c89460 Fixed kill command for java. 2015-10-25 17:58:16 +01:00
jgoppert c520a678a6 More intelligent jmavsim killing. 2015-10-25 17:58:16 +01:00
jgoppert 21cf3e0cce This kills some annoying processes that might still be around. 2015-10-25 17:58:16 +01:00
jgoppert 0106be3e89 Added local position estimator. 2015-10-24 20:34:33 +02:00
Lorenz Meier 292b87fe2c Exit simulator 2015-10-23 23:58:28 +02:00
Lorenz Meier e5d6b1c985 Tools: Parse new decimals tag 2015-10-23 19:53:09 +02:00
tumbili 06f5e242d1 support launching gazebo automatically for SITL 2015-10-23 09:33:55 +02:00
Lorenz Meier 3ac5b3b84e Controllib: Enforce code style 2015-10-22 00:25:37 +02:00
Lorenz Meier c18d4dba01 Merge pull request #3020 from mcharleb/build-fixes
Fixed PRI64 to PRId64 in generate_listener.py
2015-10-19 19:06:32 +02:00
Mark Charlebois 468bac71c2 Fixed PRI64 to PRId64 in generate_listener.py
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-10-19 10:05:04 -07:00
Lorenz Meier 16b6b3caa2 Enable enforcement 2015-10-19 15:04:12 +02:00
Lorenz Meier 59ee7b23ee Enforce style check on platforms and drivers 2015-10-19 13:36:29 +02:00
Lorenz Meier b61e95adfd Automate SITL run 2015-10-17 17:41:57 +02:00
Lorenz Meier 4d71e8c330 Added jMAVSim as submodule 2015-10-17 17:30:58 +02:00
Lorenz Meier 63921b16a5 Merge pull request #3002 from dagar/cmake_fixes
px4airframes split mixed windows path with os.path.split
2015-10-15 22:42:48 +02:00
Daniel Agar 7d63920f25 srcparser.py split mixed windows path with os.path.split
-fixes #2997
2015-10-15 14:50:35 -04:00
Lorenz Meier bb2e5b7c84 Update listener to also support double precision 2015-10-15 12:31:56 +02:00
Lorenz Meier b126f00052 Merged master 2015-10-14 22:07:49 +02:00
Daniel Agar adc59b9e71 cmake improve submodule handling 2015-10-14 12:13:33 -04:00
Daniel Agar 5865dc6434 cmake add libuavcan as subdirectory
-move uavcan submodule to src/modules/uavcan/libuavcan
-adding libuavcan as a subdirectory simplifies inheriting all compile
flags and include paths
2015-10-14 02:37:00 -04:00
Daniel Agar 4e4d10d8b9 generate_listener.py don't depend on platform dependant slash 2015-10-14 01:56:17 -04:00
Daniel Agar e8fd711a5c uorb generate interally set required paths 2015-10-14 01:56:15 -04:00
Ben Dyer 7dacb835b9 Fixing build on targets without the UAVCAN module 2015-10-14 00:50:07 +11:00
Ben Dyer 148148b6a0 Update libuavcan and add missing PRI64 define 2015-10-13 21:50:23 +11:00
Lorenz Meier 348c480feb Improve formatting of topic listener output 2015-10-10 12:39:05 +02:00
Lorenz Meier acd7235880 FMUv2: Add topic listener 2015-10-10 12:27:45 +02:00
Thomas Gubler 2bbb1ad35f python3 fixes 2015-10-10 11:03:04 +02:00
Andreas Antener c26f980f37 added airframe extension .hil 2015-10-06 15:15:37 +02:00
Andreas Antener 77b8ed6717 check supported extensions for rc.autostart generation 2015-10-06 15:15:37 +02:00
Lorenz Meier b222a83076 Merge branch 'master' of github.com:PX4/Firmware into cmake-2 2015-10-02 11:00:31 +02:00
Matthias Grob 5191731f22 make romfs pruner script windows compatible
When we open the file handle to write back the lines in binary mode, we don't change the line endings but instead leave them as they were before. This is impotant for Windows users as Python on Windows otherwise adds CRLF endings to the parameter files and they can't be correctly parsed by NuttX any more.
2015-10-01 09:59:30 +02:00
James Goppert e38eba0934 cmake: Fix for posix sitl. 2015-09-20 11:17:31 -04:00
Lorenz Meier 0973649eb7 POSIX: Provide lldb run target configuring lldb correctly 2015-09-20 15:06:55 +02:00
Lorenz Meier fe644fb3e0 Merge branch 'cmake-2' into cmake-2-pthread 2015-09-20 12:56:14 +02:00
Lorenz Meier 4de777fd2f Topic listener: Fix code generation 2015-09-20 12:55:18 +02:00
Lorenz Meier 672a6d8f9b Add debug targets to SITL run 2015-09-20 12:54:22 +02:00
Lorenz Meier 6ef94e0dfb Merged master into cmake-2 2015-09-20 10:33:39 +02:00
Lorenz Meier e6cbee74bf Tools: Fix param code generation to generate correct union access based on type. Generate #error C-code for unknown types to prevent silent failure. 2015-09-14 00:16:49 +02:00
Lorenz Meier b528ecaa93 SITL RUN: Fix paths 2015-09-12 17:02:42 +02:00
Lorenz Meier d2f7f6e7a9 Update SITL run tool 2015-09-12 15:44:16 +02:00
Thomas Gubler e713f689bf has_key is not available in python > 3.0
Replacing with 'in'

See https://docs.python.org/3.1/whatsnew/3.0.html#builtins
2015-09-12 15:39:28 +02:00
Lorenz Meier 7f41238f70 POSIX: Add usleep shell command, add cout flush to exit command 2015-09-12 13:35:48 +02:00
Lorenz Meier c5d1cb1cbc Params: Remove linker black magic and turn params into flat global struct 2015-09-12 11:26:20 +02:00
Mark Charlebois 8369e33245 cmake: Fixes for qurt and nuttx
Added px4_parameters.c to nuttx executable src list.
Minor syntax fix in Tools/px_generate_params.py for semicolon.
Added handling of PX4_MAIN which was not yet supoprted in the
cmake build.
Fixed include quotes in muorb_test_example.cpp

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-11 18:32:44 -07:00
Lorenz Meier 31e5697cea OS X: Make param section generation compatible 2015-09-11 21:58:32 +02:00
Mark Charlebois fc3acdb2c1 cmake: param refactoring
Use a struct to contain all the parameters so the ordering in
memory is not machine dependent.

Add number of parameters to the param struct. The struct actually
allows direct accessing by the member name if desired.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-11 12:41:00 -07:00
Mark Charlebois b9ef1ee6ed param: Build param without linker script
Changed to enable the posix_sitl_simple target to build and run

param show *

without using a linker script

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-11 02:33:42 -07:00
James Goppert 1d6b31d196 Switch to cmake build system. 2015-09-07 20:37:45 -04:00
Lorenz Meier 0b4f88a490 Enforce code style for more modules 2015-09-06 12:07:27 +02:00
Lorenz Meier 28bbbd1563 Enforce code style for src/include 2015-09-06 12:03:09 +02:00
Lorenz Meier e809571841 Enable code style enforcement for more modules 2015-09-06 12:00:30 +02:00
Lorenz Meier aa88888c6a Enabled code style enforcement for passing modules 2015-09-05 22:18:38 +02:00
Daniel Agar 0145f95e7d check_code_style only enforce src/systemcmds and src/examples 2015-09-05 12:20:59 -04:00
Daniel Agar 66cd25d3ef require Artistic Style Version 2.05.1 2015-09-05 12:12:52 -04:00
Daniel Agar 3b0390d432 cleanup 'make check_format and exclude directories not ready for formatting
-uORB, sdlog2, vtol_att_control, ekf_att_pos_estimator
2015-09-05 12:12:52 -04:00
Daniel Agar 33e2b5518f fix_code_style.sh requires bash 2015-09-05 12:12:52 -04:00
mswingtra 68e726ce37 px4_param_def to QGC fix 2015-08-28 11:18:52 +02:00
Lorenz Meier 17287ddd2c POSIX: Fix start script path 2015-08-28 10:48:38 +02:00
Mark Charlebois 3a47434749 Fixes for qurt HIL build
Workaround required Eigen downgrade to 3.2. Hexagon toolchain does
not support C++11 features of newest version of Eigen.

Running make qurt_fixup will downgrade and patch Eigen for qurt.
Running make restore will revert the patch and do a git submodule update
to restore the expected Eigen version.

Added a "restore" target to undo qurt_fixup

Before doing a qurt build run:

    make qurt_fixup

That will downgrade Eigen to 3.2 and apply the require patch.
To build another target after downgrading:

    make restore

Them make the desired target (other than qurt).

Fixed type used in orb_priority to be consistent with the code
(int* was used in declaration but int32_t* used in code)

Removed unused class member variable in sensors.cpp

Added cmake fix for unit tests. The location of px4_log.c changed.

Fixed the qurt drv_hrt.c implementation to use us instead of ms for time resolution

Added px4_led.c to nuttx platform layer
Use the posix version of px4_led.c for nuttx so we don't end up with
duplicate files. It was moved out of common because it is not used by qurt.

Changed PX4_DEBUG to PX4_WARN when checking for the error condition for store_poll_waiter in vdev.cpp

Updated the px4_log.h file to make calls to the qurt_log functions.
The qurt_log function is defined in the platforms/qurt layer.

Added an option to control starting the commander module in HIL mode.

Moved the flight specific drivers to the configuration file instead of adding them
to the common tool chain file because HIL mode does not need them.

Added the uorb Subscriber and Publisher classes

Call PX4_ISFINITE macro instead of isfinite().

Added px4_led.c to nuttx platform layer
Use the posix version of px4_led.c for nuttx so we don't end up with duplicate files.
It was moved out of common because it is not used by qurt.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-08-25 21:59:01 -07:00
Lorenz Meier 21d1b4ba2e Merged beta into master 2015-08-22 14:06:01 +02:00
Simon Wilks 4eef65f313 Enable ms5611 driver and fix build errors. 2015-08-18 23:01:52 +02:00
Andreas Antener 9ad5dfc928 moving astyle options into astyle options file, adding sublime settings for astyle formatter plugin 2015-08-18 11:40:01 +02:00
Pavel Kirienko 05b6a48d1b Merge branch 'beta' into beta_uavacan 2015-08-13 22:06:26 +03:00
Lorenz Meier ce90c40413 Merged beta to master 2015-08-07 14:41:19 +02:00
Lorenz Meier 08c1123c49 Airframes meta scanner: Do not require particular file ending 2015-08-07 14:40:18 +02:00
Lorenz Meier ea7ae7d019 Merged beta into master 2015-08-01 16:58:02 +02:00
Lorenz Meier 50a9e41dbd Fix RC out 2015-07-31 12:17:31 +02:00
Lorenz Meier fde0c65d77 Airframe generator: Also generate autostart listing 2015-07-31 12:10:31 +02:00
Lorenz Meier ac0e645ab6 XML out: Fix mapping of image file names 2015-07-31 11:28:10 +02:00
Lorenz Meier 844c37e7ea Remove static airframe xml file 2015-07-31 11:27:43 +02:00
Lorenz Meier a0b792792f Airframe config parser: Move to combined elif statement 2015-07-29 21:22:41 +02:00
Lorenz Meier 02c439c557 XML output: Inject image paths for GCS presentation 2015-07-29 19:43:37 +02:00
Lorenz Meier 315d2ef87c Add airframe main parser 2015-07-29 19:13:50 +02:00
Lorenz Meier 68aa8fed9e Add airframe config parser 2015-07-29 19:13:28 +02:00
Lorenz Meier 08c50cac5e Add airframe icons 2015-07-29 00:04:11 +02:00
Lorenz Meier 6dff0b5ebf Add airframe icons 2015-07-29 00:04:04 +02:00
Lorenz Meier d6290d8f5d Airframe Configs: Add version field 2015-07-28 23:59:06 +02:00
Lorenz Meier 040787297b Airframe Configs: Add version field 2015-07-28 23:58:50 +02:00
Lorenz Meier 4471b18117 Build system: Add support for airframes config file 2015-07-28 23:57:51 +02:00
Lorenz Meier 455c449a02 Build system: Add support for airframes config file 2015-07-28 23:45:30 +02:00
Don Gagne 55ce4d7b91 Check for duplicates 2015-07-22 09:59:23 -07:00
Don Gagne ad7612220d Validate meta data 2015-07-22 09:01:31 -07:00