Commit Graph

2840 Commits

Author SHA1 Message Date
Mark Whitehorn 08d36fe2af move initial pwm trim update to pwm_ioctl load case 2016-12-15 00:13:59 +01:00
Julian Oes 1c2194c600 gps: fix cli parsing
The gps driver did not give feedback if a non-existing verb was used
such as `gps foo`. Also, the goto out was ugly and the usage always
marked as an error when it's really an info. This cleans it up a bit.
2016-12-15 00:10:27 +01:00
Julian Oes 12c5ed39ae gps: fix faking so that ekf2 initializes
This changes the faked GPS values in order to get ekf2 to initialize.
2016-12-15 00:10:27 +01:00
Daniel Agar bce7ecb0f6 Iridium driver and support
Mavlink module implement HIGH_LATENCY (Iridium)
2016-12-14 08:20:01 +01:00
Lorenz Meier c9b7b6bbb5 TAP ESC: Secure being the first publisher of all outputs / reports 2016-12-13 16:14:15 +01:00
Lorenz Meier ac3aa3e85c FMU driver: Avoid trashing existing publicacations for RC, motor outputs, etc. 2016-12-13 16:14:15 +01:00
Paul Riseborough da6d4398e9 px4fmu: publish mixer saturation data to uORB 2016-12-13 16:14:15 +01:00
Paul Riseborough ca6f67fd3b tap_esc: publish mixer saturation status to uORB 2016-12-13 16:14:15 +01:00
Paul Riseborough efb7131186 px4io: improve multi-rotor motor saturation status reporting 2016-12-13 16:14:15 +01:00
Roman 8e8336a83f gps drivers submodule: updated after removing unnecessary baud rate 2016-12-12 23:48:15 +01:00
Roman 0acdf32ed5 gps driver: removed unnecessary baud rate
Signed-off-by: Roman <bapstroman@gmail.com>
2016-12-12 23:48:15 +01:00
Roman e6cbbac120 gps devices: update submodule 2016-12-12 23:48:15 +01:00
Roman d10c4dd824 gps driver: added more baud rates in order to support bebop2
Signed-off-by: Roman <bapstroman@gmail.com>
2016-12-12 23:48:15 +01:00
Lorenz Meier 0d174be0a0 IO: Remove unnecessary boot output 2016-12-12 16:11:21 +01:00
Lorenz Meier 6820eb7a0c MS5611: Less chatty boot 2016-12-12 16:11:21 +01:00
Lorenz Meier dd6d1136b3 LIS3MLD: Remove unnecessary boot output left over from driver bringup 2016-12-12 16:11:21 +01:00
Lorenz Meier 2b518278df HMC5883: Silence chatty boot 2016-12-12 16:11:21 +01:00
Mark Whitehorn 086043a237 remove unused variable 2016-12-10 12:56:39 +01:00
Mark Whitehorn 86252e19e6 clean up other build targets 2016-12-10 12:56:39 +01:00
Mark Whitehorn f0b41a0e52 change main trims to normalized values 2016-12-10 12:56:39 +01:00
Mark Whitehorn dbc149c224 change trim units from absolute usec to normalized values 2016-12-10 12:56:39 +01:00
Mark Whitehorn d8528f46ce remove DEBUG_BUILD from fmu.cpp compile flags 2016-12-10 12:56:39 +01:00
Mark Whitehorn 876ab45bf3 fix errors in crazyflie and navio builds 2016-12-10 12:56:39 +01:00
Mark Whitehorn e80ef34b0d retest FMU control latency 2016-12-10 12:56:39 +01:00
Mark Whitehorn 009a413438 fix argument order in pwm_limit_calc call, clean up
note that FMU does not update AUX pwm outputs if no RC signal
2016-12-10 12:56:39 +01:00
Mark Whitehorn f3c3d1f7f9 fix rebase merge error 2016-12-10 12:56:39 +01:00
Mark Whitehorn 5601ca19de astyle 2016-12-10 12:56:39 +01:00
Mark Whitehorn 0ccfcab010 fmu trims still not working 2016-12-10 12:56:39 +01:00
Bartosz Wawrzacz bb52a77194 [PX4IO/PWM driver] Fixed a bug in px4io driver 2016-12-10 12:56:39 +01:00
Mark Whitehorn 82bfaf3967 debugging fmu mode_pwm4 not recognized 2016-12-10 12:56:39 +01:00
Mark Whitehorn ea83b67bd8 add trim parameter handling 2016-12-10 12:56:39 +01:00
Mark Whitehorn 9ced4afca3 add AUX trim parameters 2016-12-10 12:56:39 +01:00
Mark Whitehorn a0c8a78a14 use trim values to set mixer:scaler.offset
clamp mixer output offset to [-.2,.2] ([-2000, 2000] in mixer file)

add 8 main PWM trim parameters

add long desc to parameters and bump minor parameter version
2016-12-10 12:56:39 +01:00
Bartosz Wawrzacz 619efa7b45 [PX4IO/PWM driver] Added trim values to the PWM output drivers 2016-12-10 12:56:39 +01:00
Michael Schaeuble bdb76d013e Fix incorrect MPU9250 device ID
We propagate the bus parameters from the bus interface to the sensor
devices. Thus, the device ID of the sensor driver is set to the correct
bus id and address. Otherwise it would be zero, which is an issue if several MPU9250s
are running at the same time.
2016-12-09 18:59:42 +01:00
Beat Küng 78f1d9d017 hmc5883: fix MAGIOCGEXTERNAL ioctl for non fmuv1 boards
This makes the onboard check consistent with hmc5883_bus_option
initialization. If the current bus is the onboard bus, return !external.

It fixes the onboard mag (HMC5883) for AeroFC. Its priority is now 100,
previously it was 255, so that if an external mag is attached, it will be
preferred.
2016-12-07 11:06:28 +01:00
James Goppert fa834497bf Setup sf0x driver to handle all lightware lidars. (#5957) 2016-12-06 12:19:13 -05:00
Daniel Agar 2f962a986b PX4IO add IMU heater to status 2016-12-05 10:23:46 +01:00
Lorenz Meier 3166aeb8a4 PX4IO driver: Enable thermal control 2016-12-05 10:23:46 +01:00
Michael Schaeuble b982dca45a Add comments to clarify the BMI160 related changes 2016-12-02 12:40:12 +01:00
Michael Schaeuble 10867131fa Bring up BMI160 for px4fmu-v4 targets 2016-12-02 12:40:12 +01:00
José Roberto de Souza 9bb77adbec Aerofc: Fix and add more information about flash sectors 2016-12-01 07:52:23 +01:00
David Sidrane abc79faf3b Chip Slect fixes for the ICM_20608_G
The mapping of PX4_SPIDEV_ACCEL_MAG to PX4_SPIDEV_ICM is not
   a clean approach and the PX4_SPIDEV_MPU is already used by the
   mpu9250 leaving the only (and the correct) option to the use
   PX4_SPIDEV_ICM and make it map to the reused ACCEL_MAG_CS PC15
   as 206080D_CS
2016-11-28 21:02:23 +01:00
Julian Oes 0109f6f549 update mavlink to master, rename MOUNT_STATUS
The mavlink message MOUNT_STATUS has been renamed to MOUNT_ORIENTATION.

This changes the Firmware code accordingly.
2016-11-28 21:01:22 +01:00
José Roberto de Souza 9befff1e79 aerofc: Add information about the flash usage 2016-11-28 09:21:12 +01:00
José Roberto de Souza 8fb15f1de8 aerofc: Enable I2C1 for external compass
For now it is only checking if there is a external HMC5883, if
necessary more compass should be added and probe.
2016-11-28 09:21:12 +01:00
Lucas De Marchi 66628a4cf1 aerofc: forbid gpio changes
We export an "empty" table, but there's no protection when doing
ioctl().
2016-11-28 09:21:12 +01:00
Lucas De Marchi 3b3d4f385c aerofc: fix UART port assignments 2016-11-28 09:21:12 +01:00
James Goppert 893714dc6a aerofc: Fixes for init 2016-11-28 09:21:12 +01:00
Lucas De Marchi ce8a7f6bdc aerofc: fix comment regarding hrt 2016-11-28 09:21:12 +01:00