DanielePettenuzzo
fa35731e02
ms4525_airspeed: add -a flag to scan all i2c busses during start
2018-06-21 07:37:53 +02:00
Philipp Oettershagen
7a82c777b2
LandDetector FW: Fix param min/max values and descriptions as well as some variable names which were wrong/outdated ( #9708 )
2018-06-20 16:13:33 -04:00
korigod
4dfd77a0cd
cmake: add nuttx force-upload target ( #9717 )
...
If the PX4FMUv2 board does not have the v5 uploader, it's not possible
to check the silicon revision to make sure it's safe to upload the
firmware which is more than 1 MB. However, if the user is sure the
silicon revision is not affected by this errata, he can upload the
firmware using px4_uploader.py with --force argument. This commit adds
`force-upload` make target to do it more convenient way.
Signed-off-by: Andrei Korigodski <akorigod@gmail.com >
2018-06-20 10:37:01 -04:00
Ricardo Marques
bf0a1f05fb
Tilt-Quadrotor Mixer and Airframe files ( #9496 )
2018-06-20 10:35:05 -04:00
Beat Küng
6a7751496b
df_ms5611_wrapper: fix initialization of error_count & device_id
2018-06-20 08:28:33 +02:00
Paul Riseborough
4a0b41bbc0
ekf2: Enable use of flow sensors not fitted with gyros ( #9703 )
...
* ecl: Update to version allowing use of flow sensors without gyros
* msg: Update description for optical_flow
Adds advice for publishing gyro rate integral message when no rate gyro is fitted.
2018-06-20 10:28:58 +10:00
Julien Lecoeur
c73944c7a2
Mavlink: initialize _ping_stats
...
Uninitialized `_ping_stats.last_ping_time` caused ping statistics to be printed even when no ping was received.
2018-06-19 13:00:36 +02:00
Lorenz Meier
96443b3cf3
Update README
v1.8.0
2018-06-19 08:23:34 +02:00
Beat Küng
d1343b0ccb
calibration_routines: fix 'Command denied during calibration' error message
...
The uorb subscribe logic got changed for queued topics with
https://github.com/PX4/Firmware/pull/9436 , meaning an orb_subscribe will
return past messages as well now.
This lead to an error 'Command denied during calibration' for the previously
received calibration start command.
2018-06-18 15:06:58 +02:00
Paul Riseborough
1cba257bac
Merge branch 'master' into pr-ekfOptFlowGyro
2018-06-18 09:36:16 +10:00
PX4 Jenkins
1fac3a1cee
Update submodule sitl_gazebo to latest Sat Jun 16 21:27:20 EDT 2018
...
- sitl_gazebo in PX4/Firmware (ebc40067c7 ): https://github.com/PX4/sitl_gazebo/commit/8a3166bf5d315274cfd503a75880e9837faa9694
- sitl_gazebo current upstream: https://github.com/PX4/sitl_gazebo/commit/b5a92095bfb1b6a218a80f58ad9fe09c89ef4598
- Changes: https://github.com/PX4/sitl_gazebo/compare/8a3166bf5d315274cfd503a75880e9837faa9694...b5a92095bfb1b6a218a80f58ad9fe09c89ef4598
b5a9209 2018-06-10 TSC21 - travis_ci: Add OSX build
2018-06-17 10:30:44 +02:00
rolandash
ebc40067c7
otherwise posix_sitl_rtps fail to build (MACOS)
2018-06-16 10:13:33 +02:00
Lorenz Meier
d14d31df14
PX4IO: Initialize all channels to zero
...
This sets all channels to zero, including unused channels. Any consumer of the data using the channel count will not see a difference, but this is helpful to avoid confusion in log analysis.
2018-06-16 00:05:18 +02:00
PX4 Jenkins
af07d4b37b
Update submodule apps to latest Fri Jun 15 15:25:42 UTC 2018
...
- apps in PX4/Firmware (1bc4a73eaacdb40f7d3f5ebd11882913b541b419): https://github.com/PX4-NuttX/apps/commit/7e2f17db4e770e65ee39b1a964cf4644720d976c
- apps current upstream: https://github.com/PX4-NuttX/apps/commit/36806ba3d84c0fa07ed86857d4c92a997b7cd194
- Changes: https://github.com/PX4-NuttX/apps/compare/7e2f17db4e770e65ee39b1a964cf4644720d976c...36806ba3d84c0fa07ed86857d4c92a997b7cd194
36806ba 2018-06-06 Beat Küng - nsh_parse.c: fix 'while' and 'until' loop condition
2018-06-15 11:56:15 -04:00
PX4 Jenkins
499337ad7f
Update submodule v2.0 to latest Fri Jun 15 15:25:36 UTC 2018
...
- v2.0 in PX4/Firmware (a19fecad94 ): https://github.com/mavlink/c_library_v2/commit/653ac745a57794a38c831f1ff296066a2e09c09b
- v2.0 current upstream: https://github.com/mavlink/c_library_v2/commit/033fa8e7a4a75a0c3f17cea57e3be8966e05f770
- Changes: https://github.com/mavlink/c_library_v2/compare/653ac745a57794a38c831f1ff296066a2e09c09b...033fa8e7a4a75a0c3f17cea57e3be8966e05f770
033fa8e 2018-05-24 PX4BuildBot - autogenerated headers for rev https://github.com/mavlink/mavlink/tree/d8ea87b9c6173ad72a032219588e302eb8cb212a
2018-06-15 11:55:52 -04:00
David Sidrane
a19fecad94
Removed zero termination as a for constuct was used
2018-06-15 17:08:01 +02:00
David Sidrane
3e0928d9ea
Changed variable type and used cpp array init.
2018-06-15 17:08:01 +02:00
David Sidrane
22b8a6c57e
Fixed capitalization grammar
2018-06-15 17:08:01 +02:00
David Sidrane
afc8fe39df
Rename trigger argument for clarity
2018-06-15 17:08:01 +02:00
David Sidrane
4e5e0c6921
camera_trigger:Refacter GPIO camera triggering
...
Refactored for efficiency and simplicity.
2018-06-15 17:08:01 +02:00
Beat Küng
ff365cad08
rtl: change "RTL: land at home" message from critical to info
2018-06-15 15:53:28 +02:00
Beat Küng
04db56638e
ecl: update submodule
...
contains:
- https://github.com/PX4/ecl/pull/460
- https://github.com/PX4/ecl/pull/462
2018-06-15 15:53:28 +02:00
Paul Riseborough
1a1106878d
EKF: Prevent timestamp jitter failing GPS data arrival check ( #462 )
...
This fixes a error condition that occurs if _time_last_gps is greater than _time_last_imu.
By checking time stamps at the fusion time horizon, we guarantee that this cannot happen because all observations must have a time stamp smaller or equal to _imu_sample_delayed.time_us before they are retrieved from the buffers.
2018-06-15 16:03:54 +10:00
Anthony Lamping
e263af359e
launch: make px4 required ( #9682 )
2018-06-14 20:37:25 -04:00
DanielePettenuzzo
1da87aa173
Vl53lxx Driver Coverity Fixes ( #9671 )
2018-06-14 20:36:43 -04:00
David Sidrane
3098b09bbd
Updated submudule platforms/nuttx/NuttX/nuttx
...
to include [BACKPORT] Merged in kekiefer/nuttx/stm32f7-serial-fix-tiocssinglewire-upstream
2018-06-14 17:25:24 -04:00
Beat Küng
229b1274d0
fix camera_trigger gpio: _pins[i] == 0 is valid
...
Because _pins[i] is set from parameter value - 1
2018-06-14 15:03:39 -04:00
David Sidrane
a38b94c7dd
BUGFIX:GPS not working. Invalid values passed to px4_arch_configgpio
...
This is the root cause of https://github.com/PX4/Firmware/issues/9461
The _pins array was initialized to -1. It was used to index the
_gpios array. The value at _gpios[-1] was a number that mapped to
Analog mode on Port A pin 0. These is the UART4_TX pin and was
being reconfigured by the fault in the camera_trigger to an
alaog input.
2018-06-14 15:03:39 -04:00
David Sidrane
ae389ed0e3
Revert "gps: reopen the gps port on failed auto-detection"
...
This reverts commit a62a71f48f .
The root cause was the camera trigger passing invalid pin
configuration setting overwriting the UART4 TX pin setting
2018-06-14 15:03:39 -04:00
Roman Bapst
27fa29787d
updated sitl_gazebo: use asphalt plane instead of uneven ground to reduce ( #9675 )
...
computational load in optical flow simulation
Signed-off-by: Roman <bapstroman@gmail.com >
2018-06-14 14:28:28 -04:00
Daniel Agar
322c7ad5da
Jenkins SITL tests completely wipe workspace ( #9677 )
2018-06-14 14:27:35 -04:00
Beat Küng
b66f0f36a5
ros tests: add an interactive flag & disable the PX4 shell for ROS tests ( #9672 )
2018-06-14 12:37:47 -04:00
Philipp Oettershagen
753ad0e0df
Fixed-wing autoland: Fix bug that could cause a steep pitch increase and thus aircraft stall during the flare ( #9674 )
2018-06-14 11:29:03 -04:00
Daniel Agar
4ae8242c35
validation DataValidatorGroup::get_best() nullptr check
...
- fixes Coverity CID 139448
2018-06-14 08:14:53 +02:00
Daniel Agar
c3e071e052
validation initialize all members
...
- fixes Coverity CID 260331
2018-06-14 08:14:53 +02:00
Oleg Kalachev
23cd6adbe7
precland: put land precision parameter to MAVLink mission item
2018-06-13 23:32:51 -04:00
Oleg Kalachev
86d3603e2d
precland: fix landing target pose validity checking
...
In precland the copter may switch to horizontal approach state with an
old landing target pose message.
2018-06-13 23:32:51 -04:00
Roman
c8af315aa7
flow_fusion: corrected sign of gyro data when it is taken from the ekf
...
gyro data
Signed-off-by: Roman <bapstroman@gmail.com >
2018-06-13 21:52:42 +02:00
Beat Küng
036b59f3de
posix main: convert c to a char when extending add_string
2018-06-13 16:19:34 +02:00
Beat Küng
f241e49ebf
voted_sensors_update: initialize _last_magnetometer & _last_airdata
2018-06-13 16:19:34 +02:00
Beat Küng
20f2303e8a
test_mixer: fix resource leak (unclosed dp)
2018-06-13 16:19:34 +02:00
Beat Küng
76c94b08f1
PositionControl: use constant references instead of pass-by-value for structs
2018-06-13 16:19:34 +02:00
Beat Küng
5cc450c7cb
srf02: fix resource leak (unclosed fd)
2018-06-13 16:19:34 +02:00
Beat Küng
ab94bf1d60
batt_smbus: initialize _last_report
2018-06-13 16:19:34 +02:00
Beat Küng
4eda0ed782
posix main shell: fix getchar() return value and check for EOF to avoid busy loop
2018-06-13 16:19:34 +02:00
Beat Küng
226d7c79da
sensors: initialize adc only if BOARD_NUMBER_BRICKS > 0
...
Fixes the SITL startup error:
ERROR [sensors] no ADC found: /dev/adc0 (9)
Introduced in 8404889098
2018-06-13 15:54:45 +02:00
Beat Küng
08064c2b71
mavlink_main: remove nonexisting streams
...
Removes SITL startup warnings:
WARN [mavlink] stream SCALED_IMU2 not found
WARN [mavlink] stream SCALED_IMU3 not found
Introduced in 9122725052
2018-06-13 15:54:45 +02:00
Ivo Drescher
42ebbd14bb
Changed the intendation to tabs
...
Signed-off-by: Ivo Drescher <ivo.drescher@gmail.com >
2018-06-13 12:46:42 +02:00
Ivo Drescher
77d4554e6d
Modified comment about feed forward of yaw setpoint rate.
...
Added more explanations regarding the coordinate transformation.
Signed-off-by: Ivo Drescher <ivo.drescher@gmail.com >
2018-06-13 12:46:42 +02:00
Paul Riseborough
c6ed2ccfcd
EKF: Fix half frame offset in flow gyro compensation.
...
The gyro data accumulation needs to be across the same integration period as the flow sensor. The previous code didn't sample the accumulation until the midpoint of the flow data had fallen behind the fusion time horizon.
This PR changes the optical flow time stamp definition so that flow data is retrieved when the leading edge of the flow accumulation period falls behind the fusion time horizon. This enables the accumulated gyro data to be sampled at the correct time. Fusion is then delayed until the mid sample time has fallen behind the fusion time horizon.
2018-06-13 16:51:42 +10:00