Julian Oes
9764c32b55
mavsdk_tests: only apply workaround in GitHub CI
2020-04-08 16:56:52 +02:00
Julian Oes
54fe3c5fd5
mavsdk_tests: remove waitforgz helper, add sleep
...
This is an attempt to workaround the gz spawn timeout in CI.
Let's just hard-code a sleep before spawning the model.
2020-04-08 16:56:52 +02:00
Matthias Grob
0a7cde4819
arch.sh: use binary repository for gazebo
...
This makes installation a lot faster and less error prone.
2020-04-08 16:33:49 +02:00
Beat Küng
6b0a2649c0
commander: set home position on takeoff
...
instead of when arming and on takeoff.
It is set on the first takeoff or if there was a disarm event between the
last and the current takeoff.
2020-04-08 14:59:26 +02:00
Beat Küng
80f0892de5
fix commander: set _was_landed before _land_detector topic update
...
Before _was_landed was set to the same value as the current
_land_detector.landed, thus outside of the update condition,
_was_landed && !_land_detector.landed could never be true.
This affects setting the home position, which is now set upon arming AND
upon takeoff.
2020-04-08 14:59:26 +02:00
Beat Küng
aa6f9280e1
fix commander: set _have_taken_off_since_arming when !landed upon arming
...
If arming and already !landed, _have_taken_off_since_arming will not be set
and thus auto-disarm after 10s will be triggered (with default config).
This can only happen due to quick state changes, as land detector generally
sets landed=true if !armed.
2020-04-08 14:59:26 +02:00
baumanta
8709fc3cf9
fix SITL attctl test for less drag
2020-04-08 10:39:56 +02:00
baumanta
0d8c011d91
update sitl_gazebo to include realistic iris drag coeff
2020-04-08 10:39:56 +02:00
Daniel Agar
cf37be8c44
ekf2 handle accelerometer clipping
...
- track clipping per IMU axis and pass through to ecl/EKF
- update ecl/EKF to include delta velocity clipping changes (PX4/ecl#663 )
2020-04-07 20:11:08 -04:00
JacobCrabill
74aa3201ce
uavcannode: Fix Kelvin/Celcius in RawAirData pub
2020-04-07 18:31:10 +02:00
TSC21
4f718086ea
microRTPS: fix topic name when ROS2 is not being used
2020-04-07 16:34:30 +01:00
Beat Küng
4e0441ab0b
logger: add data format version tag
2020-04-07 09:59:12 -04:00
Daniel Agar
7aa7f0ed95
switch remaining boards to new InvenSense IMU drivers
2020-04-07 09:59:12 -04:00
Julien Lecoeur
7b12a21565
mavlink: Enable offboard attitude for coaxial airframes
2020-04-07 09:23:03 -04:00
PX4 BuildBot
3d27c7313c
Update submodule nuttx to latest Tue Apr 7 03:33:04 UTC 2020
...
- nuttx in PX4/Firmware (3cee71918ad35d155fcdd5f32770dad98619eb84): 09f0aee352
- nuttx current upstream: ec417d7466
- Changes: 09f0aee352...ec417d7466
ec417d7466 2020-04-06 Peter van der Perk - [Backport] FMUK66 SocketCAN driver & Configurable Bitrate support
a3132cf3b7 2020-03-30 Peter van der Perk - [Backport] SocketCAN support
2020-04-07 00:16:52 -04:00
Jacob Dahl
d682ddb510
UAVCAN differential pressure sensor support
...
* added airspeed handling (differential pressure) to uavcan and uavcannode
Co-authored-by: Jacob Crabill <jacob@flyvoly.com >
2020-04-07 00:15:31 -04:00
Daniel Agar
a67847aef1
Update submodule mavlink v2.0 to latest Tue Apr 7 03:32:57 UTC 2020
...
- mavlink v2.0 in PX4/Firmware (8eaf36226f125d8b577a1a9c4d6c6f6985a95210): 11589a51be
- mavlink v2.0 current upstream: 4b493591c4
- Changes: 11589a51be...4b493591c4
2020-04-07 00:12:36 -04:00
Daniel Agar
ff74a2a48b
new mpu6000/mpu6500/mpu9250 always schedule backup cycle if using data ready
2020-04-06 23:32:04 -04:00
Daniel Agar
0860a61fa6
new InvenSense IMU drivers review temperature sensitivities and offsets
2020-04-06 22:53:16 -04:00
Daniel Agar
da383064c6
NuttX update with STM32H7 SPI DMA support
...
- holybro durdandal enable SPI DMA
2020-04-06 22:08:45 -04:00
AlexKlimaj
d8c140be04
UAVCAN Smart Battery Improvements
2020-04-06 21:09:02 -04:00
Beat Küng
08bfeb3dc7
mavlink: fix potential busy loop upon USB disconnect
...
When disconnecting USB poll returns successfully, but the read returns
-1 with ENOTCONN.
In addition this also ensures there's no busy loop when poll returns an
error.
MAVLink continues to work after reconnecting USB.
2020-04-06 12:42:10 -04:00
Claudio Micheli
4cdc58ce8d
EscBattery: only publish data if all the ESCs are online
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2020-04-06 15:56:54 +02:00
Julian Oes
c1884975ed
esc_battery: several review fixes
...
Thanks @bkueng.
2020-04-06 15:56:54 +02:00
Julian Oes
5927bb3635
battery: add requirements to ESCs as battery
2020-04-06 15:56:54 +02:00
Julian Oes
cafd52647c
msg: fix battery source enum
2020-04-06 15:56:54 +02:00
Julian Oes
ae219c3272
esc_battery: fix timeout check
2020-04-06 15:56:54 +02:00
Julian Oes
f650b91718
battery: check source param inside battery lib
...
This moves the handling of the BAT%d_SOURCE param inside of the battery
library. Users of the library now pass the source instead of the flag
whether to publish. The battery library then checks if the source is
selected using the param and publishes accordingly.
Since we removed the strange system_source flag, we now need to look at
all batteries in commander.
For current estimation - I think - it makes sense to sum them up.
2020-04-06 15:56:54 +02:00
Julian Oes
641612468b
ROMFS: start esc_battery if param is set
2020-04-06 15:56:54 +02:00
Julian Oes
b01cdafcf6
boards: add esc_battery to build
2020-04-06 15:56:54 +02:00
Julian Oes
509b8b6b4b
First skeleton for esc_battery module
2020-04-06 15:56:54 +02:00
Julian Oes
dcd34ed08d
battery: add ESCs source, remove wrong unit
2020-04-06 15:56:54 +02:00
Julian Oes
5beb293a6a
msg: fix typo
2020-04-06 15:56:54 +02:00
Daniel Agar
ad559a66a1
examples: add simple work_item example module
2020-04-06 09:43:55 -04:00
Daniel Agar
1d164c0dbd
px4_work_queue: sem_wait add loop as the wait may be interrupted by a signal
2020-04-06 10:30:35 +02:00
Julian Kent
9404b19906
Fix bezier scaling
2020-04-06 09:02:12 +02:00
David Sidrane
025799248c
holybro_durandal-v1:Ensure SDMMC power seqensing is clean
2020-04-04 09:39:53 -04:00
stmoon
9a0c50325b
remove exception in case that ROS is not installed
2020-04-04 08:20:35 +01:00
stmoon
aaa72b2a25
change how to get ros2 version
2020-04-04 08:20:35 +01:00
Hyon Lim
5f86ea71bc
UVify bootloader was not recognized properly because of wildcard string format in upload.sh.
...
It has more generalized to recognize UVify bootloader properly.
2020-04-03 13:18:31 -04:00
TSC21
144c65c92f
microRTPS: only use '-typeros2' FastRTPSGen option for Dashing and later ROS2 distros
2020-04-03 18:03:26 +01:00
Julian Oes
e34b452bab
setup: only run usermod if $USER is available
...
This always triggered an error when using in docker as root.
2020-04-03 10:10:02 -04:00
Julian Oes
be9f125c3d
mavsdk_tests: raise timeout for czspawn
...
And provide better output about what happened.
2020-04-03 11:45:35 +02:00
Julian Oes
9c04f66f06
mavsdk_tests: raise overall timeouts
...
This might prevent some false positives when CI is running slowly or
intermittently.
2020-04-03 11:45:35 +02:00
Julian Oes
28f4dc10ae
mavsdk_tests: make sure all log output is printed
...
This fixes the issue where the last lines of the log output was not
printed in case of error or on the verbose setting. This meant that
essentially the actual test error was not printed.
The fix involves two parts:
1. Firstly collect the output again even if a process has exited.
2. Collect all lines at once and not one line per iteration.
2020-04-03 11:45:35 +02:00
Claudio Micheli
dc29a994b7
msg: extend field definition in msg/esc_report (arming & failure states)
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2020-04-03 09:16:43 +02:00
Julian Oes
4e091a369d
uavcannode: fix format
2020-04-03 09:08:33 +02:00
Jacob Dahl
ff1e5a595d
uavcannode: battery info publishing
2020-04-03 01:30:31 -04:00
RomanBapst
0d8d4cd6e0
SITL configs: improve L1 tracking and increase backtransition duration
...
-decrease L1 period for tighter mission tracking in fw mode
- increase backtransition duration, we can now do this is we have active
deceleration control
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2020-04-02 23:54:48 -04:00
Daniel Agar
40b1043e12
NuttX boards minor lpwork and init stack increases
2020-04-02 23:39:17 -04:00