Commit Graph

16981 Commits

Author SHA1 Message Date
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
Daniel Agar 222a91c6be mathlib delete Matrix, Quaternion, Vector 2018-05-23 17:27:09 -04:00
Daniel Agar 0d7b5c4a4e commander accel calibration switch to matrix lib 2018-05-23 17:27:09 -04:00
mcsauder 0da01cd6f0 Alphabetize #include list in mavlink_receiver.h 2018-05-23 15:42:23 -04:00
DanielePettenuzzo 094490190f crazyflie: pmw3901 driver publish gyro equal to NAN for optflow estimator interface 2018-05-23 18:32:36 +02:00
Roman 835275f1a4 df_mpu9250_wrapper: publish imu based on integrator dt, not fixed count
Signed-off-by: Roman <bapstroman@gmail.com>
2018-05-23 10:08:28 -04:00
Roman f3c12bc7c7 DfBmp280Wrapper: initialise baro report
Signed-off-by: Roman <bapstroman@gmail.com>
2018-05-23 10:08:28 -04:00
PX4 Jenkins 9cd03817b3 Update submodule ecl to latest Wed May 23 01:26:53 UTC 2018
- ecl in PX4/Firmware (9e6449570a58587b7dd0f4919ea9d6f0a52f5239): https://github.com/PX4/ecl/commit/cb63f16d48d56de7ab407d2f78317ddfabd23747
    - ecl current upstream: https://github.com/PX4/ecl/commit/50631e5d98e61093e85e798570503e4055e887ca
    - Changes: https://github.com/PX4/ecl/compare/cb63f16d48d56de7ab407d2f78317ddfabd23747...50631e5d98e61093e85e798570503e4055e887ca

    50631e5 2018-05-21 Daniel Agar - geo remove use of DBL_EPSILON
2018-05-23 02:32:22 -04:00
PX4 Jenkins ff033f1e65 Update submodule DriverFramework to latest Wed May 23 01:26:47 UTC 2018
- DriverFramework in PX4/Firmware (381d3ccd577484a57e555ec9ad6166249d590140): https://github.com/PX4/DriverFramework/commit/e06222dd151e2f92476762e483915df5bd67929d
    - DriverFramework current upstream: https://github.com/PX4/DriverFramework/commit/410e9fc4e78da91030e9d535a7f8e023a9ddd1f4
    - Changes: https://github.com/PX4/DriverFramework/compare/e06222dd151e2f92476762e483915df5bd67929d...410e9fc4e78da91030e9d535a7f8e023a9ddd1f4

    410e9fc 2018-05-18 Roman - mpu9250: set internal gyro dlpf frequency to 92 Hz
2018-05-23 02:14:54 -04:00
Daniel Agar ac55a0de58 airspeed calibration log critical when ports are swapped 2018-05-22 21:02:33 -04:00
Daniel Agar f208241074 SYS_COMPANION add RTPS client option 2018-05-22 20:37:37 -04:00
Daniel Agar e9e01f7559 RTPS bridge send all EKF sensors 2018-05-22 20:37:37 -04:00
DanielePettenuzzo 9cad11d832 crazyflie: clean up 2018-05-22 12:21:45 +02:00
DanielePettenuzzo 22868dd5a4 crazyflie: add downsampling to pwm3901 optflow driver 2018-05-22 12:21:45 +02:00
DanielePettenuzzo 2770e1d2c7 mpu9250: remove define from integrator interval when using i2c 2018-05-22 12:21:45 +02:00
DanielePettenuzzo 8b54346d52 mpu9250: decrease sampling rate when using i2c 2018-05-22 12:21:45 +02:00
DanielePettenuzzo 9c8e97a1ba crazyflie: optical flow and distace sensor driver fixes 2018-05-22 12:21:45 +02:00
DanielePettenuzzo 533f42adb8 crazyflie: add probe() to vl53lxx driver and set imu sampling rate to 200 Hz for this board 2018-05-22 12:21:45 +02:00
DanielePettenuzzo ffbb53454e crazyflie: removed crazyflie specific #ifdefs from mpu9250 2018-05-22 12:21:45 +02:00
DanielePettenuzzo f49fd2acc7 crazyflie: increase imu reading rate 2018-05-22 12:21:45 +02:00
DanielePettenuzzo 2359b73d1f pmw3901 driver: lock bus during transfers (avoid conflicts with sd card on crazyflie) 2018-05-22 12:21:45 +02:00
DanielePettenuzzo b822966e8e crazyflie: support for sd card board via SPI 2018-05-22 12:21:45 +02:00
DanielePettenuzzo 9c1cbdfa11 vl53lxx driver: change I2C frequency to 400 kHz 2018-05-22 12:21:45 +02:00
DanielePettenuzzo 8a4e144e86 crazyflie: add spi expansion to board configurations (modify spi bus and device in pmw3901 driver) 2018-05-22 12:21:45 +02:00
DanielePettenuzzo 2d20f31a70 vl53lxx and pmw3901 drivers: style fix 2018-05-22 12:21:45 +02:00
DanielePettenuzzo 4098d50ff9 pmw3901 driver: remove integrator and publish data at sampling rate (about 10ms) 2018-05-22 12:21:45 +02:00
DanielePettenuzzo 3377ec181e vl53lxx driver: add saturation when distance goes beyond max_distance 2018-05-22 12:21:45 +02:00
DanielePettenuzzo ad49509b84 vl53lxx driver: added work queue between measure and collect 2018-05-22 12:21:45 +02:00
DanielePettenuzzo 3644dd2d8c pmw3901 driver: multiply output of integrator by a constant to match gyro data during simple rotation 2018-05-22 12:21:45 +02:00
DanielePettenuzzo 6ca341f84e pmw3901 driver: cleanup for pull request 2018-05-22 12:21:45 +02:00
DanielePettenuzzo ddf75db154 vl53lxx driver: cleanup for pull request 2018-05-22 12:21:45 +02:00
DanielePettenuzzo c73ca29f44 pmw3901 driver: added integrator 2018-05-22 12:21:45 +02:00
DanielePettenuzzo 2d3f6737d7 pmw3901 driver: fixed communication with sensor 2018-05-22 12:21:45 +02:00
Daniele Pettenuzzo 10fc3b8763 created driver for pmw3901 optical flow module 2018-05-22 12:21:45 +02:00
DanielePettenuzzo 4348852363 vl53lxx driver: change to I2C4 on fmu-v5 (I2C connector) 2018-05-22 12:21:45 +02:00
Daniele Pettenuzzo 5aa4759e2d created new distance sensor driver for vl53lxx 2018-05-22 12:21:45 +02:00
Daniel Agar 87a0e943d4 commander add geo dependency 2018-05-21 01:32:16 -04:00
Daniel Agar c06e28b379 snapdragon_pwm_out add full mixer dependency 2018-05-21 01:32:16 -04:00
Daniel Agar 0334fadcde spektrum_rc add rc library dependency 2018-05-21 01:32:16 -04:00
Daniel Agar 3e8132935f mc_att_control add conversion library dependency 2018-05-21 01:32:16 -04:00