Oleg Evseev
8eb46b0eb8
mavlink: check type on instance getting by device or network port
...
otherwise serial mavlink running in first will occupy default net port 14556 and could be wrongly used for stream configuring instead or udp mavlink running in first will occupy default serial "/dev/ttyS1"and could be wrongly used for stream configuring instead
issue #15558
2020-08-27 17:28:12 +02:00
bresch
264c8c4e86
mag_fusion: mag heading and 3d modes are mutually exclusive
...
There is no need to check if 3d fusion is active when in mag heading
fusion mode since this is impossible
2020-08-27 15:48:40 +10:00
Matthias Grob
16776ff6fb
MultirotorMixer: hotfix [-1,1] scaling
...
After it was mistakenly rescaled in
26bac78eaf274cf58aacbc239cc8f2e865ba864c#diff-899d35a48340c6065702d4fa77b70f0d
#15563
2020-08-26 20:52:16 -04:00
Matthias Grob
d4296dbd3f
thoneflow: remove unsupported parameter from getopt optsting
2020-08-26 20:25:31 -04:00
kamilritz
9797e4d28f
updateYawInRotMat with hidden rotation sequence handling
2020-08-27 09:51:56 +10:00
kamilritz
419b70e4b5
Add tests for shouldUse321RotationSequence
2020-08-27 09:51:56 +10:00
kamilritz
4fb4e0ca01
Clean euler321 and euler312 code and comment
2020-08-27 09:51:56 +10:00
Kamil Ritz
2be738e806
Add helper function to alter heading in rotation matrices
2020-08-27 09:51:56 +10:00
Kamil Ritz
fdc86c247a
add functions to compute yaw (321 and 312 sequence)
...
from quaternion and rotation matrix
2020-08-27 09:51:56 +10:00
Kamil Ritz
15afa8ae17
shouldUse321RotationSequence(const Dcmf& R)
2020-08-27 09:51:56 +10:00
Kamil Ritz
13f092a30f
sparse quadratic form
2020-08-26 19:45:05 +02:00
Kabir Mohammed
c319bbd6f7
drivers/optical_flow: Thoneflow 3901U Driver
...
* srcparser.py: Add optical flow subcategory for module docs
* thoneflow : Initial support
2020-08-26 13:10:38 -04:00
David Sidrane
8d2ce355f2
Nuttx Backport add RTR
2020-08-26 13:05:23 +02:00
David Sidrane
622903f7de
Nuttx Backport add extern C under cpp
2020-08-26 13:05:23 +02:00
Beat Küng
4088c2581f
i2c_spi_buses: add '-q' for quiet startup flag ( #14969 )
...
* [WIP] i2c_spi_buses: add '-q' for quiet startup flag
And enable for optional board sensors.
* ROMFS: rc.sensors try starting all optional I2C sensors quietly
Co-authored-by: Daniel Agar <daniel@agar.ca >
2020-08-26 08:46:35 +02:00
SalimTerryLi
407ca0a5d3
mavlink command: new option to completely disable hardware flow control (-Z) ( #15566 )
2020-08-26 08:40:55 +02:00
Daniel Agar
60a7f7f9f2
isentek/ist8308: small style and consistency cleanup
2020-08-25 13:46:04 -04:00
Daniel Agar
fb149045e3
drivers/imu/invensense: new ICM42605 IMU driver
2020-08-25 13:07:59 -04:00
Daniel Agar
0ae6da4bb0
Jenkins: microRTPS agent fetch git tags for versioning
2020-08-25 11:12:38 -04:00
Daniel Agar
0e64baa93b
parameters: delete unused PARAM_TYPE_STRUCT
2020-08-25 09:59:29 -04:00
Julian Oes
3a5bfb2bd1
matrix: inline to prevent multiple definitions ( #147 )
...
Without inline we get multiple definitions during linking.
2020-08-25 12:58:04 +02:00
Beat Küng
b7b23a521a
sdp3x: remove reset during init
...
It is not playing nice with other devices on the same bus.
In particular with the FreeFly RTK GPS: once the reset is sent, the whole
bus is blocked and becomes unusable.
Current understanding is that this device contains another chip on the bus
(apart from the mag+baro+led).
I don't see much use for it either, as we configure everything there is to
configure (just the mode).
2020-08-24 17:55:05 -04:00
Anton Erasmus
1ae579b5d5
Update sitl_run to check for -gen.sdf files ( #15232 )
...
Co-authored-by: Anton Erasmus <antonerasm@gmail.com >
2020-08-24 17:01:11 +02:00
Julian Oes
e101edc0e7
Matrix: fix warning if M == N ( #146 )
...
This fixes the warning appearing with GCC 10.2:
../../src/lib/matrix/matrix/Matrix.hpp:481:34: error: logical ‘and’ of equal expressions [-Werror=logical-op]
481 | for (size_t i = 0; i < M && i < N; i++) {
|
I would prefered something with if constexpr but we don't have that yet
in because we're using C++14.
2020-08-24 14:19:43 +02:00
Hamish Willee
979243f38f
params: make parameter units more consistent ( #15502 )
2020-08-24 11:33:08 +02:00
Kamil Ritz
4872f2a545
Remove not used code
2020-08-24 19:24:27 +10:00
Kamil Ritz
0fafd4d68b
precompute cos and sin of yaw once before mutliple use
2020-08-24 19:24:27 +10:00
Kamil Ritz
114516b784
Use new added matrix functions
2020-08-24 19:24:27 +10:00
Kamil Ritz
1f637af7de
Add const modifier
2020-08-24 19:24:27 +10:00
Morten Fyhn Amundsen
cd8ad1584c
Make wrap() work with integer types ( #145 )
...
* Make wrap() work with integers
2020-08-24 10:49:12 +02:00
kamilritz
aa2c77f92d
Small cleanup in velposfusion
2020-08-24 18:04:57 +10:00
kamilritz
644e903552
Apply measurementUpdate function
2020-08-24 18:04:57 +10:00
kamilritz
404edde7f3
Add measurementUpdate function
2020-08-24 18:04:57 +10:00
kamilritz
f6252ff533
small cleanup in limitDeclination
2020-08-24 18:04:57 +10:00
px4dev
9cebf3b969
Sbus comment fix, found by George-avy in issue 15253
2020-08-24 09:24:53 +02:00
Daniel Agar
1d0188fc07
logger: add vehicle_acceleration to default topics
2020-08-23 17:38:27 -04:00
Daniel Agar
53b3dfa64e
rover_pos_control: remove unused sensor_combined subscription
2020-08-23 17:38:27 -04:00
Daniel Agar
a368c7cded
muorb: delete unused sensor_combined.h include
2020-08-23 17:38:27 -04:00
Daniel Agar
57721cad9b
mavlink: replace sensor_combined with selected vehicle_imu
...
- check all ORB_MULTI_MAX_INSTANCES possible instances for future expansion
2020-08-23 17:38:27 -04:00
Daniel Agar
1d2e424c4c
commander: calibration replace sensor_combined with vehicle_acceleration
2020-08-23 17:38:27 -04:00
Daniel Agar
2c450280d2
examples/uuv_example_app: replace sensor_combined with vehicle_acceleration
2020-08-23 17:38:27 -04:00
Daniel Agar
e8a074dc03
examples/px4_simple_app: replace sensor_combined with vehicle_acceleration
2020-08-23 17:38:27 -04:00
Daniel Agar
1bb4c9d05f
frsky_telemetry: replace sensor_combined with vehicle_acceleration
2020-08-23 17:38:27 -04:00
Daniel Agar
f62662ee46
update change_indication for newer WMM tables
2020-08-21 16:54:45 -04:00
PX4 BuildBot
802a6d99a0
Update geo_lookup WMM to latest Fri Aug 21 11:48:14 UTC 2020
2020-08-21 16:54:45 -04:00
JaeyoungLim
5c040582db
Update sitl_gazebo
2020-08-21 21:49:42 +02:00
Daniel Agar
64f5c64ce9
Update submodule mavlink v2.0 to latest Fri Aug 21 12:39:56 UTC 2020
...
- mavlink v2.0 in PX4/Firmware (b1cdf94b680613a982d2d2450d91e27205872030): https://github.com/mavlink/c_library_v2/commit/cc7ed13f41931335c1902da445bbdf12f4d66e63
- mavlink v2.0 current upstream: https://github.com/mavlink/c_library_v2/commit/171ae1da5e1799235ea7e35f6d34bfe3897d9a9a
- Changes: https://github.com/mavlink/c_library_v2/compare/cc7ed13f41931335c1902da445bbdf12f4d66e63...171ae1da5e1799235ea7e35f6d34bfe3897d9a9a
2020-08-21 14:22:25 -04:00
PX4 BuildBot
0f27395979
Update submodule ecl to latest Fri Aug 21 12:40:08 UTC 2020
...
- ecl in PX4/Firmware (a6682c0ce863694761557482556c67747b5d7eeb): https://github.com/PX4/ecl/commit/3ae934544f8b2de01b868d0defea992b1000acc3
- ecl current upstream: https://github.com/PX4/ecl/commit/bd0c5fbb976b3ae6fb5eff80da5df3d50f18ffbe
- Changes: https://github.com/PX4/ecl/compare/3ae934544f8b2de01b868d0defea992b1000acc3...bd0c5fbb976b3ae6fb5eff80da5df3d50f18ffbe
bd0c5fb 2020-08-20 kamilritz - Update change indication for ekf gsf
2020-08-21 14:04:56 -04:00
Angel
3dd9d2e6db
Add copyright info to ina226.h
2020-08-21 13:11:39 -04:00
Daniel Agar
2c3441aa90
boards: reduce CONFIG_NFILE_DESCRIPTORS 15 -> 12
...
- reduced now that calibration uses uORB::Subscription
- can likely be reduced further (perhaps < 8) with additional testing
2020-08-21 10:12:13 -04:00