Commit Graph

27025 Commits

Author SHA1 Message Date
ChristophTobler 8090708f76 FlightTasks: generate tasks depending on target
- rename flight tasks to use camelCase
- add core tasks to flight tasks cmake
- add additional tasks in targets (TODO)
- add templates
- generate hpp and cpp which contain all specified tasks
2018-08-08 13:44:49 +02:00
ChristophTobler 34203f7e8c FlightTasks: add header lib for sport 2018-08-08 13:44:49 +02:00
ChristophTobler 584838de30 FlightTasks: rename libs to use CamelCase convention 2018-08-08 13:44:49 +02:00
ChristophTobler b68fd5e0a7 Flight Tasks: CMake/folder restructure (no code change)
put flight tasks in separate folder and create a lib for each
goal is to select tasks for targets (e.g. because of flash issue)
2018-08-08 13:44:49 +02:00
Daniel Agar 9551dcb497 logger increase log_writer_file stack 1072 -> 1150 2018-08-07 17:21:15 +02:00
Beat Küng 81f0b64ad3 gps: add SER_GPS1_BAUD param to configure the baudrate
The default is auto-detect, but some GPS devices might not like that, such
as the Trimble MB-Two.
2018-08-07 02:07:49 +02:00
Beat Küng db9d25505d gps: update submodule (fix sign of heading offset) 2018-08-07 02:07:49 +02:00
Alessandro Simovic aad1ff0209 mission_block: explicit type conversion 2018-08-06 16:17:11 +02:00
Alessandro Simovic b527187a10 mission_block: swapped "param6" for "altitude" for consistency 2018-08-06 16:17:11 +02:00
Alessandro Simovic 337133e9fa use double LAT/LONG fields instead of float params for storing ROI settings 2018-08-06 16:17:11 +02:00
Alessandro Simovic 1448285b1c mavlink_mission: respect integer MAV_CMD in ROI settings as well
Otherwise the conversion from mavlink_mission_item to mission_item
will cause the latitude and longitude of the ROI to be off by a factor of 1e7
in the case of INT mode.
2018-08-06 16:17:11 +02:00
Bob-F a40c983137 updated submodule src/lib/DriverFramework 2018-08-06 13:32:36 +02:00
Bob-F cc3727bfbd skip creation of self-pointing link 2018-08-06 13:32:36 +02:00
Bob-F e056aa3204 Roll back change that handles absent test_data directory 2018-08-06 13:32:36 +02:00
Bob-F 082ef85773 handled a document issue and the case of absent test_data directory 2018-08-06 13:32:36 +02:00
Bob-F f2e3c0b6e9 Replaced a NULL with nullptr to fix an issue in make clang-tidy-quiet 2018-08-06 13:32:36 +02:00
Bob-F a9bb274001 Renamed mavlink wifi interface name and enabled land_detector 2018-08-06 13:32:36 +02:00
Bob-F 0368c26177 removed a sleep in init.c 2018-08-06 13:32:36 +02:00
Bob-F 627ea3b23e update according to pull request review comments 2018-08-06 13:32:36 +02:00
Bob-F 7c62fe885d Fixed an issue of documentation inconsistency 2018-08-06 13:32:36 +02:00
Bob-F adf411fdd8 Fixed style issue with Astyle 3.1 2018-08-06 13:32:36 +02:00
Bob-F 2ece14bad1 Port PX4 to BeagleBone Blue Board using library librobotcontrol instead of a submodule 2018-08-06 13:32:36 +02:00
Beat Küng e989c80205 replay: fix potential invalid memory access
_subscriptions is a vector that is resized when needed. However there could
still be references to elements in the vector when the resize happens.
These references then become invalid.
Using a vector of pointers fixes that.
2018-08-06 07:15:51 +02:00
Beat Küng e4485fc8cf ekf2 replay: use correct timestamp for attitude publication 2018-08-06 07:15:51 +02:00
Andreas Antener e0dc5ae7f4 px4iofirmware: only set mixer trims when they got updated 2018-08-05 23:24:57 +02:00
Andreas Antener 5500dfc550 px4iofirmware: moved the simple register updates down to the fall-through block, moved the sbus rate update up so it doesn't get called on each of the other updates which would set the wrong value 2018-08-05 23:24:57 +02:00
Andreas Antener 4db149f6e7 mixer: set/get_trim needs to return the amount of channels consumed by the mixer even if the mixer doesn't support trims (or is empty) 2018-08-05 23:24:57 +02:00
Andreas Antener f298d4bb4f mixer: use global new line check for parsing the heli mixer 2018-08-05 23:24:57 +02:00
Trevor Joynson ec2c230633 Remove conflicting optimization flags (-mcpu includes -march) (#10165) 2018-08-05 10:09:38 -04:00
mcsauder 722e891730 Add doxy styling to method comments and update comments, replace goto statements with stop() calls and return statements. 2018-08-05 09:54:46 +02:00
Daniel Agar 3261c5178c Jenkins update Devguide, Userguide, QGC metadata directly from pipeline 2018-08-04 19:02:23 -04:00
Daniel Agar 459ad7528f python scripts code coverage (#10157) 2018-08-04 18:22:08 -04:00
Daniel Agar d21fdf9988 pwm_out_sim: replace usleep with sleep
- the valid values are 0-999999
2018-08-05 00:19:11 +02:00
Daniel Agar d3f5c06ba7 Jenkins add unit test build with address sanitizier 2018-08-04 14:49:09 -04:00
Daniel Agar 36ff6202a9 Jenkins unit tests coverage force pass for now 2018-08-04 14:49:09 -04:00
Daniel Agar c3cf5e6822 Jenkins codecov.io add Flags for unit and mission tests 2018-08-04 13:21:49 -04:00
Daniel Agar 4af7025996 Jenkins move bloaty to Analysis stage of main pipeline 2018-08-04 13:08:59 -04:00
Daniel Agar 90f4e77a80 Jenkinsfile add new Analysis stage (#10150) 2018-08-04 12:51:51 -04:00
Daniel Agar a889ad8e8c Jenkins move all compile jobs to dedicated pipeline (#10149) 2018-08-04 12:23:46 -04:00
PX4 Jenkins 1d4ef1e6fa Update submodule micro-CDR to latest Sat Aug 4 01:27:00 UTC 2018
- micro-CDR in PX4/Firmware (1332d4dbc224a2980c37572be951d247a5698b9b): https://github.com/eProsima/micro-CDR/commit/92efe34b65622aef3d41315230cec0bce37a27e3
    - micro-CDR current upstream: https://github.com/eProsima/micro-CDR/commit/8125eac84c11d70ce148da4b67b2d73d46bf6c33
    - Changes: https://github.com/eProsima/micro-CDR/compare/92efe34b65622aef3d41315230cec0bce37a27e3...8125eac84c11d70ce148da4b67b2d73d46bf6c33

    8125eac 2018-08-03 Ricardo González Moreno - Merge commit 'c571c7f22602d88d2415ea46c19fb5d81e0260f1' into hotfix/enable_language
c571c7f 2018-08-03 Ricardo González Moreno - Squashed 'cmake/common/' changes from a4f9b91..9e7f35b
99cb75d 2018-08-02 Ricardo González Moreno - Hardening the warnings.
775a847 2018-08-02 Ricardo González Moreno - Removed warnings in windows.
cd13d68 2018-08-01 Ricardo González Moreno - Changing jenkins support to toolset.
6f2c623 2018-07-31 Ricardo González Moreno - Added files to support jenkins.
2018-08-04 10:07:25 -04:00
Daniel Agar 76848456bb Jenkins split SITL tests into separate pipeline (#10144) 2018-08-03 23:57:44 -04:00
Daniel Agar 3b5460a54a Update submodule mavlink v2.0 to latest Sat Aug 4 01:26:42 UTC 2018 (#10143)
- v2.0 in PX4/Firmware (ca3e4a5318): https://github.com/mavlink/c_library_v2/commit/2c4b0e9ff26ce4900a72335912e2604a1e9948de
    - v2.0 current upstream: https://github.com/mavlink/c_library_v2/commit/6404047979cadac62fecd75070cd995f1ca66ca2
    - Changes: https://github.com/mavlink/c_library_v2/compare/2c4b0e9ff26ce4900a72335912e2604a1e9948de...6404047979cadac62fecd75070cd995f1ca66ca2

6404047 2018-08-03 PX4BuildBot - autogenerated headers for rev https://github.com/mavlink/mavlink/tree/b4871443354d607298b6f67bedd6c473c69c659a
d0fb5b8 2018-08-03 PX4BuildBot - autogenerated headers for rev https://github.com/mavlink/mavlink/tree/1ba233efffb54a7ed634160cd11855b3f5021b74
2018-08-03 22:34:19 -04:00
mcsauder 21aea5bf6c Rename commander.cpp to Commander.cpp and update CMakeLists.txt. 2018-08-03 22:06:05 -04:00
Daniel Agar ca3e4a5318 Update submodule mavlink v2.0 to latest Thu Aug 2 20:26:39 CDT 2018 (#10140)
- v2.0 in PX4/Firmware (5cac32de66): https://github.com/mavlink/c_library_v2/commit/7014d02d665d5e8fa33f084f7c5f4dbcfd61b4b0
    - v2.0 current upstream: https://github.com/mavlink/c_library_v2/commit/2c4b0e9ff26ce4900a72335912e2604a1e9948de
    - Changes: https://github.com/mavlink/c_library_v2/compare/7014d02d665d5e8fa33f084f7c5f4dbcfd61b4b0...2c4b0e9ff26ce4900a72335912e2604a1e9948de

    2c4b0e9 2018-08-02 PX4BuildBot - autogenerated headers for rev https://github.com/mavlink/mavlink/tree/a31cd350d4c2046f2378fe64bb7b3da1cfa829f4
63f79b0 2018-08-02 PX4BuildBot - autogenerated headers for rev https://github.com/mavlink/mavlink/tree/8879d8e2f1ca51dbc0f4e57da0075076b1ade973
193557c 2018-08-01 PX4BuildBot - autogenerated headers for rev https://github.com/mavlink/mavlink/tree/e77128069d785b47dcc13033d555896ce28acf4c
2018-08-03 19:36:32 -04:00
Daniel Agar d04aef65d0 estimator_status reduce size of n_states 2018-08-03 17:42:48 -04:00
Daniel Agar 0626527d2c EKF2 estimator_status fill n_states and use correct type for health_flags and timeout_flags 2018-08-03 17:42:48 -04:00
Daniel Agar 2bf90574ed estimator_status separate LPE only flags and comment 2018-08-03 17:42:48 -04:00
Daniel Agar da68ea0d11 estimator_status delete unused nan_flags 2018-08-03 17:42:48 -04:00
Daniel Agar 92bfdea1e3 commander delete non-existant methods and cleanup 2018-08-03 17:38:16 -04:00
Daniel Agar 05ca1defee commander consolidate estimator checks in new method 2018-08-03 17:38:16 -04:00