Julien Lecoeur
fc860140f1
Fix internal compiler error with GCC 7
...
Here is the error message:
PX4/Firmware/src/systemcmds/tests/test_matrix.cpp:641:1: internal compiler error: in trunc_int_for_mode, at explow.c:55
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
8 years ago
Julien Lecoeur
7929287f73
Fix -Werror=format-truncation on GCC 7
...
Fix formatting
Check snprintf return for error AND overflow
8 years ago
Julien Lecoeur
407b403e68
Fix -Werror=maybe-uninitialized on GCC7
8 years ago
Julien Lecoeur
06c6a0cdec
Fix -Werror=implicit-fallthrough errors on GCC7
8 years ago
Daniel Agar
ca480ff868
ms4525 treat max temperature as an error
8 years ago
Daniel Agar
f82e85f8ff
cmake remove -fno-math-errno and -fmerge-all-constants ( #7462 )
8 years ago
Daniel Agar
58ca307c9d
move -fno-math-errno to nuttx only
8 years ago
Daniel Agar
75a91f79ae
compiler optimizations add -fmerge-all-constants
8 years ago
Daniel Agar
aeb1fe5a55
compiler optimizations add -fno-math-errno
8 years ago
Lorenz Meier
13bf312263
Commander: Be less verbose
8 years ago
Paul Riseborough
d68dd6ae1e
ekf2: Fix parameter description typo
8 years ago
Paul Riseborough
b3ceb37272
ekf2: Add parameter to set range dependant noise
8 years ago
ChristophTobler
929ecd0e94
change to uint32 to match updated type from ecl
8 years ago
Roman
0007096007
updated ecl
...
Signed-off-by: Roman <bapstroman@gmail.com>
8 years ago
Roman
33495e8143
ekf2: added parameters to specify horizontal speed and absolute altitude
...
thresholds for range aid mode
Signed-off-by: Roman <bapstroman@gmail.com>
8 years ago
Roman
b5a94481a8
ekf2_main: support range aid feature
...
Signed-off-by: Roman <bapstroman@gmail.com>
8 years ago
Roman
68c2eb9dec
ekf2_params: added range aid parameter
...
Signed-off-by: Roman <bapstroman@gmail.com>
8 years ago
Khoi Tran
355205554a
Use format to properly format file for process_logdata_parser.py
8 years ago
Daniel Agar
8b3fb1e999
param fix parameters.xml dependency
8 years ago
Daniel Agar
e1a3c53930
cmake posix and qurt impl fix whitespace
8 years ago
Daniel Agar
61da642cc8
cmake fix airframes.xml dependency
8 years ago
Daniel Agar
6a443765a5
cmake only include mavlink where used
8 years ago
Martina
5984e3d330
mission: clean up mavlink log messages style
8 years ago
Beat Küng
410e822775
px4fmu-v4pro board_config: swap BRICK1 with BRICK2
...
problem: previously when connecting power to Power 1, commander refused
to arm (no power source error), and when connecting to Power 2, arming
works, but power consumption was not measured (& shown in QGC).
Swapping Brick1 with Brick2 makes sure both works when connecting to
power 1.
Ideally we will have support for both power sources (including fail-over)
8 years ago
ChristophTobler
91a94ce874
check for NAN -> use curr pos and check if first to avoid drifting
8 years ago
Lorenz Meier
7d23a52871
Commander: Remove debug output
8 years ago
Lorenz Meier
0a8b9061cf
SDP3x driver: Minor cleanup in driver
8 years ago
Paul Riseborough
28017105f4
position_estimator_inav: publish vertical position derivative
8 years ago
Paul Riseborough
a147179ad8
local_position_estimator: publish vertical position derivative
8 years ago
Paul Riseborough
7aec94d4d6
ekf_att_pos_estimator: publish vertical position derivative
8 years ago
Paul Riseborough
4b7ae78fda
ekf2: publish vertical position derivative
8 years ago
Paul Riseborough
2e008dfbc4
msg: Add vertical derivative to vehicle position messages
...
This enables control loops that are sensitive to vertical velocity offsets to use a vertical velocity that is kinematically consistent with the vertical position.
8 years ago
Paul Riseborough
862201cc4c
ecl: EKF update
...
Adds interface for vertical position derivative
8 years ago
Beat Küng
4afa931d80
voted_sensors_update: fix mag rotation
...
fixes a wrong index for _mag_device_id: previously, driver_index was used
(the CAL_MAG param index), but the correct index is the uorb topic
instance.
8 years ago
Mohammed Kabir
4d6c1b5749
Add second barometer to thermal compensation fitting script
8 years ago
Todd Stellanova
fd47e0cbb3
Set system real time clock once from GNSS data.
...
Fixes #7421
Tested with Pixracer and Zubax GNSS2.0
8 years ago
ChristophTobler
bc406a122e
disable min loiter altitude
8 years ago
Sean Matthews
1c56cad3b1
Uses astyle 2.06
8 years ago
Sean Matthews
08891526fd
Fixes #6484 : Bug in Offboard mode incorrect use of type_mask
8 years ago
Lorenz Meier
d5c923c7ef
Navigator: Fix RTL backtransition for VTOL
...
A recent change removed the command forwarding required for VTOL transitions. This change brings this back.
Partially reverts https://github.com/PX4/Firmware/pull/7249
8 years ago
Matthias Grob
e28f8bff67
commander: make commonly spoken strings more user friendly
...
these technical messages might not be suitable for the user of a product
8 years ago
Mohammed Kabir
5a96490c68
sensors : fix race condition triggered by slow-to-boot external sensors
8 years ago
Mohammed Kabir
51b23f0b57
sensors : add parameters for 4th mag into used parameters list
8 years ago
Beat Küng
90df55123b
lps25h_spi.cpp: remove MAGIOCGEXTERNAL ioctl
...
Because it's a baro driver, not a mag.
8 years ago
Beat Küng
ce7d8d2270
sensor_mag.msg: add is_external flag & set it in the mag drivers
...
With this we don't have to use the ioctl MAGIOCGEXTERNAL, which does not
work on POSIX (eg. RPi).
8 years ago
Beat Küng
19cdbcfd4f
sdp3x_airspeed: fix shadowing warning for crc
8 years ago
Beat Küng
ba3d66abba
voted_sensors_update: fix invalid/stale mag data on posix
...
Problem: _mag_device_id is used to get the correct rotation matrix for each
mag. But on POSIX, _mag_device_id was always 0, leading to invalid rotation
matrices.
This resulted in stale mag error messages (rot matrix=0 ==> mag data=0).
_mag_device_id was 0 because there are no /dev/magX devices (eg. on RPi),
thus the mag driver could not be opened.
This patch does: get the device id from the uorb topic instead. We still
need the device handle on certain platforms to apply the calibration params
and to check if the mag is internal or external.
Problem left: on POSIX, the check for external mag does not work.
8 years ago
Beat Küng
76f593afb0
fix voted_sensors_update: remove DevMgr::releaseHandle(h);
...
the 'continue' continues with the inner loop, whereas the outer loop is
responsible for opening the handle. Thus the inner loop needs to keep it
open.
8 years ago
Beat Küng
af6846b9a8
fix voted_sensors_update: use int32 for param_get()
8 years ago
Beat Küng
ce27e75a76
sensors: better status output
8 years ago