Daniel Agar
1a395fb6d9
ST ISM330DLC IMU driver
2019-12-03 16:16:49 -05:00
Beat Küng
e2a2654628
level calibration: speedup & check for motion
...
- instead of resetting existing calibration on start and having to wait
until the estimator converges, keep existing calibration applied and
subtract it.
- reduce calibration time from 5s to 500ms, and check for motion during
that time.
- repeat if there was motion
- fix an uorb resource leak
2019-12-03 13:58:38 -05:00
Beat Küng
b4eaa6696e
refactor accelerometer_calibration: using namespace matrix
2019-12-03 13:58:38 -05:00
Daniel Agar
9b66cbd2d9
Infineon DPS310 Barometer
...
- used as the primary barometer on the mRo Control Zero F7
2019-12-02 00:51:01 -05:00
Daniel Agar
fd72e5e795
mRo ctrl zero updates
...
- add ICM20602 and ICM20648 data ready interrupts
- enable Bosch BMI088 IMU
- move HRT_TIMER to TIM3 (same timer as PPM channel)
2019-12-01 17:43:15 -05:00
Daniel Agar
97c6a28a70
replace unnecessary perf_alloc_once usage
2019-11-30 21:17:15 -05:00
Daniel Agar
cceec434f2
Revert "linux_pwm_out update orb usage"
...
This reverts commit 25acd40ef0 .
2019-11-30 21:16:49 -05:00
Daniel Agar
dc06e644d8
simulator: fix distance_sensor ORB_ID()
2019-11-30 20:17:17 -05:00
Daniel Agar
22a005c9f4
delete module's redundant print_status()
...
- we can already get the running status from ModuleBase and the other misc information is already available through perf or uORB
2019-11-30 18:22:19 -05:00
PX4 BuildBot
db904839c3
Update submodule matrix to latest Sat Nov 30 21:21:29 UTC 2019
...
- matrix in PX4/Firmware (572fb4751b6e01512ec358b00aa795b234179d85): https://github.com/PX4/Matrix/commit/dba84236cb55cf30a8730f77c71a000babf6d204
- matrix current upstream: https://github.com/PX4/Matrix/commit/a8009a36a3668da0cbab0cb028b6997cd8179dc1
- Changes: https://github.com/PX4/Matrix/compare/dba84236cb55cf30a8730f77c71a000babf6d204...a8009a36a3668da0cbab0cb028b6997cd8179dc1
a8009a3 2019-11-26 Daniel Agar - Quaternion multiply inline return
2019-11-30 17:58:08 -05:00
Daniel Agar
faae5feecc
vmount update orb usage
2019-11-30 15:52:53 -05:00
Daniel Agar
c04713f4a8
simulator update orb usage
2019-11-30 15:52:53 -05:00
Daniel Agar
b418f937a3
sih update orb usage
2019-11-30 15:52:53 -05:00
Daniel Agar
c1c9895462
rpi_rc_in update orb usage
2019-11-30 15:52:53 -05:00
Daniel Agar
7306767a9d
roboclaw update orb_publish usage to uORB::PublicationMulti<>
2019-11-30 15:52:53 -05:00
Daniel Agar
55a3128c7d
qshell update orb usage
2019-11-30 15:52:53 -05:00
Daniel Agar
7759a5dc82
voxlpm update orb usage
2019-11-30 15:52:53 -05:00
Daniel Agar
fca029c84a
ina226 update orb_publish_auto usage to uORB::PublicationMulti<>
2019-11-30 15:52:53 -05:00
Daniel Agar
92933d988b
px4flow update orb_publish usage to uORB::PublicationMulti<>
2019-11-30 15:52:53 -05:00
Daniel Agar
25acd40ef0
linux_pwm_out update orb usage
2019-11-30 15:52:53 -05:00
Daniel Agar
2a6e889b28
irlock update orb_publish usage to uORB::PublicationMulti<>
2019-11-30 15:52:53 -05:00
Daniel Agar
349739b812
gps driver update orb_publish usage to uORB::PublicationMulti<>
2019-11-30 15:52:53 -05:00
Daniel Agar
6f512cc2f1
differential_pressure drivers update orb_publish usage to uORB::PublicationMulti<>
2019-11-30 15:52:53 -05:00
Daniel Agar
e951531b12
camera_feedback: move to WQ callback and uORB::Subscription
2019-11-30 15:49:55 -05:00
Daniel Agar
0420a4386d
deprecate px4 esc-v1 and drivers/uavcanesc
2019-11-30 14:55:01 -05:00
daniele
ffd010b42d
add yaw_absolute to mount_orientation
2019-11-30 19:06:30 +01:00
Daniel Agar
0cc250194d
VTOL: explicitly start all FW & MC controllers in VTOL mode
2019-11-30 12:58:36 -05:00
Beat Küng
b973b2ca64
mag calibration: improve 4 and 2 side calibration
...
- if less than 6 sides are calibrated, keep the existing calibration and
update the offsets and scales
- if 2 sides are calibrated, estimate the offsets only (as this is enough
if a full calibration was done already, and the problem is not
constrained enough to estimate scales and offsets)
2019-11-29 14:14:00 -05:00
Beat Küng
1d78f02733
mag calibration: keep time and number of points per side constant
...
So it is independent from the number of configured sides.
Previously, each side would take longer if less than 6 sides were
calibrated.
Also fixes a bug: calibration_sides was used before it was updated, leading
to different behavior on consecutive calibrations with <6 sides.
2019-11-29 14:14:00 -05:00
Beat Küng
991a0d3592
fix mag calibration: remove px4_ioctl(fd, MAGIOCCALIBRATE, fd); call
...
Fixes a serious bug in combination with the HMC5883 driver (also used for
HMC5983): this driver estimates a scale in MAGIOCCALIBRATE and applies it.
The calibration routine does the calibration with that scale applied, and
then overwrites it, without considering it in any way.
Most other mag drivers only do some measurements and perform some checks
in MAGIOCCALIBRATE (but the result is just ignored).
2019-11-29 14:14:00 -05:00
Beat Küng
f30e01ec02
calibration: shorten too long messages
2019-11-29 14:14:00 -05:00
Beat Küng
5ff83ef740
gyro calibration: remove unused scale parameters
2019-11-29 11:28:17 -05:00
Beat Küng
4ca5770f36
gyro calibration: slightly stricter motion detection check
...
From 0.573 deg to 0.4.
And some cleanup.
2019-11-29 11:28:17 -05:00
Beat Küng
1cbcb445ab
gyro calibration: speedup from 20s to 1s
...
It's not required to take that many samples, 1 second is enough.
This is confirmed by looking at the standard deviation over 10 calibrations:
it is in the same order as with 20 seconds (the effect of temperature
increase has a bigger effect).
2019-11-29 11:28:17 -05:00
RomanBapst
133a6e38cc
commander: make battery warning state sticky while armed
...
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2019-11-29 10:23:08 +03:00
RomanBapst
e360dd34f9
battery: make battery states not sticky
...
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2019-11-29 10:23:08 +03:00
baumanta
1c30b10585
prevent vmount from publishing mount orientation if smart gimbal is attached
2019-11-29 07:40:16 +01:00
Beat Küng
d5b655bad6
dshot: sync with fmu module
2019-11-29 07:39:08 +01:00
PX4 BuildBot
fda7d71d16
Update submodule matrix to latest Thu Nov 28 12:39:45 UTC 2019
...
- matrix in PX4/Firmware (f2d08df777 ): https://github.com/PX4/Matrix/commit/de85dcff9760b77ad0d2cd06682f44b3f3c9716c
- matrix current upstream: https://github.com/PX4/Matrix/commit/dba84236cb55cf30a8730f77c71a000babf6d204
- Changes: https://github.com/PX4/Matrix/compare/de85dcff9760b77ad0d2cd06682f44b3f3c9716c...dba84236cb55cf30a8730f77c71a000babf6d204
dba8423 2019-11-28 Daniel Agar - Vector3f cross product directly return result (#109 )
2019-11-28 12:45:52 -05:00
Matthias Grob
633469dd8c
FixedWingPositionControl: ommit */ with ///< doxygen comments
2019-11-28 11:21:05 -05:00
Daniel Agar
580308ff07
Update submodule matrix to latest Thu Nov 28 00:39:53 UTC 2019
...
- matrix in PX4/Firmware (1618e9d38fb8f0c76e6b5b7dfc25da565c22bbee): https://github.com/PX4/Matrix/commit/a172c3cdac9260369fb5805fcce19067121566e5
- matrix current upstream: https://github.com/PX4/Matrix/commit/de85dcff9760b77ad0d2cd06682f44b3f3c9716c
- Changes: https://github.com/PX4/Matrix/compare/a172c3cdac9260369fb5805fcce19067121566e5...de85dcff9760b77ad0d2cd06682f44b3f3c9716c
de85dcf 2019-11-26 Matthias Grob - Vector: switch read only functions to const (#108 )
2019-11-28 00:37:17 -05:00
mcsauder
0f2ba84f0a
Add rangefinder module dependency to tfmini CMakeLists.txt.
2019-11-27 20:52:04 -05:00
Daniel Agar
419787cb93
ulanding: move to UART WQ
2019-11-27 20:44:32 -05:00
Daniel Agar
5c9732f08c
tfmini: move to UART WQ
2019-11-27 20:44:32 -05:00
Daniel Agar
d22f2fafd9
sf0x: move to UART WQ
2019-11-27 20:44:32 -05:00
Daniel Agar
f7ea3fac90
leddar_one: move to UART WQ
2019-11-27 20:44:32 -05:00
Daniel Agar
223bc2df0b
cm8jl65: move to UART WQ
2019-11-27 20:44:32 -05:00
Morten Fyhn Amundsen
214e9c8244
ll40ls: Fix rotation argument parse bug
...
Before (introduced in 7b16c3482d ), there was no colon after
the `R` argument in the options specification string (ab:R).
The R should be followed by a colon, because in indicates that
the R option requires an argument, which it does.
So I added a colon.
2019-11-27 11:21:39 -05:00
Julian Oes
d27694728b
mavlink: remove implicit cast from int to bool
...
It confused me that we used an int result and casted it into a boolean.
This doesn't change the logic but makes handling the return value explicit.
2019-11-27 10:10:07 -05:00
Julian Oes
c5b9ccdc85
mavlink: don't interfere in ongoing transfers
...
As a convenience we send down the amount of do jumps left to do.
However, we should not send the mission item if happen to be in the
middle of another transfer.
2019-11-27 10:10:07 -05:00