34611 Commits

Author SHA1 Message Date
Lorenz Meier
4984c19700 PX4 IO: Retry upgrades of IO
This adds robustness to system timing and bad link.
2021-02-20 11:07:53 +01:00
alexklimaj
ed20bc92c3 Fix uavcannode build 2021-02-20 10:49:08 +01:00
Beat Küng
9d11d94e7e px4iofirmware: guard against parsing multiple RC protocols
It was for example possible that DSM got parsed, and in the next iteration
SBUS got parsed, leading to multiple PX4IO_P_STATUS_FLAGS_RC_ flags set.
input_rc::input_source was then incorrectly set to DSM.

Partially guarding was already done: if SBUS got parsed, DSM and others
were skipped.

The IO will still clear all PX4IO_P_STATUS_FLAGS_RC_* flags on RC loss.
2021-02-19 09:28:46 -05:00
Daniel Agar
5c27c47746
Jenkins hardware limit px4_fmu-v5 to generic quadcopter at default rates
- the same boards are used for stackcheck and debug builds which are cpu constrained
2021-02-19 09:27:38 -05:00
PX4 BuildBot
c863d6a346 Update submodule ecl to latest Fri Feb 19 12:39:03 UTC 2021
- ecl in PX4/Firmware (5be2f2c8f835fde0ce648561636cf565d95f5741): 310f415175
    - ecl current upstream: 81937370ac
    - Changes: 310f415175...81937370ac

    8193737 2021-02-18 bresch - [AUTO COMMIT] update change indication
04844a0 2021-02-16 bresch - ekf control: move time_last_in_air/on_ground out of GPS control logic
b00d4a9 2021-02-16 bresch - mag fusion: improve on ground forced mag fusion logic
2021-02-19 08:34:17 -05:00
Daniel Agar
5dc5ebc0a1 boards: cleanup uavcan test targets (v1 and v0 embedded peripherals) 2021-02-18 11:54:41 -05:00
Daniel Agar
5e188b3cd7 ekf2: populate local_position dist_bottom_sensor_bitfield 2021-02-18 10:37:02 -05:00
Alex Mikhalev
06e2bca3a6 batt_smbus: Use orb_publish_auto 2021-02-18 07:52:26 -05:00
Alex Mikhalev
6bd4dff51f drivers/smbus: Increase max block size to 34
batt_smbus for BQ40Z80 transfers up to 34 bytes (32 byte block + 2 byte
address), but this was overflowing and failing the PEC check.
So increase the buffer size

Signed-off-by: Alex Mikhalev <alex@corvus-robotics.com>
2021-02-18 07:52:26 -05:00
Alex Mikhalev
93b1a148b7 batt_smbus: Pass device address to base class
Fixes a warning printed at runtime

Signed-off-by: Alex Mikhalev <alex@corvus-robotics.com>
2021-02-18 07:52:26 -05:00
Daniel Agar
4678201da4 update libuavcan to latest 2021-02-17 22:47:35 -05:00
Daniel Agar
46eb790188 boards: new uavcan board variants remove delete mkblctrl driver 2021-02-17 22:47:35 -05:00
David Sidrane
e0e796a2b9 ROMFS:Bake in UAVCAN FW with builds that end in _uavcan
The configuration are mostly for testing now.
2021-02-17 22:47:35 -05:00
David Sidrane
8c2678bca1 uavcan_servers:Reworked file naming and use ROM fs as fall back
Supporting direct down loads from ROMFS with preferece give to the
   files fould on the SD card first. This will allow a user to provide
   an updated uavcan firware on the SD card, and there is no overhead
   of coping files from the ROM FS to the SD card.
2021-02-17 22:47:35 -05:00
David Sidrane
57195843bf cuav_can-gps-v1:Use for ALT Bootloader an Option 2021-02-17 22:47:35 -05:00
David Sidrane
5ea56af5f0 canbootloder:Make support for ALT Bootloader an Option 2021-02-17 22:47:35 -05:00
David Sidrane
174f2624df holybro_can-gps-v1:board_id uses as Uavcan HW version 2021-02-17 22:47:35 -05:00
David Sidrane
d1cadb6441 ark_can-flow:Assign board_id 2021-02-17 22:47:35 -05:00
David Sidrane
070db73e91 holybro_can-gps-v1:Use common uavcan board identity 2021-02-17 22:47:35 -05:00
David Sidrane
51a5c63bac ark_can-flow:Use common uavcan board identity 2021-02-17 22:47:35 -05:00
David Sidrane
3f6388f9a1 uav_can-gps-v1:Use common uavcan board identity 2021-02-17 22:47:35 -05:00
David Sidrane
51b54c025b canbootloader:Send number of KB written while updating FW 2021-02-17 22:47:35 -05:00
David Sidrane
d426dd771f canbootloader:Ensure common crc is set valid after autobaud 2021-02-17 22:47:35 -05:00
David Sidrane
58e5c8fbca canbootloader:Prefer bootloader_app_shared over bootloader_alt_app_shared 2021-02-17 22:47:35 -05:00
David Sidrane
05c0deae14 UavcanNode:Only write alt id not booted by PX4 2021-02-17 22:47:35 -05:00
David Sidrane
71c4f5a05b UavcanNode:Support Dynamic Node ID allocation 2021-02-17 22:47:35 -05:00
David Sidrane
e4b519aca0 UavcanNode:Add support for the Alternate bootloader app shared 2021-02-17 22:47:35 -05:00
David Sidrane
b27beac50c UavcanNode:Add feed back to bootloader that the App ran 30S 2021-02-17 22:47:35 -05:00
David Sidrane
8943644566 board_common:Add board_configure_reset and board_booted_by_px4 API 2021-02-17 22:47:35 -05:00
David Sidrane
7a6ed0281b uavcan bootloader:Add support alt boot_alt_app_shared 2021-02-17 22:47:35 -05:00
David Sidrane
28030e96e2 cuav_can-gps-v1:UavcanNode app ensure IWDG off in debuger 2021-02-17 22:47:35 -05:00
David Sidrane
6ea06892ac Fix case were descriptor has no or bad length 2021-02-17 22:47:35 -05:00
David Sidrane
5c80b2d3dd cuav_can-gps-v1:canbootloader - enable SWD and Pause IWDT whils stepping 2021-02-17 22:47:35 -05:00
David Sidrane
da67537291 Uavcan Node Pets the watchdog 2021-02-17 22:47:35 -05:00
David Sidrane
ef29ed7db3 Uavcan bootloader Starts Watchdog for Application 2021-02-17 22:47:35 -05:00
David Sidrane
77d0eae40b Add SMT32F4xxx Watchdog driver 2021-02-17 22:47:35 -05:00
David Sidrane
8747b343d9 Non-compliant nodes support
WorkQueueManager:Increase UAVCAN stack size
2021-02-17 22:47:35 -05:00
David Sidrane
c7182d5453 cuav_can-gps-v1:CMakeList remove .h files 2021-02-17 22:47:35 -05:00
David Sidrane
878baabce8 cuav GPS use appdes 2021-02-17 22:47:35 -05:00
David Sidrane
760e47bbf9 uavcan bootloader use new AppDes 2021-02-17 22:47:35 -05:00
Daniel Agar
bfdc6cd675
Update submodule sitl_gazebo to latest Wed Feb 17 12:42:47 UTC 2021 (#16862)
- sitl_gazebo in PX4/Firmware (51dd141c869d0e9ebde24db9ed6de83a85e822ac): 4f26815d41
    - sitl_gazebo current upstream: bebb9a95f0
    - Changes: 4f26815d41...bebb9a95f0

bebb9a9 2021-02-11 Dongoo Lee - Add depth camera model for ROS2 environment (#707)
54e1a19 2021-02-10 TSC21 - gazebo_mavlink_interface: generate subscribers for nested models with sensors
97c167d 2021-02-10 Julian Oes - Implement gimbal controller as MAVLink gimbal v2 device (#703)

Co-authored-by: PX4 BuildBot <bot@px4.io>
2021-02-17 21:17:13 -05:00
Daniel Agar
cff7a01d5e
ekf2: estimator_status log reset counts 2021-02-17 21:16:34 -05:00
Daniel Agar
6d42fe28bf
Update submodule GPS drivers to latest Wed Feb 17 12:42:56 UTC 2021 2021-02-17 21:14:56 -05:00
Daniel Agar
2a47583be5 boards: nxp/fmurt1062-v1 disable vmount 2021-02-17 13:54:34 -05:00
Julian Oes
1493ebf350 mavlink: reset MAVLink version to auto-detect 2021-02-17 13:54:34 -05:00
Julian Oes
b812763a5a mavlink: no gimbal messages on constrained flash 2021-02-17 13:54:34 -05:00
Julian Oes
20bc924668 boards: disable vmount for fmu-v2 2021-02-17 13:54:34 -05:00
Julian Oes
a2d419c91a vmount: use copyTo to copy quaternions 2021-02-17 13:54:34 -05:00
Julian Oes
f39216b9c3 vmount: use math functions instead of macros 2021-02-17 13:54:34 -05:00
Julian Oes
6672be040a mavlink: limit mavlink channels based on memory 2021-02-17 13:54:34 -05:00