Commit Graph

17027 Commits

Author SHA1 Message Date
Philipp Oettershagen a807d34a7a Remove distance sensor checks again. These checks should be handled by EKF2 and should thus be added there later 2018-06-06 18:54: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 075009be2f Subsystem_info status flags & checks: 1) Set health flags in commander directly instead of publishing via uORB 2) move publish_subsystem_info into lib/ folder" 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
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