24542 Commits

Author SHA1 Message Date
Daniel Agar
f01400d407 check_submodules.sh force update if in CI 2017-12-11 16:48:39 -05:00
Florian Achermann
87646c4ea4 Update the Description of the estimator_status Message (#8346)
* Fix description of GPS check fail bits in estimator status message
2017-12-11 11:15:34 -05:00
Daniel Agar
86ad2ada71
Jenkins remove fast fail
- this saves build resources, but makes finding the actual failure rather hard (with the current blue ocean gui).
2017-12-11 02:15:14 -05:00
Daniel Agar
32cba41bed cmake handle mavlink v1 submodule only where used 2017-12-10 19:24:05 -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
aef7a3cd9a cmake only init uavcan_board_ident if used 2017-12-10 19:24:05 -05:00
Daniel Agar
ded055f71d cmake only init cmake_hexagon if used 2017-12-10 19:24:05 -05:00
Daniel Agar
ddc544aabe Jenkinsfile parallel builds fail fast 2017-12-10 15:58:01 -05:00
Daniel Agar
7aeea62e21 px4fmu-v3_rtps override default naming 2017-12-10 15:58:01 -05:00
Daniel Agar
5bdc6a4eab Jenkins correctly archive artifacts and print sizes 2017-12-10 15:58:01 -05:00
Daniel Agar
a452554bdf
Jenkins add eagle_default build with docker credentials (#8442) 2017-12-10 03:27:48 -05:00
Daniel Agar
5c54449063
Jenkinsfile small optimizations (#8441)
- combine default and rtps builds (ccache)
 - set CCACHE_BASEDIR
v1.7.0-rc4
2017-12-10 02:32:21 -05:00
Daniel Agar
c56b0a0e7c
Mavlink only stream HOME_POSITION if valid (#8440) 2017-12-10 02:31:42 -05:00
lamping7
63718bf27b fix MISSION_ITEM REACHED message broadcast (#8332) 2017-12-10 02:30:58 -05:00
Daniel Agar
bc9a8e4432
cmake nuttx base .px4 file naming on elf binary 2017-12-09 20:35:44 -05:00
Daniel Agar
df4ab8b59e px4fmu-v3_default name binary appropriately
- fixes #8436
2017-12-10 01:07:41 +00:00
Julien Lecoeur
99920c84fe Jenkins: update arch image to tag 2017-12-08 2017-12-10 01:07:02 +00:00
Julien Lecoeur
ed10921a67 [TO REVERT] Archlinux docker image: use tag pr-archlinux 2017-12-10 01:07:02 +00:00
Julien Lecoeur
0bd5744ebb Jenkins: build posix_sitl_default and nuttx_px4fmu-v5_default under ArchLinux (GCC7) 2017-12-10 01:07:02 +00:00
Sander Smeets
423241e7e2 Add forwarding on telem2 normal telemetry option (#8434) 2017-12-09 19:45:47 -05:00
Paul Riseborough
324c5151e7 ekf2: use local scope for control mask variable 2017-12-08 07:43:13 +00:00
Paul Riseborough
b812f95a77 ekf2: Adjust pre-flight check level
Reduce max yaw error when not using global frame aiding data to prevent large yaw yaw changes after takeoff.
2017-12-08 07:43:13 +00:00
Paul Riseborough
ded9ca13e4 ekf2: Reduce sensitivity of preflight yaw check when not doing absolute aiding
When the EKF is not fusing in observations from the NE global reference frame, the tolerance to yaw errors is much higher. This changes will prevent false triggering of the preflight fail check when operating indoors without GPS where mag field errors can be high.
2017-12-08 07:43:13 +00:00
Daniel Agar
9819068ee9 Jenkins fetch git tags 2017-12-08 00:17:19 -05:00
Beat Küng
fa929322ab load_mon: remove usage of CONFIG_RAM_SIZE
The define should not be used, as it might be wrong.
This is the case on fmu-v5, which meant that the used RAM was always 1.
2017-12-07 20:28:17 +00:00
Daniel Agar
f1bd94e25b cmake add git submodule replace . in target name 2017-12-07 20:27:46 +00:00
Dennis Mannhart
4f8f0d8645 mc_pos_control: set triplets to NAN if not in auto mode 2017-12-07 20:27:11 +00:00
Daniel Agar
769fef1d9a delete leftover px4io-v1 files 2017-12-07 14:48:28 -05:00
Daniel Agar
aef8bf2ce8 delete incomplete nuttx sim config 2017-12-07 14:48:28 -05:00
Daniel Agar
3506f7b828 delete non-functional aerocore 1 remains 2017-12-07 14:48:28 -05:00
Daniel Agar
b4f570e459 NuttX update to latest 7.22+ with pipes poll fix
https://github.com/PX4-NuttX/nuttx/pull/7
2017-12-07 14:09:59 -05:00
Beat Küng
c4ee5c318f px4fmu-v5: make sure the internal ist8310 is detected as internal mag 2017-12-07 17:17:17 +00:00
Beat Küng
a791adf3b9 ist8310: enable internal/external distinction 2017-12-07 17:17:17 +00:00
Beat Küng
a0afc370d0 land detector: move arming state into base class & set param when disarming
Before that, different modules (ekf2, commander & land detector) changed
params upon different events:
- ekf2 & commander set params after disarm
- land detector set params on land detected
If the 2 events were several 100ms appart, it led to 2 param saves, and
the latter param set could have been blocked by an ongoing save. And if
the land detector was blocked, it could lead to mag timeouts.

This patch makes all modules use the same event, thus only a single param
save will happen.

If we want to have guarantees to never block, we should introduce a
param_try_set() API method.
2017-12-07 11:55:51 +00:00
Beat Küng
1dbeec6a19 logger: do not write param changes if _should_stop_file_log is set
_should_stop_file_log is set after disarming: logging continues for 1s
to measure the CPU usage.
During that time, other modules might change params (such as ekf), and
we don't need to have these the log. However currently all modules do
not notify the system when setting params after disarming.
Meaning this patch is not strictly needed, it's more a preventive
measure.
2017-12-07 11:55:51 +00:00
Paul Riseborough
b5be990109 lpe: fix incorrect setting of local_position.z_global 2017-12-07 08:20:16 +00:00
Paul Riseborough
8d89e5e40b commander: rework centralise home position publication
This fixes a bug preventing use of auto and RTL when taking off with GPS.
2017-12-07 08:20:16 +00:00
Paul Riseborough
41f3e1f9b4 commander: centralise home position publication 2017-12-07 08:20:16 +00:00
Paul Riseborough
934a7af579 commander: Set home alt to EKF origin if global navigation commences in-flight
The EKF origin height is calculated to be where the vehicle was at takeoff and is suitable as a surrogate home altitude.
2017-12-07 08:20:16 +00:00
Paul Riseborough
49d82164c6 navigator: check home position horizontal and vertical validity 2017-12-07 08:20:16 +00:00
Paul Riseborough
024589d63d msg: Add separate vertical and horizontal validity flags to home_position
If we have taken off without GPS and gained it in flight, the home vertical position can be set, but not the horizontal.
2017-12-07 08:20:16 +00:00
Paul Riseborough
a81c49014f mc_pos_control: reset height reference when global position available
This enables the reference height to be reset when global vertical position becomes available in-flight.
2017-12-07 08:20:16 +00:00
Daniel Agar
db8900fffc cmake improve git submodule dependencies 2017-12-06 21:15:32 -05:00
Daniel Agar
1086d4a1e4 Jenkins clear ccache stats before each build 2017-12-06 20:33:06 -05:00
Daniel Agar
2fa1702c71 Jenkins temporarily disable coverage and clang-tidy
- check format first to reduce build utilization
2017-12-06 19:46:56 -05:00
Daniel Agar
8d39f4e4a1 px4io only update params and bind if not armed 2017-12-06 10:08:00 +00:00
Daniel Agar
f748b38b3a mc_att_control set timestamp_sample from gyro 2017-12-06 10:08:00 +00:00
Paul Riseborough
f6b108c2b6 ecl: Use branch Release_1.7.0 (#8406)
This branch fixes a reported bug, fixes tow potential bugs and fixes a minor documentation error.

1) Removes code un-used under normal conditions that would prevent a height reset if a negative height variance was present. Potential bug.
2) Fix error in parameter documentation.
3) Adds missing initialisations for class variables . Potential bug.
4) Prevents the EKF loss of navigation message being output on startup. Reported bug.
2017-12-06 00:04:34 -05:00
Beat Küng
2f18a3699c micrortps_bridge: add optical_flow to the set of received topics
Required for Optical Flow on the Aero via RTPS
2017-12-05 23:48:15 -05:00
Julien Lecoeur
bcceadcb85 NuttX: silence warnings -Wimplicit-fallthrough and -Wnonnull-compare 2017-12-05 22:51:43 -05:00