Commit Graph

30832 Commits

Author SHA1 Message Date
Daniel Agar 5200cae3a3 deprecate thiemar s2740vc-v1 board support 2019-11-30 14:55:01 -05:00
daniele ffd010b42d add yaw_absolute to mount_orientation 2019-11-30 19:06:30 +01:00
David Sidrane 44c7b90a7b stm32h7:Bootloader fix assertion caused by USB running
USB was still running in transition to Firmware. This
   resets the USB
2019-11-30 19:05:22 +01:00
Daniel Agar 0cc250194d
VTOL: explicitly start all FW & MC controllers in VTOL mode 2019-11-30 12:58:36 -05:00
Daniel Agar e50a50876f Jenkins add px4_io-v2 bloaty (flash usage) 2019-11-30 12:16:29 -05:00
Daniel Agar 60f9e9410b Jenkins: compile px4_io-v2_default directly and archive 2019-11-29 22:32:43 -05:00
Beat Küng b973b2ca64 mag calibration: improve 4 and 2 side calibration
- if less than 6 sides are calibrated, keep the existing calibration and
  update the offsets and scales
- if 2 sides are calibrated, estimate the offsets only (as this is enough
  if a full calibration was done already, and the problem is not
  constrained enough to estimate scales and offsets)
2019-11-29 14:14:00 -05:00
Beat Küng 1d78f02733 mag calibration: keep time and number of points per side constant
So it is independent from the number of configured sides.
Previously, each side would take longer if less than 6 sides were
calibrated.

Also fixes a bug: calibration_sides was used before it was updated, leading
to different behavior on consecutive calibrations with <6 sides.
2019-11-29 14:14:00 -05:00
Beat Küng 991a0d3592 fix mag calibration: remove px4_ioctl(fd, MAGIOCCALIBRATE, fd); call
Fixes a serious bug in combination with the HMC5883 driver (also used for
HMC5983): this driver estimates a scale in MAGIOCCALIBRATE and applies it.
The calibration routine does the calibration with that scale applied, and
then overwrites it, without considering it in any way.

Most other mag drivers only do some measurements and perform some checks
in MAGIOCCALIBRATE (but the result is just ignored).
2019-11-29 14:14:00 -05:00
Beat Küng f30e01ec02 calibration: shorten too long messages 2019-11-29 14:14:00 -05:00
Beat Küng 5ff83ef740 gyro calibration: remove unused scale parameters 2019-11-29 11:28:17 -05:00
Beat Küng 4ca5770f36 gyro calibration: slightly stricter motion detection check
From 0.573 deg to 0.4.

And some cleanup.
2019-11-29 11:28:17 -05:00
Beat Küng 1cbcb445ab gyro calibration: speedup from 20s to 1s
It's not required to take that many samples, 1 second is enough.
This is confirmed by looking at the standard deviation over 10 calibrations:
it is in the same order as with 20 seconds (the effect of temperature
increase has a bigger effect).
2019-11-29 11:28:17 -05:00
RomanBapst 133a6e38cc commander: make battery warning state sticky while armed
Signed-off-by: RomanBapst <bapstroman@gmail.com>
2019-11-29 10:23:08 +03:00
RomanBapst e360dd34f9 battery: make battery states not sticky
Signed-off-by: RomanBapst <bapstroman@gmail.com>
2019-11-29 10:23:08 +03:00
baumanta 1c30b10585 prevent vmount from publishing mount orientation if smart gimbal is attached 2019-11-29 07:40:16 +01:00
Beat Küng 0f42ecc5c7 durandal-v1: enable dshot 2019-11-29 07:39:08 +01:00
Beat Küng d5b655bad6 dshot: sync with fmu module 2019-11-29 07:39:08 +01:00
Beat Küng cf4e97b71c fmu-v5x: enable DShot
Only the first 6 FMU pins support it.
DMA conflict with UART8, which is the GPS2 port.
2019-11-29 07:39:08 +01:00
Beat Küng 7aa905eb21 fix fmu-v5x: use correct GPS2 serial port 2019-11-29 07:39:08 +01:00
Daniel Agar e1af47f4ca
Jenkins ccache don't reset previous statistics (only print) 2019-11-28 18:37:20 -05:00
PX4 BuildBot fda7d71d16 Update submodule matrix to latest Thu Nov 28 12:39:45 UTC 2019
- matrix in PX4/Firmware (f2d08df777): de85dcff97
    - matrix current upstream: dba84236cb
    - Changes: de85dcff97...dba84236cb

    dba8423 2019-11-28 Daniel Agar - Vector3f cross product directly return result (#109)
2019-11-28 12:45:52 -05:00
Matthias Grob 633469dd8c FixedWingPositionControl: ommit */ with ///< doxygen comments 2019-11-28 11:21:05 -05:00
Daniel Agar f2d08df777
Update submodule mavlink v2.0 to latest Thu Nov 28 00:39:47 UTC 2019
- mavlink v2.0 in PX4/Firmware (f8c45c4914): 3ce744ec3e
    - mavlink v2.0 current upstream: 1d680ab4ef
    - Changes: 3ce744ec3e...1d680ab4ef
2019-11-28 00:39:54 -05:00
Daniel Agar 580308ff07
Update submodule matrix to latest Thu Nov 28 00:39:53 UTC 2019
- matrix in PX4/Firmware (1618e9d38fb8f0c76e6b5b7dfc25da565c22bbee): a172c3cdac
    - matrix current upstream: de85dcff97
    - Changes: a172c3cdac...de85dcff97

    de85dcf 2019-11-26 Matthias Grob - Vector: switch read only functions to const (#108)
2019-11-28 00:37:17 -05:00
mcsauder 0f2ba84f0a Add rangefinder module dependency to tfmini CMakeLists.txt. 2019-11-27 20:52:04 -05:00
Daniel Agar 419787cb93 ulanding: move to UART WQ 2019-11-27 20:44:32 -05:00
Daniel Agar 5c9732f08c tfmini: move to UART WQ 2019-11-27 20:44:32 -05:00
Daniel Agar d22f2fafd9 sf0x: move to UART WQ 2019-11-27 20:44:32 -05:00
Daniel Agar f7ea3fac90 leddar_one: move to UART WQ 2019-11-27 20:44:32 -05:00
Daniel Agar 223bc2df0b cm8jl65: move to UART WQ 2019-11-27 20:44:32 -05:00
Daniel Agar 071f159794 PX4 work queue: extend to UARTs 2019-11-27 20:44:32 -05:00
Daniel Agar f8c45c4914 Jenkins hardware add modalai_fc-v1 and refactor 2019-11-27 16:24:45 -05:00
David Sidrane c93d358145 fmuk66-v3:Add Ethernet Support 2019-11-27 20:29:35 +01:00
Morten Fyhn Amundsen 214e9c8244 ll40ls: Fix rotation argument parse bug
Before (introduced in 7b16c3482d), there was no colon after
the `R` argument in the options specification string (ab:R).

The R should be followed by a colon, because in indicates that
the R option requires an argument, which it does.

So I added a colon.
2019-11-27 11:21:39 -05:00
Julian Oes d27694728b mavlink: remove implicit cast from int to bool
It confused me that we used an int result and casted it into a boolean.

This doesn't change the logic but makes handling the return value explicit.
2019-11-27 10:10:07 -05:00
Julian Oes c5b9ccdc85 mavlink: don't interfere in ongoing transfers
As a convenience we send down the amount of do jumps left to do.
However, we should not send the mission item if happen to be in the
middle of another transfer.
2019-11-27 10:10:07 -05:00
Julian Oes 96fc68ebef mavlink: fix warning on do jump
This fixes the warning:
Mission storage: Unable to read from microSD
which appeared on do jump mission items. The reason was that the
_mission_type can be set to rally or geofence if that was the last
transfer which had happened earlier. Therefore, it would then try to
read a certain rally item from dataman when really a mission item was
supposed to be read.
2019-11-27 10:10:07 -05:00
Daniel Agar b1099379ae mavlink: delete SERVO_OUTPUT_RAW_{2, 3} 2019-11-27 09:30:22 -05:00
Daniel Agar 657138aeb0 mavlink: temporarily disable ACTUATOR_CONTROL_TARGET{1, 2, 3} 2019-11-27 09:30:22 -05:00
bresch 09c8c8f706 ekf: use PDOP instead of GDOP as TDOP (part of GDOP) is not given by the GNSS receiver 2019-11-27 10:33:27 +01:00
bresch 20705e3c53 ekf2_main: simplify "if true else false" with direct boolean assignment 2019-11-27 10:33:27 +01:00
bresch f6a72663fa ekf2_main: extract gps mgs fill 2019-11-27 10:33:27 +01:00
bresch 5d6e0587db ekf_main: fill gps gdop topic with pdop (combination of hdop and vdop) 2019-11-27 10:33:27 +01:00
daniele 07938692d4 fix for issue where flight_uuid in flight_information mavlink message wouldn't update at every disarm because the param update was not notified 2019-11-27 07:48:57 +01:00
Daniel Agar a7fbaefd83 NuttX cmake small debug helper improvements 2019-11-26 15:39:02 -05:00
PX4 BuildBot 30fcb14156 Update submodule gencpp to latest Tue Nov 26 12:38:15 UTC 2019
- gencpp in PX4/Firmware (d5fb89ee02): 7e446a9976
    - gencpp current upstream: ff6c9f3e8e
    - Changes: 7e446a9976...ff6c9f3e8e

    ff6c9f3 2019-11-11 Jochen Sprickerhof - Two patches to make the generated headers reproducible (#42)
e12443e 2019-03-18 Dirk Thomas - 0.6.2
d227d17 2019-03-18 Dirk Thomas - update changelog
e233144 2019-03-15 Martin Pecka - Added plugins the ability to also generate free functions. (#40)
40559af 2019-03-04 Dirk Thomas - 0.6.1
96ec7f1 2019-03-04 Dirk Thomas - update changelog
2019-11-26 09:02:39 -05:00
PX4 BuildBot df0e4bfc62 Update submodule genmsg to latest Tue Nov 26 12:38:20 UTC 2019
- genmsg in PX4/Firmware (4f4e9c36fe3d0ecf547d50de9ca6b274e0f7ab65): 5736b1f7ad
    - genmsg current upstream: 1ad8e136cd
    - Changes: 5736b1f7ad...1ad8e136cd

    1ad8e13 2019-08-13 Dirk Thomas - Python 3 compatibility (#86)
ae81617 2019-08-12 AlexV - Rosimport improvements (#83)
f9dad2f 2019-03-04 Dirk Thomas - 0.5.12
0b2c12a 2019-03-04 Dirk Thomas - update changelog
2019-11-26 08:48:18 -05:00
bys1123 d5fb89ee02 Make all boards url link to user guide master branch 2019-11-26 13:19:00 +01:00
斯东Stone 2b9285787e Update Supported Hardware in README.md
1. Move Pixhawk Mini to FMUv3, due to it's using Rev.3 chip, has 2MB flash, and fmuv3 bootloader.
2. Add CUAV V5+ to FMUv5
3. Add CUAV v5 nano
4. Add CUAV Pixhack v3 to FMUv3

Make sure is the hardware URL only on user guide master branch or not
2019-11-26 13:19:00 +01:00