DanielePettenuzzo
350df41e42
ms4525_airspeed: remove i2c_bus parameter from start function (it tries all busses)
2018-08-03 13:41:56 +02:00
DanielePettenuzzo
95295b30e8
ms4525_airspeed: change start_bus from bool to int
2018-08-03 13:41:56 +02:00
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
Roman
e1bca8d01a
mavlink: fixed nullptr dereferencing in case unknown mavlink message is
...
forwarded
Signed-off-by: Roman <bapstroman@gmail.com>
2018-08-02 15:09:03 +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
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
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
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
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
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
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
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 840488909838d76daf6b
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 912272505264a80e174eedbeb2cff85cc522f4c9
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
Daniel Agar
daa6f29b58
commander ignore failsafe transitions when in mission and disarmed
2018-06-13 08:37:00 +02:00
Daniel Agar
44ad3c98ad
Update submodule matrix to latest Tue Jun 12 15:14:08 CDT 2018 ( #9649 )
...
- matrix in PX4/Firmware (ed6db94ec0f1ce2b6e4a975229c51fb5e3ff559a): 03a3e3ad46
- matrix current upstream: b815fc97c4
- Changes: 03a3e3ad46...b815fc97c4
b815fc9 2018-06-12 Roman Bapst - replace quiet_NaN() with INFINITY (#70 )
2018-06-12 16:45:51 -04:00
David Sidrane
8aa1d4d68d
BUGFIX hardfault FMUv5 List was used before being initalized.
...
_uavcan_open_request_list was accessed before it was initalized.
2018-06-12 13:44:04 -07:00
David Sidrane
b42794f3b9
Updated libuavcan to 883cba97 + NuttX IRQ patch
2018-06-12 13:01:12 -07:00
Florian Achermann
4697bf428b
Navigator Fix: Do not set the closest mission item in normal mission mode ( #9646 )
...
- fixes #9606
2018-06-12 12:11:14 -04: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
b23e40ca42
move systemlib/pid 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
965eaecf4d
systemlib printload naming consistency
2018-06-12 09:06:30 +02:00
Daniel Agar
dfb98b2a70
systemlib delete unused getopt_long
2018-06-12 09:06:30 +02:00
Daniel Agar
f913e062da
systemlib delete unused err.c
2018-06-12 09:06:30 +02:00
Daniel Agar
d3f7de6f9c
systemlib delete unused state_table.h
2018-06-12 09:06:30 +02:00
Daniel Agar
d73d20bcce
systemlib delete unused systemlib.h
2018-06-12 09:06:30 +02:00
Daniel Agar
fda25e9f3a
systemlib delete unused ppm_decode
2018-06-12 09:06:30 +02:00
Daniel Agar
d0bde9ab2a
replace geo _wrap_pi with matrix::wrap_pi
2018-06-12 09:00:52 +02:00