Commit Graph

28859 Commits

Author SHA1 Message Date
David Sidrane c6edf41a74 test time: Fixed bad assumption about RAND_MAX (#11414)
usleep range was up to 2147 Seconds

   Per open group: The rand() function shall compute a
   sequence of pseudo-random integers in the range
   [0, {RAND_MAX}]  with a period of at least 2^32

   {RAND_MAX} Maximum value returned by rand();
   at least 32767.

   /* Maximum value returned by rand().  Must be a minimum of 32767. */

   #define RAND_MAX INT_MAX

  and

  #define INT_MAX     2147483647
2019-02-08 14:39:18 -05:00
Daniel Agar 2217faf812
mathlib Limits constexpr helpers don't use references (#11411)
- fixes #11408
 - cleanup Limits.hpp
2019-02-08 14:10:09 -05:00
Daniel Agar 13634e6757
Jenkins compile mac: double timeout (#11416) 2019-02-08 14:09:08 -05:00
Beat Küng ab6ab97aa2 px4_module: document that the subcategory is optional 2019-02-08 09:29:46 +01:00
Beat Küng 4452669614 module documentation: add support for subcategories 2019-02-08 09:29:46 +01:00
Beat Küng d8b013355c PRINT_MODULE_USAGE_PARAM_{INT,FLOAT}: add support to ignore the default value 2019-02-08 09:29:46 +01:00
Daniel Agar c3d6a042e6
Jenkins SITL coverage build in place to handle gcov paths properly 2019-02-07 16:11:25 -05:00
Daniel Agar 7f3b170024 mc_att_control: landing gear publish correct message 2019-02-07 11:57:35 +01:00
Daniel Agar 07fbd2202a EKF2 use simplified ecl/EKF setIMUData 2019-02-06 20:20:51 -05:00
Daniel Agar ddc9522712 EKF2 always use IMU timestamp as now 2019-02-06 20:20:51 -05:00
PX4 Build Bot 4c4ee67954 Update submodule ecl to latest Thu Feb 7 00:38:05 UTC 2019
- ecl in PX4/Firmware (9580dea9c2ab12d9fd6eaa1a3232c7c80639bef4): dd58e69549
    - ecl current upstream: 54ab8191e3
    - Changes: dd58e69549...54ab8191e3

    54ab819 2019-02-06 Carl Olsson - EKF: add method to get the terrain variance
c5554ca 2019-02-03 Daniel Agar - EKF tests update SWIG usage and use latest containers
2019-02-06 20:15:02 -05:00
Daniel Agar 537318cbb5 navigator delete unused mission_yaw_mode 2019-02-06 18:59:11 -05:00
Daniel Agar 83e76ece1c navigator mission block fix get_time_inside() and cleanup helpers 2019-02-06 18:59:11 -05:00
Daniel Agar 3665bc59b8 navigator initialize all mission items safely 2019-02-06 18:59:11 -05:00
Daniel Agar 26185f7c07 navigator orb subscribe/unsubscribe in constructor/destructor 2019-02-06 18:59:11 -05:00
Daniel Agar 6a08c1b6f1 Jenkins SITL tests increase test history from 2 -> 5 2019-02-06 13:37:44 -05:00
Daniel Agar 3959180a2e
Jenkins PX4 ROS deploy steps cleanup first 2019-02-05 21:37:15 -05:00
Daniel Agar 8a3305742e
Update submodule mavlink v2.0 to latest Wed Feb 6 01:50:00 UTC 2019 (#11391)
- mavlink v2.0 in PX4/Firmware (068a10b8f062759c2af5e20433608289dd198366): e302e1b735
    - mavlink v2.0 current upstream: cf858b4513
    - Changes: e302e1b735...cf858b4513
2019-02-05 21:29:45 -05:00
Daniel Agar 216a3e13e7
Update submodule gencpp to latest Wed Feb 6 01:50:06 UTC 2019 (#11390)
- gencpp in PX4/Firmware (ed8517a7d97f15cdf556cdc64496cc72bebb99ab): b41ee3060b
    - gencpp current upstream: 7e446a9976
    - Changes: b41ee3060b...7e446a9976

    7e446a9 2019-01-25 James Xu - enable Windows build (#38)
2019-02-05 21:22:37 -05:00
Daniel Agar 6abd94e2b7
Update submodule genmsg to latest Wed Feb 6 01:50:12 UTC 2019 (#11389)
- genmsg in PX4/Firmware (d4338773aa0139295caff03dc8275b44b88ccd04): 42e3646610
    - genmsg current upstream: 5736b1f7ad
    - Changes: 42e3646610...5736b1f7ad

    5736b1f 2019-01-28 Dirk Thomas - add missing run_depend on empy (#81)
2019-02-05 21:21:09 -05:00
Daniel Agar 1a4d31140e
create example vehicle type build configs for fmu-v2 and fmu-v5 (#10963)
- update navigator precision landing to build without multicopter
2019-02-05 19:53:54 -05:00
CarlOlsson fd4caa849d msg: add gps_yaw and mag_aligned to estimator_status
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com>
2019-02-05 19:31:30 -05:00
Daniel Agar 40252075f3
Jenkins add SITL tests coverage pipeline 2019-02-05 15:42:34 -05:00
Daniel Agar 25b4b63364 check_submodules.sh don't force update in CI 2019-02-05 14:47:58 -05:00
Daniel Agar 87b17bed58 px4io depend on NuttX submodules 2019-02-05 14:47:58 -05:00
Daniel Agar aec698ae44 appveyor: only build px4_sitl_tests (avoid building SITL twice) 2019-02-05 14:34:01 -05:00
Daniel Agar 986ff96c3e Jenkins mac compile run tests separately 2019-02-05 14:34:01 -05:00
Daniel Agar 071ec7d7cd Makefile: quick_check avoid building px4_sitl twice 2019-02-05 14:34:01 -05:00
Daniel Agar 205b0d94ca
Update submodule sitl_gazebo to latest Tue Feb 5 12:38:27 UTC 2019 (#11377)
- sitl_gazebo in PX4/Firmware (6178ead6ea): 12fb19ac6e
    - sitl_gazebo current upstream: 34d06e042c
    - Changes: 12fb19ac6e...34d06e042c

34d06e0 2019-02-05 Tully Foote - create plane_cam world
93159f3 2019-02-01 TSC21 - CMakeLists: install package.xml
c5882f7 2019-01-31 Anthony Lamping - models: plane: split up, adding plane_cam
38fe49a 2019-02-01 TSC21 - Travis CI: do not pass user id env var to the container
0f1221b 2019-02-01 TSC21 - Travis CI: update Ubuntu container tags
bab0de9 2019-01-31 Anthony Lamping - models: remove matrice 100 opt flow meshes
0efbe69 2019-01-23 Oleg Kalachev - Fix building on macOS
2019-02-05 11:58:22 -05:00
Julian Oes b17c0a11ab mavlink: improve comments about message forwarding (#11323)
This removes the confusing ugly magic number of 233 introduced as part
of https://github.com/PX4/Firmware/pull/7670.

Also, the convoluted if is cleaned up using 3 separate bools with some
comments to explain what's going on.

This should not change anything function-wise except that the flight
controller could now potentially also use system ID 233 and not break
forwarding.
2019-02-05 10:33:49 -05:00
Lorenz Meier 3d3a98c803 Add script to set the correct ulimit on Mac OS (#11247) 2019-02-05 10:19:55 -05:00
Hamish Willee 87993e7335 Indicate version in which SYS_COMPANION deprecated (#11327) 2019-02-05 10:16:28 -05:00
Julien Lecoeur 34717f7005 Merge pull request #11288 from PX4/pr-tiltrotor_noairspeed_transition_check
tiltrotor: fix transition check when airspeed is invalid
2019-02-05 10:09:48 -05:00
Matthias Grob 664674c36b simulator_mavlink: zero initializer instead of memset
Needed a clear scope inside a case for irlock_reports.
2019-02-05 10:09:15 -05:00
Matthias Grob 73f4706597 simulator_mavlink: consistent system call scope operator 2019-02-05 10:09:15 -05:00
TSC21 6178ead6ea Jenkins CI: PX4 ROS2 bridge stage: rollback test branch name 2019-02-05 08:18:14 +00:00
TSC21 cd49556aee Jenkins CI: PX4 ROS2 bridge stage: deploy uORB RTPS ID map before the scripts 2019-02-05 08:18:14 +00:00
TSC21 59a264b179 Jenkins CI: PX4 ROS2 bridge stage: update container tag 2019-02-05 08:18:14 +00:00
TSC21 29232b2499 Jenkins: px4_ros_com deploy: test 2019-02-05 08:18:14 +00:00
TSC21 14d7adc519 Jenkins CI: PX4 ROS2: deploy required tools 2019-02-05 08:18:14 +00:00
Daniel Agar 7a1c8ea8cb Update platforms/posix/src/lockstep_scheduler/CMakeLists.txt
Co-Authored-By: MaEtUgR <maetugr@gmail.com>
2019-02-04 21:31:06 +01:00
Matthias Grob ffb8bb6066 lockstep_scheduler: correct cmake target includes 2019-02-04 21:31:06 +01:00
Daniel Agar 2d922b5cb4
FW airframe defaults relax EKF2 GPS checks 2019-02-04 11:02:38 -05:00
Daniel Agar 2b16be9281
Jenkins hardware test remove px4_fmu-v4 stackcheck
- the stackcheck build is too slow to be useful
- will be recreated with fmu-v5
2019-02-04 10:54:38 -05:00
Beat Küng aa020eb28e airframes: add Holybro QAV250 2019-02-04 09:31:02 -05:00
bastien 1990338a3f gps: Support for Emlid Reach
Support Emlid Reach in ERB format,
including autodetect

Reported-by: Bastien Auneau <bastien.auneau@while-true.fr>
2019-02-04 09:10:11 -05:00
Paul Riseborough 9692ef1ae9 commander: remove duplicate check 2019-02-04 10:32:19 +01:00
Daniel Agar 248320b328 PreflightCheck trivial astyle fix 2019-02-04 10:32:19 +01:00
Paul Riseborough 6fb7cda9f2 commander: Reduce false positives in pre-flight accel bias check 2019-02-04 10:32:19 +01:00
Daniel Agar 7ecb04db2b Jenkins split MacOS builds into new pipeline 2019-02-04 00:18:56 -05:00