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
Philipp Oettershagen
ba2cf5fa9a
fw_att_control: Fix stuttering rudder in manual mode ( #9607 )
...
fw_att_control: Fix bug that caused the rudder to stutter when FW_RLL_TO_YAW_FF>0 and aileron input was supplied
2018-06-06 12:31:24 +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
Beat Küng
2fa8783795
mavlink_receiver: implement MAV_CMD_REQUEST_STORAGE_INFORMATION
2018-06-05 14:40:01 +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
d1a7a367ac
fix px4_getopt: add argc check for options that take an argument
...
Fixes the following corner case:
mpu9250 start -R
This would return a valid result (myoptind < argc), but myoptind pointed
to a NULL argument (and thus mpu9250 would crash).
With this patch, px4_getopt will return '?', indicating a parser error.
2018-06-04 16:33:55 +02:00
Beat Küng
2de6192f66
position_estimator_inav: add missing return
2018-06-04 16:33:55 +02:00
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
Beat Küng
19933b4d3b
sdp3x: add argc check and use px4_getopt
2018-06-04 16:33:55 +02:00
Beat Küng
4b8658a318
ms5525: add argc check and use px4_getopt
2018-06-04 16:33:55 +02:00
Beat Küng
d3f9f419f1
ms4525: add argc check and use px4_getopt
2018-06-04 16:33:55 +02:00
Beat Küng
61b4b2df88
ets_airspeed: add argc check and use px4_getopt
2018-06-04 16:33:55 +02:00
Beat Küng
ae8439f0af
ms5611: add argc check
2018-06-04 16:33:55 +02:00
Beat Küng
7e7905acd1
lps22hb: add argc check and use px4_getopt
2018-06-04 16:33:55 +02:00
Beat Küng
22bc35c048
bmp280: add argc check and use px4_getopt
2018-06-04 16:33:55 +02:00
Beat Küng
5f87545e48
mavlink_messages: fill in all 16 servo channels
2018-06-04 10:55:29 +02:00
Alessandro Simovic
15a44a059d
addressing review comments from #9563
2018-06-02 08:36:35 +02:00
Alessandro Simovic
52c290e234
commander: moved emergency shutdown to end of cycle
2018-06-02 08:36:35 +02:00
Simone Guscetti
700b2c6294
logger: fix overflow on SD card total bytes
2018-06-01 19:27:30 +02:00
Jun-Tao
c7cb62eb28
logger: Fix calculation of total and left bytes
2018-06-01 19:27:30 +02:00
Beat Küng
f8dd833a14
onmibus-f4sd: add ADC support
2018-05-31 19:13:00 +02:00
Beat Küng
ae75ff6c72
px4fmu-v5/board_config.h: update BOARD_BATTERY1_V_DIV
2018-05-28 15:38:29 +02:00
Beat Küng
3f00e2e6c2
mavlink mission: send an ack on duplicated last uploaded mission item
2018-05-28 11:57:35 +02:00
acfloria
ff4d95168e
IridiumSBD: Fix for multiple MT messages
...
If MT messages are waiting on the server immediately restart a new session.
2018-05-28 09:26:11 +02:00
Beat Küng
4f1c01de7f
fmu params: add MOT_ORDERING to adjust the motor ordering
...
Useful for 4-in-1 ESCs such as the Hobbywing XRotor Micro 40A 4in1
where the FC can be directly plugged on top.
2018-05-28 08:37:08 +02:00
Daniel Agar
e8fa94126e
set MODULE_NAME for parameters library and external ecl libraries ( #9536 )
2018-05-27 14:36:41 -04:00
acfloria
ab279d5fe9
IridiumSBD: Fixes for receiving data
...
- Catch the case where the case where the driver gets stuck because nothing is received by +SBDRB
- Add a mutex for the rx buffer
- Stop the standby loop if a mode change is already scheduled
2018-05-27 12:11:35 -04:00
acfloria
57162ff08d
Improve high latency switching and acknowledge
...
- Move publishing the telemetry status from the IridiumSBD driver to the mavlink instance
- In the commander use the iridiumsbd_status message for heartbeat in case of a high latency link
- Move positive acknowledge to the mavlink instance
- Add a failed acknowledge in the commander if no high latency link exists
2018-05-27 12:11:35 -04:00
acfloria
30fc8cd608
Add iridiumsbd_status to logger
2018-05-27 12:11:35 -04:00
acfloria
12f6affdfa
Commander: Avoid sending ack for VEHICLE_CMD_CONTROL_HIGH_LATENCY if from_external is false
2018-05-27 12:11:35 -04:00
acfloria
d8cf012641
IridiumSBD: Add iridiumsbd_status uorb message
2018-05-27 12:11:35 -04:00
Florian Achermann
84578748f4
Navigator Mission RTL ( #8749 )
...
* Add return to land to mission
This method uses the planned mission for rtl. If a landing sequence
is present it will continue the mission and land. If not it will
fly back the mission and loiter/land at the home position.
2018-05-27 12:07:06 -04:00
mcsauder
9122725052
Alphabetize the mavlink stream lists in mavlink_main.cpp.
2018-05-26 14:49:08 -04:00
Beat Küng
c9d179676e
simple mixer: make output scalers O: optional and use default values instead
...
Reduces FLASH usage by about 4KB
Command to replace:
for i in *.mix; do sed -r -i '/O: +10000 +10000 +0 +-10000 +10000/d' $i; done
2018-05-25 07:57:08 +02:00
Sander Smeets
04cc5c5611
Navigator: VTOL only apply acceptance radius calculation for FW part of back transition ( #9519 )
2018-05-23 19:46:36 -04:00