Daniel Agar
6b94ef1a03
mpu9250 allow a 2nd internal spi instance and remove px4fmu-v4 fake external ( #9386 )
2018-05-04 12:38:43 -04:00
Daniel Agar
2e92484325
ecl update to latest master with separate libraries ( #9406 )
2018-05-03 23:48:09 -04:00
Martina Rivizzigno
41b0db2860
vmount: input_mavlink point gimbal towards current triplet instead of next ( #9405 )
2018-05-03 12:26:04 -04:00
Daniel Agar
6b2daef5ec
lps22hb barometer driver
2018-05-02 09:05:28 -04:00
Daniel Agar
598743bbdc
delete srf02_i2c which is nearly identical to srf02 ( #9396 )
2018-05-02 08:50:12 -04:00
Daniel Agar
977ab4e7b8
improve end to end control latency measurement ( #9388 )
2018-05-02 03:03:32 -04:00
Daniel Agar
1b3803fbe5
px4io driver remove unnecessary class fields
2018-05-01 17:55:47 +02:00
Daniel Agar
8404889098
delete unused ADCSIM
...
- set BOARD_NUMBER_BRICKS to 0 for boards without analog power bricks
2018-04-29 21:48:54 -04:00
Daniel Agar
ea3acb7121
cmake remove circular linking and reorganize
...
- px4_add_module now requires MAIN
- px4_add_library doesn't automatically link
2018-04-29 21:48:54 -04: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
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
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
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
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
Alessandro Simovic
b71ac78959
tap_esc: converted to module
2018-04-18 07:48:24 +02:00
Alessandro Simovic
5da7beb8f5
tap_esc_common: docs & function return types etc.
2018-04-18 07:48:24 +02:00
Alessandro Simovic
f95b823e31
tap_esc: moved common functions to tap_esc_common
2018-04-18 07:48:24 +02:00
Alessandro Simovic
4ab8c2a682
tap_esc: made _uart_fd a class member
2018-04-18 07:48:24 +02:00
Beat Küng
e98919cf3c
drv_hrt: add user-defined integer literals for time constants
...
The goal is to improve the readability for expressions like:
if (hrt_elapsed_time(&start_time) > 8000000)
Available since C++11
2018-04-14 13:45:57 +02:00
Roman
733d773bcc
drv_pwm_output: include board config header
...
- board config can define PX4_PWM_ALTERNATE_RANGES which needs to be known
by the compiler prior to processing this file
Signed-off-by: Roman <bapstroman@gmail.com >
2018-04-12 09:19:47 +02:00
Daniel Agar
3b5b12e1d1
move baro and magnetometer data out of sensor_combined
2018-04-11 23:26:58 -04:00
Daniel Agar
5dc23def2a
move pressure altitude from baros to sensors module
2018-04-11 23:26:58 -04:00
acfloria
0caa4dc171
Mavlink: Don't use a packed struct as input for the convert_limit_safe function
...
- Addional small cleanup of the iridium driver and the include guards of mavlink module header files
2018-04-11 15:15:28 +02:00
acfloria
975d7ddcb2
IridiumSBD: Clean up MavLink message parsing
2018-04-11 15:15:28 +02:00
acfloria
f1a6aecb4d
IridiumSBD: Log tx buffer reset in the telemetry_status instead of a status text
2018-04-11 15:15:28 +02:00
acfloria
53fdbb6c04
Remove unnecessary newlines
2018-04-11 15:15:28 +02:00
acfloria
b66b997c66
IridiumSBD: Robustify state machine and fix format
...
- Check if changing to a non standby state if the current state is the standy state and no change is already scheduled.
- Add prefix _ to all class variables
2018-04-11 15:15:28 +02:00
acfloria
0e89a6b8bd
IridiumSBD: Do not allow stopping the driver when the device is used to prevent hardfault
2018-04-11 15:15:28 +02:00
acfloria
d4f703bde8
IridiumSBD: Improve TX buffer handling
...
- Allow using the full buffer size (340 bytes)
- Add tx mutex for sbd session to avoid dropping message which are written during an sbd session
2018-04-11 15:15:28 +02:00
acfloria
28da1492d3
IridiumSBD: Only write to modem if new data arrived
2018-04-11 15:15:28 +02:00
acfloria
44937c3a99
Iridiumsbd driver: Publish log message when TX buffer is deleted
2018-04-11 15:15:28 +02:00
acfloria
47567c5c24
Improve IridiumSBD TX buffer handling
...
- Every time data is written to the iridium module all previous untransmitted data is overwritten
- The buffer is reset only on the following conditions
- A sbd session is successfully completed
- An incoming mavlink message would result in less than SATCOM_MIN_TX_BUF_SPACE free bytes after it is written
- Any other incomming data would result in less than SATCOM_MIN_TX_BUF_SPACE free bytes after it is written to the buffer.
2018-04-11 15:15:28 +02:00
acfloria
ebb5ec7c46
Fix bug when ISBD parameters were too large
2018-04-11 15:15:28 +02:00
acfloria
392af4fbb6
Small improvements for the IridiumSBD driver
2018-04-11 15:15:28 +02:00
acfloria
fa1586249a
Fixes IridiumSBD driver bug when transmitting data
2018-04-11 15:15:28 +02:00
acfloria
78950f2b39
Fix format and remove ets driver from fmu-v2 build
2018-04-11 15:15:28 +02:00
acfloria
00f6ef1d2f
Style fix and iridium signal check rate fix
2018-04-11 15:15:28 +02:00
acfloria
b613ca051a
Refactor Iridiumsbd driver
...
- Reorder functions so that they have the same order in the .h and .cpp file
- Update documentation for functions
- Make variables and some functions private
2018-04-11 15:15:28 +02:00
acfloria
634697946a
Add switch logic for high latency telemetry in commander
...
Switch to the high latency telemetry, if available, if every low latency link is lost. Switch back if any low latency link is regained. Only indicate that all links are lost if all high and low latency links are lost. Allow different timeouts for high and low latency links.
2018-04-11 15:15:28 +02:00