DanielePettenuzzo
dd044ed4be
ms4525_airspeed: remove PX4_I2C_ALL
2018-08-03 13:41:56 +02:00
DanielePettenuzzo
9b2e32c976
ms4525_airspeed: add -a flag to scan all i2c busses during start
2018-08-03 13:41:56 +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
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
DanielePettenuzzo
1da87aa173
Vl53lxx Driver Coverity Fixes ( #9671 )
2018-06-14 20:36:43 -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 a62a71f48f3d40bba6e9af114a185f6bbad849b1.
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
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
9151351b8d
l3gd20: add argc check and use px4_getopt
2018-06-12 11:02:50 +02:00
Daniel Agar
0430520371
Revert "px4io: fix NuttX build"
...
This reverts commit 27e75920bd560b7d8de295db45aba8cf036cd98d.
2018-06-12 10:14:03 +02:00
Daniel Agar
20aabd3566
move systemlib/airspeed to standalone lib
2018-06-12 09:06:30 +02:00
Daniel Agar
e468a9bbcc
move systemlib/pwm_limit to standalone lib
2018-06-12 09:06:30 +02:00
Daniel Agar
387bc81f26
move systemlib/circuit_breaker.cpp to standalone lib
2018-06-12 09:06:30 +02:00
Daniel Agar
7eeba7b8ca
systemlib delete unused board_serial
2018-06-12 09:06:30 +02:00
Daniel Agar
d73d20bcce
systemlib delete unused systemlib.h
2018-06-12 09:06:30 +02:00
Julian Oes
27e75920bd
px4io: fix NuttX build
...
This change lead to a build error and is therefore reverted here.
2018-06-11 12:09:36 +02:00
Mohammed Kabir
32a7097018
px4flow : publish sensor limits over uORB
2018-06-09 13:38:04 +02:00
Lorenz Meier
aee05d0ac5
FMU: Increase stack space as needed (shown by instrumentation) to retain a 300 bytes buffer.
2018-06-08 08:39:14 +02:00
Beat Küng
a62a71f48f
gps: reopen the gps port on failed auto-detection
...
work-around for https://github.com/PX4/Firmware/issues/9461
2018-06-07 22:20:47 +02:00
Lorenz Meier
02eaf2ce28
FMUv5: Fix safety switch led
...
Both IO and FMU are connected to the safety switch for default models. This needs later to be broken out to a config option for builds that do not contain an IO.
2018-06-06 22:23:24 +02:00
Philipp Oettershagen
be4ba32cf0
vl53lxx distance sensor: Remove subsystem_info calls because all sensors are now checked inside commander
2018-06-06 18:54:24 +02:00
Philipp Oettershagen
f5847a4a7b
Subsystem_info status flags & checks: Switch back to uORB for inter-process communication, handle GPS checks completely inside ekf2, add distance_sensor checks
2018-06-06 18:54:24 +02:00
Philipp Oettershagen
6f1f414b49
Subsystem_info status flags & checks : Initial commit, updating the health flags in a centralized way mostly in commander and the votedSensorsUpdate function.
2018-06-06 18:54:24 +02:00
DanielePettenuzzo
40e6a5a39b
fmu-v5: fix ms5611
2018-06-06 17:31:33 +02:00
DanielePettenuzzo
2ab5dc2951
fmu-v5: remove i2c3 as bus expansion because used just for internal mag (ONBOARD)
2018-06-06 17:31:33 +02:00
DanielePettenuzzo
7a760ee501
fmu-v5: add PX4_I2C_BUS_EXPANSION1 and 2 to all drivers that check all the busses
2018-06-06 17:31:33 +02:00
githubDLG
563200fee6
fix rgbled On and Powersave value in read mode
...
fix rgbled On and Powersave value in read mode.
In read mode, the ENABLE and SHDN is in bit 4 and bit5, so we may need a 4bit left shift to get a correct value.
2018-06-06 08:19:18 +02:00
Lorenz Meier
bbc104ad4c
Added missing fields to IST8310 mag report.
2018-06-05 23:21:53 +02:00
mcsauder
ca5e22583f
Remove extra newline in omnibus-f4sd/usb.c to quiet git new blank line at EOF warning.
2018-06-05 09:15:21 +05:30
Beat Küng
ad587def24
test_ppm: add argc check
2018-06-04 16:33:55 +02:00
Beat Küng
dc7db9d793
iridiumsbd: add argc check
2018-06-04 16:33:55 +02:00
Beat Küng
7c79c1ae9f
pwm_input: add argc check
2018-06-04 16:33:55 +02:00
Beat Küng
cce3c270c3
lis3mdl: add argc check and use px4_getopt
2018-06-04 16:33:55 +02:00
Beat Küng
ffccba12e2
bmm150: add argc check and use px4_getopt
2018-06-04 16:33:55 +02:00
Beat Küng
009b2d4d6b
mpu9250: add argc check and use px4_getopt
2018-06-04 16:33:55 +02:00
Beat Küng
c2c3780918
mpu6000: add argc check and use px4_getopt
2018-06-04 16:33:55 +02:00
Beat Küng
a0d4e7aa90
bmi160: add argc check and use px4_getopt
2018-06-04 16:33:55 +02:00
Beat Küng
8f5fb3d0e5
bma180: add argc check
2018-06-04 16:33:55 +02:00
Beat Küng
7a3b34be74
tfmini: add argc check and fix argv index
2018-06-04 16:33:55 +02:00
Beat Küng
eabfac71d6
teraranger: add argc check and fix argv index
2018-06-04 16:33:55 +02:00
Beat Küng
554003b3f1
srf02: add argc check
2018-06-04 16:33:55 +02:00
Beat Küng
490ccc0076
sf1xx: add argc check
2018-06-04 16:33:55 +02:00
Beat Küng
2a7cd392b1
sf0x: add argc check and fix argv index
2018-06-04 16:33:55 +02:00
Beat Küng
85c676316c
mb12xx: add argc check and fix argv index
2018-06-04 16:33:55 +02:00