30858 Commits

Author SHA1 Message Date
Daniel Agar
4e7dedede7 bloaty show full demangle, increase number of lines, and combine segments + sections 2019-11-30 23:24:26 -05:00
Daniel Agar
6d8d9ea513 navio_sysfs_rc_in minor initialization cleanup 2019-11-30 22:55:53 -05:00
Daniel Agar
97c6a28a70 replace unnecessary perf_alloc_once usage 2019-11-30 21:17:15 -05:00
Daniel Agar
cceec434f2 Revert "linux_pwm_out update orb usage"
This reverts commit 25acd40ef00fdb5e615b921596829165b06a6f5d.
2019-11-30 21:16:49 -05:00
PX4 BuildBot
5e95820e14 Update submodule nuttx to latest Sun Dec 1 00:38:57 UTC 2019
- nuttx in PX4/Firmware (22a005c9f422180f0c0c5f96c20b16deb66a674c): 2d7920055f
    - nuttx current upstream: 398a59aaa4
    - Changes: 2d7920055f...398a59aaa4

    398a59aaa4 2019-11-29 David Sidrane - [BACKPORT] stm32f7:ethernet: Add some delays so that ifup() does not hog the CPU.
2019-11-30 21:16:33 -05:00
Daniel Agar
dc06e644d8 simulator: fix distance_sensor ORB_ID() 2019-11-30 20:17:17 -05:00
Daniel Agar
22a005c9f4
delete module's redundant print_status()
- we can already get the running status from ModuleBase and the other misc information is already available through perf or uORB
2019-11-30 18:22:19 -05:00
PX4 BuildBot
db904839c3 Update submodule matrix to latest Sat Nov 30 21:21:29 UTC 2019
- matrix in PX4/Firmware (572fb4751b6e01512ec358b00aa795b234179d85): dba84236cb
    - matrix current upstream: a8009a36a3
    - Changes: dba84236cb...a8009a36a3

    a8009a3 2019-11-26 Daniel Agar - Quaternion multiply inline return
2019-11-30 17:58:08 -05:00
Daniel Agar
903b6881ac
Update submodule mavlink v2.0 to latest Sat Nov 30 21:21:24 UTC 2019
- mavlink v2.0 in PX4/Firmware (faae5feecc80639f9ce2f89d0b7733e9a15bf1d2): 1d680ab4ef
    - mavlink v2.0 current upstream: 75ab59ddc1
    - Changes: 1d680ab4ef...75ab59ddc1
2019-11-30 17:55:44 -05:00
Daniel Agar
faae5feecc vmount update orb usage 2019-11-30 15:52:53 -05:00
Daniel Agar
c04713f4a8 simulator update orb usage 2019-11-30 15:52:53 -05:00
Daniel Agar
b418f937a3 sih update orb usage 2019-11-30 15:52:53 -05:00
Daniel Agar
c1c9895462 rpi_rc_in update orb usage 2019-11-30 15:52:53 -05:00
Daniel Agar
7306767a9d roboclaw update orb_publish usage to uORB::PublicationMulti<> 2019-11-30 15:52:53 -05:00
Daniel Agar
55a3128c7d qshell update orb usage 2019-11-30 15:52:53 -05:00
Daniel Agar
7759a5dc82 voxlpm update orb usage 2019-11-30 15:52:53 -05:00
Daniel Agar
fca029c84a ina226 update orb_publish_auto usage to uORB::PublicationMulti<> 2019-11-30 15:52:53 -05:00
Daniel Agar
92933d988b px4flow update orb_publish usage to uORB::PublicationMulti<> 2019-11-30 15:52:53 -05:00
Daniel Agar
25acd40ef0 linux_pwm_out update orb usage 2019-11-30 15:52:53 -05:00
Daniel Agar
2a6e889b28 irlock update orb_publish usage to uORB::PublicationMulti<> 2019-11-30 15:52:53 -05:00
Daniel Agar
349739b812 gps driver update orb_publish usage to uORB::PublicationMulti<> 2019-11-30 15:52:53 -05:00
Daniel Agar
6f512cc2f1 differential_pressure drivers update orb_publish usage to uORB::PublicationMulti<> 2019-11-30 15:52:53 -05:00
Daniel Agar
ec5730bb89 navio_sysfs_rc_in orb_publish usage to uORB::PublicationMulti<> 2019-11-30 15:52:53 -05:00
Daniel Agar
6a539a3836 crazyflie syslink update orb_publish to uORB::PublicationMulti<> 2019-11-30 15:52:53 -05:00
Daniel Agar
e951531b12 camera_feedback: move to WQ callback and uORB::Subscription 2019-11-30 15:49:55 -05:00
Daniel Agar
0420a4386d deprecate px4 esc-v1 and drivers/uavcanesc 2019-11-30 14:55:01 -05:00
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 (f2d08df7779e378710bca4872684910872e8fcc5): 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 (f8c45c4914a8add3e3f90d0c9c01ad51cda4c3dd): 3ce744ec3e
    - mavlink v2.0 current upstream: 1d680ab4ef
    - Changes: 3ce744ec3e...1d680ab4ef
2019-11-28 00:39:54 -05:00