Julian Oes
6acf279085
setup: we no longer need Java 8
...
However, Java 11 or 14 depending on the Ubuntu version are just fine.
2020-07-17 14:58:31 -04:00
Julian Oes
000c0c5905
setup: mark Ubuntu 16.04 as unsupported
...
Ubuntu was already unsupported, now that 20.04 is out, however, the
change was not reflected yet in this script.
2020-07-17 14:58:31 -04:00
Julian Oes
cece343cf7
setup: Java 14 is fine now
2020-07-17 14:58:31 -04:00
Julian Oes
aed114465e
setup: clean up macOS setup script
...
- Spaces -> tabs.
- Remove "brew install python" because it's already a dependency of the
px4-dev tap.
- Remove "brew install ccache" as we can also add it to the px4-dev tap.
- Don't try to update pip installation, it works fine as is.
- Install pip dependencies as user, no need for system-wide install.
2020-07-17 14:58:31 -04:00
Daniel Agar
ad14796b5f
mavlink: GLOBAL_POSITION_INT send without lat/lon availability
...
- the altitude and velocity portions of this message are still relevant
without GPS lat/lon
2020-07-17 10:46:06 -04:00
Julian Oes
9d97148ce8
commander: fix takeoff and land CI test
...
This fixes the takeoff and land CI test where we do a takeoff and land
without RC connected.
In my opinion it does not make sense to go into RC lost failsafe if
a datalink is still available.
Of course, this can be dangerous if someone has a companion computer
connected which gets detected as "data link" but actually has no
connection to the ground station.
2020-07-17 10:30:13 -04:00
Daniel Agar
e79ccd1333
Jenkins: hardware print vehicle_air_data
2020-07-17 09:42:19 -04:00
Daniel Agar
9a1ca00285
fw_pos_control_l1: replace sensor_baro with vehicle_air_data
...
- controllers shouldn't be accessing raw sensor data directly
2020-07-17 09:42:19 -04:00
Daniel Agar
1394b5d7bc
sensor_baro add separate timestamp_sample field
...
- the timestamp is uORB message publication metadata
2020-07-17 09:42:19 -04:00
Daniel Agar
19059a80bd
sensors: throttle vehicle_air_data publication (SENS_BARO_RATE)
...
- don't bother running baro aggregator if SYS_HAS_BARO disabled
2020-07-17 09:42:19 -04:00
kamilritz
3651ed37fb
Do not update time_last_imu outside of setGpsData
2020-07-17 11:06:36 +02:00
bresch
67ae40e922
FlightTaskAuto: fix yaw reset issue during takeoff
...
During takeoff, Navigator is sending a constant yaw value.
However, there is always a reset at 1.5m of the yaw estimate in EKF2
that is not handled by Navigator that produces a glitch in the rate
controller. Given that in FlightTask, the yaw
is already computed and properly corrected in case of an estimator reset
event, we just ignore the yaw value sent by navigator during takeoff.
2020-07-17 10:51:01 +02:00
Matthias Grob
0fd99c59f1
Switch operator() to return a const reference
2020-07-17 10:43:34 +02:00
kamilritz
8a59b463f2
Quaternion: Use template type instead of single hardcoded type
2020-07-17 10:37:18 +02:00
Daniel Agar
8020d6407f
load_mon: remove obsolete rate comment in description
2020-07-16 15:11:53 -04:00
Daniel Agar
f0ceb44f6c
Jenkins: hardware print cpuload
2020-07-16 15:11:53 -04:00
Daniel Agar
392eb123fc
load_mon: split out header
2020-07-16 15:11:53 -04:00
Daniel Agar
fd66d42906
load_mon updates
...
- increase rate
- cpu load calculation grab timestamp atomically
- only check one task per cycle (but cycle at a higher rate)
- decrease available FD threshold
- minor cleanup
2020-07-16 15:11:53 -04:00
Matthias Grob
413cf8b7c4
FlightTasks: Sticks methods naming refactor according to comments
2020-07-16 19:01:22 +02:00
Matthias Grob
0d56035a46
FlightTaskAutoMapper: clarify influence of sticks
2020-07-16 19:01:22 +02:00
Matthias Grob
079c5a11c2
FlightTaskAuto: allow rc assist to stop descend
...
Before the autohority was only enough to slow down the descend but not
stop to zero vertical velocity.
2020-07-16 19:01:22 +02:00
Matthias Grob
91c0f19121
FlightTaskAuto: use new Sticks class for assisted land speed
2020-07-16 19:01:22 +02:00
Matthias Grob
4366898f11
FlightTasks: make gear switch independent of sticks
2020-07-16 19:01:22 +02:00
kamilritz
89bfcc2167
Introduce checkAndFixCovarianceUpdate(KHP) function
2020-07-16 18:25:06 +02:00
kamilritz
5c4a3d4576
Make observation jacobian a Vector24f when possible
2020-07-16 18:25:06 +02:00
kamilritz
b5e1397c0f
Add const modifier
...
const modifier
Add missing const modifier
2020-07-16 18:25:06 +02:00
kamilritz
e357376797
Bring declaration and initialization together
2020-07-16 18:25:06 +02:00
kamilritz
796afd5f98
Rename yaw_use_inhibit -> is_yaw_fusion_inhibited
...
Temp
2020-07-16 18:25:06 +02:00
kamilritz
4cb2d1c645
Remove duplicated code snippets
...
by combining x and y ballistic coeff inverse a vector
2020-07-16 18:25:06 +02:00
kamilritz
b0ad9f0226
Replace componentwise with matrix operation
2020-07-16 18:25:06 +02:00
kamilritz
b5765eb3b4
Move variable declaration to better place &
...
remove airspeed_innov_var_temp variable. setting to global variable even when fusion is aborted is okay
2020-07-16 18:25:06 +02:00
kamilritz
05855b7fc1
Update time of last fusion event really only if fused
...
Except for the velpos fusion
2020-07-16 18:25:06 +02:00
kamilritz
efd96db49d
Avoid setting 0 to 0
2020-07-16 18:25:06 +02:00
kamilritz
5ef18f8823
Style improvement
2020-07-16 18:25:06 +02:00
kamilritz
01515b9a9c
Replace min(max()) with constrain
2020-07-16 18:25:06 +02:00
kamilritz
b0458fbded
Refactor output buffer updates into separate functions
2020-07-16 18:25:06 +02:00
kamilritz
3d82d822ae
Add const modifier
2020-07-16 18:25:06 +02:00
kamilritz
93011ed52c
Use ternary operator
2020-07-16 18:25:06 +02:00
Matthias Grob
4667693f37
mixer_module: use math:constrain
2020-07-16 16:55:33 +02:00
Oleg
b2af2f32d4
mavlink_ftp: close session without activity
...
10s inactivity timeout to close session
2020-07-16 14:49:44 +02:00
Daniel Agar
1bf0c58537
Update submodule mavlink v2.0 to latest Thu Jul 16 00:39:38 UTC 2020
...
- mavlink v2.0 in PX4/Firmware (b5ffdc6d35 ): https://github.com/mavlink/c_library_v2/commit/d87878bce48d49fc3ab7305b7ffc907590f3468e
- mavlink v2.0 current upstream: https://github.com/mavlink/c_library_v2/commit/f608801c1bdfbc1ddf71a243444d27dd7b45f8c6
- Changes: https://github.com/mavlink/c_library_v2/compare/d87878bce48d49fc3ab7305b7ffc907590f3468e...f608801c1bdfbc1ddf71a243444d27dd7b45f8c6
f608801c 2020-07-15 PX4BuildBot - autogenerated headers for rev https://github.com/mavlink/mavlink/tree/4eee4b83c2ad711615d43e99d93a55f247ba9aa9
Co-authored-by: PX4 BuildBot <bot@px4.io >
2020-07-16 00:07:17 -04:00
PX4 BuildBot
b5ffdc6d35
Update submodule sitl_gazebo to latest Wed Jul 15 12:39:34 UTC 2020
...
- sitl_gazebo in PX4/Firmware (d791c8baad ): https://github.com/PX4/sitl_gazebo/commit/1af7e29dbb1ecce7b0b191c9deb24ab1f13916ab
- sitl_gazebo current upstream: https://github.com/PX4/sitl_gazebo/commit/629e5f5c239d88421edab12b4a7e2e3c3ea7e8fc
- Changes: https://github.com/PX4/sitl_gazebo/compare/1af7e29dbb1ecce7b0b191c9deb24ab1f13916ab...629e5f5c239d88421edab12b4a7e2e3c3ea7e8fc
629e5f5 2020-07-15 Morten Fyhn Amundsen - Barometer drift (#544 )
4ec5caa 2020-04-26 JaeyoungLim - Make wind plugin a world plugin
2020-07-15 12:42:11 -04:00
Daniel Agar
e74c0b0ef6
Update submodule mavlink v2.0 to latest Wed Jul 15 12:39:39 UTC 2020
...
- mavlink v2.0 in PX4/Firmware (a06326f99a6964295550176855bd7b93b55ebc9e): https://github.com/mavlink/c_library_v2/commit/d5538ea0da8b09da6e9ef1399041c7d67ac31f8f
- mavlink v2.0 current upstream: https://github.com/mavlink/c_library_v2/commit/d87878bce48d49fc3ab7305b7ffc907590f3468e
- Changes: https://github.com/mavlink/c_library_v2/compare/d5538ea0da8b09da6e9ef1399041c7d67ac31f8f...d87878bce48d49fc3ab7305b7ffc907590f3468e
2020-07-15 12:41:13 -04:00
stmoon
4418179a92
fix the fastrtps version problem in case of v1.10.0
2020-07-15 16:30:58 +01:00
Ricardo Marques
d0c74712b5
Fix comment typo in mavlink_receiver.cpp
2020-07-15 10:47:52 -04:00
PX4 BuildBot
cfcdab3992
Update submodule nuttx to latest Wed Jul 15 12:39:46 UTC 2020
...
- nuttx in PX4/Firmware (fbc4fa04c372960894766a69c8ea35dfafcb0c4d): https://github.com/PX4/NuttX/commit/f5925e194e82b0658b0176a9657820a396674642
- nuttx current upstream: https://github.com/PX4/NuttX/commit/61742342ec979867dbe4b85c89a6821656090ee2
- Changes: https://github.com/PX4/NuttX/compare/f5925e194e82b0658b0176a9657820a396674642...61742342ec979867dbe4b85c89a6821656090ee2
61742342ec 2020-07-09 Beat Küng - [BACKPORT] gpio: extend gpio_pintype_e for pulldown/up and opendrain
2020-07-15 09:59:37 -04:00
Daniel Agar
fe84bdac6e
README: remove broken jenkins build status badge
2020-07-15 09:54:30 -04:00
Julian Kent
435c2fe438
Fix rarely flakey test on Github Actions
2020-07-15 09:50:58 -04:00
Julian Oes
5f2abb66a4
mavsdk_tests: add workaround to prevent failsafe
...
This workaround should fix the test failure where we disarm before
taking off because we accidentally switched to failsafe mode right
before taking off because we were still in Manual mode and not Hold yet.
2020-07-15 09:38:06 -04:00
Julian Oes
4ad7ea6c1a
mavsdk_tests: increase the poll time resolution
...
With only 10 steps for e.g. 60 seconds we are likely to miss updates.
2020-07-15 09:38:06 -04:00