Lorenz Meier
a8bc3d187f
Update MAVLink submodule
...
This updates the MAVLink submodule to the current version including the trajectory WIP messages.
2018-04-29 20:17:56 +02:00
aklimaj
25528a5ae0
Adds support for another MPU9250 or MPU6500 on px4fmu-v4 internal SPI bus. Adds PX4_SPI_BUS_EXT, PX4_SPIDEV_EXT_MPU to board config and spi.c. Call 'mpu9250 -S start' to enable.
2018-04-28 15:16:41 +02:00
Beat Küng
c7c3e23f0d
MC acro: update param descriptions
2018-04-27 22:34:55 +02:00
johannes
b98cd6ecb5
ecl-ekf tools: separate the analysis from the visualization and preprocessing
...
- move the analysis parts of the process_logdata_ekf script to
the 'analyse_ekf' function in a new file analyse_logdata_ekf.py
- return a test_results dictionary from analyse_ekf
- still process log loading, preprocessing and results file output in
process_logdata_ekf
- add command line argument to toggle plotting
- add command line argument to use different dictionary to check_level_dict.csv
2018-04-27 22:34:17 +02:00
johannes
a0b4bbed5e
ecl-ekf tools: clean up - move code to correct scope
...
- move code that is needed for general analysis out of plot scope
2018-04-27 22:34:17 +02:00
Beat Küng
12e967173d
MC: set default MPC_THR_MAX & MPC_MANTHR_MAX to 1
...
With the updated mixer (#9062 ) it's safe to set maximum thrust to 1 (in
both cases, if MC_AIRMODE is set, or not set).
So I see no reason to limit the maximum thrust.
2018-04-26 14:37:48 +02:00
Beat Küng
f2cee9970c
MC acro: add separate params to configure yaw expo
...
So that it can be customized better according to personal preferences.
The limitation of 16 chars did not allow to use a better param name.
2018-04-26 14:17:16 +02:00
Beat Küng
58c757a9db
mc_att_control_params: increase max acro rates to 1800
...
This matches the maximum rates for the attitude controller.
2018-04-26 14:17:16 +02:00
Beat Küng
332a612f35
mc_att_control_main: do not apply the yaw weight for the feedforward term
...
The meaning of the yaw weight changed with #8003 :
- before, the yaw weight decreased with increasing tilt angle error, so
it was mostly 1
- now, it is constant and depends on the tuning gains (around 0.4 by default)
It means that #8003 reduced the feedforward term, and we get the closer
behavior as before with this change.
It also reduces coupling between different parameters.
2018-04-25 16:33:09 +02:00
Beat Küng
202505fd73
mixer_multirotor: fix initialization of _outputs_prev
...
memset (http://www.cplusplus.com/reference/cstring/memset/ ) interprets
the value argument as unsigned char, so passing a float will not work.
2018-04-25 16:33:09 +02:00
Beat Küng
4ef3d258eb
imu drivers: do not set on-chip filter based on driver filter setting
...
The description of IMU_GYRO_CUTOFF was incorrectly saying that it only
affects the driver filtering, but in fact it also set the on-chip filter
to the next higher supported value. This patch fixes that.
And because the IMU_GYRO_CUTOFF and not the IMU_ACCEL_CUTOFF was used for
the on-chip filter, after #9070 which sets the default gyro filter to 80,
we were effectively using a dlpf of 98 Hz.
For this reason this patch changes the on-chip cutoff frequency to 98 as
well, so that the overall default behavior is unchanged.
2018-04-25 16:32:06 +02:00
Daniel Agar
fbbe1f5288
commander use new time literals
2018-04-24 00:02:48 -04:00
Paul Riseborough
cbb4559c15
ecl : update to version that fixes wind relative dead reckoning bug
2018-04-24 00:02:48 -04:00
Daniel Agar
35cb2d0a9e
EKF2 fix airspeed orb_copy check
2018-04-24 00:02:48 -04:00
Paul Riseborough
477a42e6f6
ekf2: Enable adjustment of nav validity timeout
2018-04-24 00:02:48 -04:00
Daniel Agar
89ad46dd15
commander delete unused DIFFPRESS_TIMEOUT
2018-04-24 00:02:48 -04:00
Daniel Agar
cd69a573b5
commander restore MC nav failure latch
2018-04-24 00:02:48 -04:00
Daniel Agar
f13f8f9c64
commander add COM_POS_FS_PROB and COM_POS_FS_DELAY metadata limit
2018-04-24 00:02:48 -04:00
Daniel Agar
fc26fd99bd
commander move remaining position failsafe params to class and cleanup
2018-04-24 00:02:48 -04:00
Daniel Agar
439ed7d3f5
posix sitl ekf2 plane model add fw defaults
...
- EKF2 airspeed fusion and synthetic sideslip fusion
- commander eph/epv failsafe thresholds appropirate for FW
2018-04-24 00:02:48 -04:00
Daniel Agar
fa9f400dbd
commander update super block parameters
2018-04-24 00:02:48 -04:00
Daniel Agar
f131409bce
FW defaults set commander eph, epv, evh thresholds
2018-04-24 00:02:48 -04:00
Daniel Agar
b70e7433dc
commander add parameters for eph, epv, evh requirements
2018-04-24 00:02:48 -04:00
alessandro
255cc12c48
tap_esc: removed a zero-memset
2018-04-23 12:08:51 +02:00
alessandro
c0efe2db56
tap_esc: replaced PWM_DEFAULT_UPDATE_RATE
2018-04-23 12:08:51 +02:00
alessandro
d7c9f5c101
tap_esc: paranoid check
2018-04-23 12:08:51 +02:00
alessandro
c869fa3431
tap_esc: moved device path to drv_tap_esc.h
2018-04-23 12:08:51 +02:00
Daniel Agar
5f175f9712
Update submodule nuttx to latest px4_firmware_nuttx-7.22+ ( #9354 )
...
- Changes: fe0dc6c41a...65b87d092a
65b87d0 2018-04-19 Daniel Agar - [PX4 BACKPORT] Merged in dagar/nuttx/pr-stm32f777_typo (pull request #628 )
2018-04-23 00:18:19 -04:00
Daniel Agar
0e823c82b6
FW landing check if prev valid before using ( #9284 )
2018-04-21 12:03:46 -04:00
Roman
4be4b9810e
mpu9250 wrapper: support updating gyro & accel cutoff via parameter
...
- useful for tuning snapdragon flight
Signed-off-by: Roman <bapstroman@gmail.com>
2018-04-20 11:53:31 -04:00
alessandro
b066ef3427
libecl: checked out recent commit of master ( #9339 )
...
* ECL update includes physical constants for https://github.com/PX4/Firmware/pull/9319
2018-04-19 11:25:39 -04:00
CarlOlsson
56150c28dd
ll40ls: increase the sleep time after resetting registers
...
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com>
2018-04-19 07:52:15 +02:00
CarlOlsson
cbf3cee096
ll40ls: increase the number of samples used to find a correlation peak for LitarLite
...
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com>
2018-04-19 07:52:15 +02:00
Daniel Agar
d75fd72c02
stop manually defining physical constants
2018-04-19 07:24:58 +02:00
Daniel Agar
7538ea44e3
Jenkins add VTOL tiltrotor mission test
2018-04-19 07:21:00 +02:00
Roman
7fa91ad3dd
posix-configs: increase tailsitter land speed
...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-04-18 17:23:38 -04:00
Roman
bb4b5e7c1d
posix-configs: set tailsitter SITL SYS_AUTOSTART to quad tailsitter
...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-04-18 17:23:38 -04:00
Roman
694df08b37
posix-configs: better tailsitter front transition parameters
...
- reduce height increase during front transition
Signed-off-by: Roman <bapstroman@gmail.com>
2018-04-18 17:23:38 -04:00
Daniel Agar
e0cb5a6164
Jenkins add tailsitter CI mission
2018-04-18 17:23:38 -04:00
Roman
e7e791fb1a
tailsitter: use forward transition throttle for climb-rate controlled mode
...
- the mc pos controller will decrease throttle during the transition
and thus the vehicle will not pick up enough airspeed to complete the
transition
Signed-off-by: Roman <bapstroman@gmail.com>
2018-04-18 17:23:38 -04:00
Roman
0f1c9504d5
FixedWingPositionControl: rotate attitude consistenly for tailsitters
...
Signed-off-by: Roman <bapstroman@gmail.com>
2018-04-18 16:20:15 +02:00
Beat Küng
e46e6f99f3
module template: move documentation to a new category 'template' ( #9324 )
2018-04-18 08:53:52 -04:00
alessandro
a05bf390c1
rc_check: typos in mavlink error
2018-04-18 13:15:16 +02:00
alessandro
5ebe76207d
tap_esc: formatting and renaming
2018-04-18 07:48:24 +02:00
alessandro
05548829d3
tap_esc: addressing review comments for #9313
2018-04-18 07:48:24 +02:00
alessandro
4f5644c0ef
tap_esc: more cleanup
...
- removing unused variables
- removing unused code blocks
- improving code readability
- initialising members at definition
2018-04-18 07:48:24 +02:00
alessandro
1ab2d22e42
tap_esc: removed redundant _initialized member
2018-04-18 07:48:24 +02:00
alessandro
b49ccb889c
tap_esc: removed unused NO_VERIFY_CONFIG
2018-04-18 07:48:24 +02:00
alessandro
edf6f6c97a
tap_esc: removed unnecessary includes
2018-04-18 07:48:24 +02:00
alessandro
fceffb1d01
tap_esc: removed unused mode var/struct
2018-04-18 07:48:24 +02:00