RomanBapst
0e90448e52
navigator: add position setpoint reset helper with safe defaults
...
- use in reset_triplets()
2020-01-22 18:03:25 -05:00
Daniel Agar
98042bf58f
uORB: introduce SubscriptionBlocking
...
- uORB::SubscriptionBlocking is a specialized uORB::Subscription that allows you to do a blocking read
- this is intended to be an easy to use, hard to misuse replacement for the typical orb fd + poll pattern we've relied on historically
2020-01-22 17:56:28 -05:00
Daniel Agar
036a45377d
boards rename auav_x21 -> mro_x21
2020-01-22 15:33:02 -05:00
SalimTerryLi
3ed8e876b7
New pca9685 pwm output driver
2020-01-22 15:19:47 -05:00
Daniel Agar
693d532bba
mRo x2.1 777 board support
2020-01-22 15:02:55 -05:00
Claudio Micheli
421a06685c
BMM150: Fix priority assignment
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2020-01-22 12:26:49 -05:00
Beat Küng
db36edffe8
commander: fix mission topic publication
...
The local scope caused the topic to be unadvertised, which in turn caused
a copy() failure in navigator and 'mission update failed' printf error.
2020-01-22 12:08:32 -05:00
Beat Küng
c61e44f55b
commander: fix variable naming
2020-01-22 12:07:51 -05:00
Beat Küng
8bfbfa033c
fix commander: avoid LED printf errors on every SITL startup
2020-01-22 12:07:51 -05:00
Beat Küng
67f3234b5b
posix cdev_platform: set errno on px4_open failure
2020-01-22 12:07:51 -05:00
Daniel Agar
21a8d7db7f
WorkItem modules: Run() shouldn't be public
2020-01-22 12:03:03 -05:00
Martina Rivizzigno
8162b1095b
send obstacle distance data in onboard mode such that they are
...
received by the gcs when using mavlink router
2020-01-22 16:22:32 +01:00
Beat Küng
d865d9e64e
safety_button: fix missing return when module exits
2020-01-22 09:49:20 -05:00
Beat Küng
35fc51de92
safety_button: add support for pairing command (3x pressing the button)
2020-01-22 09:49:20 -05:00
Tal Zaitsev
65aaf5170c
microRTPS: Fix C++11 remnant
2020-01-22 00:30:47 -05:00
Daniel Agar
b47eaa6061
update C++ standard (c++11 -> c++14)
...
- temporarily disable snapdragon builds until toolchain is updated
2020-01-21 21:49:10 -05:00
Daniel Agar
cf195b0755
commander: safety button disarm require land detector
...
- landed, maybe_landed, or ground_contact required before the safety
button is able to disarm
- this reduces the risk of a faulty safety button triggering in regular
flight
2020-01-21 23:35:25 +01:00
Daniel Agar
4f868fc565
commander: use arm_disarm() helper for safety button disarm
2020-01-21 23:35:25 +01:00
Claudio Micheli
624fcc3adb
v5x target: Fix wrong FD for TELEM3
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2020-01-21 23:27:59 +01:00
Daniel Agar
350268ee68
navigator: mission WORK_ITEM_TYPE_MOVE_TO_LAND altitude isn't relative
2020-01-21 23:27:22 +01:00
Daniel Agar
fcbf8b6bcd
platforms/nuttx: fix fmu-v4pro jlink debug device helper
2020-01-21 22:24:58 +01:00
Daniel Agar
b2f4dae2c4
boards: fmu-v2/v3 limit rate loop by default
2020-01-21 19:16:27 +01:00
Roman Bapst
fa83f3799a
navigator: set acceptance radius even for IDLE position setpoint
2020-01-21 11:14:43 -05:00
kamilritz
04e09d772e
Add missing mag calibration biases
2020-01-21 13:36:08 +03:00
kamilritz
a3d2254e44
Move mag downsampling to ECL lib
2020-01-21 13:36:08 +03:00
kamilritz
4e8665082e
Move baro downsampling and dynamic pressure comp to ECL lib
2020-01-21 13:36:08 +03:00
Daniel Agar
6704c90354
px4/fmu-v4: restore SPIDEV integers from stable v1.10 (and earlier)
2020-01-20 22:31:30 -05:00
Daniel Agar
dc05ceaad2
create temperature_compensation module
...
- this is a new module for temperature compensation that consolidates the functionality previously handled in the sensors module (calculating runtime thermal corrections) and the events module (online thermal calibration)
- by collecting this functionality into a single module we can optionally disable it on systems where it's not used and save some flash (if disabled at build time) or memory (disabled at run time)
2020-01-20 21:42:42 -05:00
PX4 BuildBot
dedb4e8267
Update submodule sitl_gazebo to latest Tue Jan 21 00:39:16 UTC 2020
...
- sitl_gazebo in PX4/Firmware (635ceccfdb ): https://github.com/PX4/sitl_gazebo/commit/a5b33417f72be371843e12c5ea77cd32733684f4
- sitl_gazebo current upstream: https://github.com/PX4/sitl_gazebo/commit/2f4b32723c68a3424d24fd99fa4ef305a7c5ad49
- Changes: https://github.com/PX4/sitl_gazebo/compare/a5b33417f72be371843e12c5ea77cd32733684f4...2f4b32723c68a3424d24fd99fa4ef305a7c5ad49
2f4b327 2019-10-21 Martina Rivizzigno - typhoon sonar fix rotation such that the reported orientation metches the gazebo model
7db52d7 2019-10-18 Martina Rivizzigno - typhoon_h480: rotate sonar such that is forward facing
2020-01-20 21:01:45 -05:00
Daniel Agar
e863dd317e
Update submodule ecl to latest Tue Jan 21 00:39:21 UTC 2020
...
- ecl in PX4/Firmware (ac205456f93857f447595eb0005c954a78461778): https://github.com/PX4/ecl/commit/011b4c2e4e9c39723250ed6805daa5b0aac3a1d4
- ecl current upstream: https://github.com/PX4/ecl/commit/950e75e484519a6f719cbfd9d2ca2a29bfd06bfa
- Changes: https://github.com/PX4/ecl/compare/011b4c2e4e9c39723250ed6805daa5b0aac3a1d4...950e75e484519a6f719cbfd9d2ca2a29bfd06bfa
950e75e 2020-01-18 Matthias Grob - EKF_ringbuffer: minor missing space for style
26125c2 2020-01-17 kamilritz - Switch from jenkins to github actions
2020-01-20 21:01:02 -05:00
Daniel Agar
635ceccfdb
land_detector: relax data timeouts uniformly
...
* if we're hitting these timeouts there are much larger problems in the system
2020-01-20 17:14:00 -05:00
Daniel Agar
d1260aa28c
logger: add safety (switch) at minimal rate
2020-01-20 14:30:24 -05:00
stmoon
44cac04abe
fix the bug for none of recv_topics
2020-01-20 12:33:47 +00:00
Daniel Agar
c270e75156
vehicle_local_position: delete unused and redundant dist_bottom_rate
2020-01-18 12:50:57 -05:00
Julian Oes
98f0ba33d2
setup: prevent prompt during install
...
This should prevent debconf from asking questions during install.
Presumably, the exported env variable DEBIAN_FRONTEND is not taken into
account in a sudo command, hence we need to add it every time.
2020-01-18 11:10:55 +01:00
Julian Oes
09c3fc3e71
setup: add pyros-genmsg, sort list
2020-01-18 11:10:55 +01:00
Julian Oes
ca7327056c
setup: prevent debconf asking about tzdata
2020-01-18 11:10:55 +01:00
Julian Oes
83ccc4e61e
setup: fix script fail if check fails
2020-01-18 11:10:55 +01:00
Julian Oes
7a0ba7f0ca
setup: remove duplicate
2020-01-18 11:10:55 +01:00
Julian Oes
26d4169b7c
setup: remove unused dependencies
2020-01-18 11:10:55 +01:00
Julian Oes
8353d609cb
setup: don't forget to install wheel
2020-01-18 11:10:55 +01:00
Julian Oes
d764cfcb6d
setup: remove unusual Python dependencies
...
As far as I know these dependencies are only ever required when doing
analysis in ECL. At that point developers should be confident to add
what is required.
2020-01-18 11:10:55 +01:00
Julian Oes
fcbf2e8f9e
setup: remove Python 2 requirements for Ubuntu
2020-01-18 11:10:55 +01:00
Julian Oes
ac6d7e6730
setup: another try to install pip dependencies
2020-01-18 11:10:55 +01:00
Julian Oes
8112a5c417
setup: fix call to pip/pip3
...
This should prevent the error:
Traceback (most recent call last):
File "/usr/bin/pip3", line 9, in <module>
from pip import main
ImportError: cannot import name 'main'
As described in:
https://github.com/pypa/pip/issues/5447#issuecomment-407693701
2020-01-18 11:10:55 +01:00
Julian Oes
bac4854424
setup: stop on error
2020-01-18 11:10:55 +01:00
Julian Oes
126b7a5642
setup: we need a newer pip
2020-01-18 11:10:55 +01:00
Julian Oes
bf62b0f5e6
setup: use pip as user, don't forget python3-dev
...
In my opinion we should not mess with someones system Python
dependencies.
2020-01-18 11:10:55 +01:00
Matthias Grob
1e06f6bbd2
mc_pos_control: fix derivative spike when regaining velocity estimate
...
When having no velocity estimate the derivative was updated with zero.
When losing the velocity estimate this is fine since the resulting
derivative spike doesn't get used and acceleration is set to NAN.
But when regaining the velocity estimate the spike from zero to
the first estimated velocity gets used as acceleration in the position
controller and results in a twitch.
To solve this I use the derivative reset I introduced in pr #13522
commit b64abf48b2
2020-01-18 10:57:12 +01:00
Matthias Grob
a6cc972b5c
mc_pos_control: do not use invalid vz estimate
2020-01-18 10:57:12 +01:00