37624 Commits

Author SHA1 Message Date
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
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 (b5ffdc6d3578a38d528e5e2cf5720bb5b270d0a1): d87878bce4
    - mavlink v2.0 current upstream: f608801c1b
    - Changes: d87878bce4...f608801c1b

    f608801c 2020-07-15 PX4BuildBot - autogenerated headers for rev 4eee4b83c2

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 (d791c8baad459b49964d46456b38b47d28ccd388): 1af7e29dbb
    - sitl_gazebo current upstream: 629e5f5c23
    - Changes: 1af7e29dbb...629e5f5c23

    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): d5538ea0da
    - mavlink v2.0 current upstream: d87878bce4
    - Changes: d5538ea0da...d87878bce4
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): f5925e194e
    - nuttx current upstream: 61742342ec
    - Changes: f5925e194e...61742342ec

    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
Daniel Agar
d791c8baad mavlink: mission manager fix signed sequence debug print type 2020-07-14 12:47:57 -04:00
Matthias Grob
1e56eed2aa Remove FlightTaskManual from the inheritance structure 2020-07-14 18:07:09 +02:00
Matthias Grob
9daff24e79 FlightTasks: move stick handling into library 2020-07-14 18:07:09 +02:00
Pandacoolcool
49a543e1b2
systemcmds/tests: Ignore unused but set parameter warnings 2020-07-14 10:05:55 -04:00
Matthias Grob
ced91f135b posix rcS: remove various SITL custom settings
because we need to have SITL simulation as realistic as possible
compared to a real flight with default settings such that we
either fix the problems or adjust the defaults already in SITL testing.
2020-07-14 09:58:46 -04:00
Daniel Agar
fa44cd5cd5 px4_work_queue: rename navigation_and_controllers -> nav_and_controllers
- keep the thread within the current NuttX max length
2020-07-14 09:48:47 -04:00
Julian Kent
78ff7c608f Expand tracking error for straight line test 2020-07-14 11:34:14 +02:00
Julian Kent
14e2603bc4 Pull out matrix math primitives into anon functions 2020-07-14 11:34:14 +02:00
Julian Kent
6ce2769342 Pull out point-to-line distance calc, getting local mission coords 2020-07-14 11:34:14 +02:00
Julian Kent
ff4be5d815 Set rate when subscribing to velocity, specify units 2020-07-14 11:34:14 +02:00
Julian Kent
e6c5771c59 Add 'corridor check' which makes sure 3D tracking is along mission 2020-07-14 11:34:14 +02:00