bresch
10ba0801d2
Parameter update - Rename variables in modules/fw_pos_control
...
using parameter_update.py script
2019-04-03 15:38:50 +02:00
bresch
ece49247b6
Parameter update - Rename variables in modules/mc_pos_control
...
using parameter_update.py script
2019-04-03 15:38:50 +02:00
bresch
c6e7c0fa5d
Parameter update - Rename variables in modules/events
...
using parameter_update.py script
2019-04-03 15:38:50 +02:00
bresch
2ca8ddd8af
Parameter update - Rename variables in modules/commander
...
using parameter_update.py script
2019-04-03 15:38:50 +02:00
Nuno Marques
5da5795433
commander: PreflightCheck replace all differential_pressure sensor checks with airspeed checks ( #11722 )
2019-04-03 09:20:27 -04:00
Roman
d36c0e131d
added aux6 RC channel
...
Signed-off-by: Roman <bapstroman@gmail.com >
2019-04-03 08:20:47 -04:00
bresch
99fb88ce83
AltitudeSmoothVel - Create new altitude flight task that uses the
...
velocity smoothing library to create a jerk-limited trajectory along the
Z axis. This FlightTask is used when MPC_POS_MODE = 3.
2019-04-03 10:43:31 +02:00
Roman
6c1399b328
multicopter land detector: make threshold for _has_low_thrust
...
configurable
Signed-off-by: Roman <bapstroman@gmail.com >
2019-04-03 08:49:46 +02:00
Daniel Agar
ec3bc4ee5b
fw_pos_control_l1 reset internal takeoff and landing state when arming
2019-04-03 08:48:30 +02:00
Alessandro Simovic
39d1751bbe
rc loss alarm: stop on RC reconnect
2019-03-29 19:42:02 -07:00
CarlOlsson
9a2617ad33
vtol_att_control: remove unused subscription variable
...
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com >
2019-03-28 09:03:53 +01:00
Beat Küng
fe0c2d1352
mavlink autopilot_version: add vendor version
2019-03-28 08:47:32 +01:00
Matthias Grob
463d5512d9
mc_att_control: only adapt yaw rate limit on control mode change
...
Put adaption into a method because it needs to be called when
the control mode or the parameter changes.
2019-03-27 12:06:39 +01:00
Matthias Grob
3375ae2c11
mc_att_control: parameter processing refactor
...
- Remove unnecessary in between rate limits member vectors.
- Only switch the yaw rate limit in auto modes,
other values stay the same anyways.
- Fill gain vectors with parameters in one line.
2019-03-27 12:06:39 +01:00
Matthias Grob
5ee1fcaebf
AttitudeControl: address @dagar's review comments
2019-03-27 12:06:39 +01:00
Matthias Grob
7e8cf87d0d
mc_att_control: move attitude control calculations into separate class
...
to modularize and simplify unit testing
2019-03-27 12:06:39 +01:00
Claudio Micheli
0eb4942f66
Commander: renamed print_msg_once variable into a more self-explanatory one.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-27 09:56:32 +01:00
Claudio Micheli
be6f753022
Fixed CI errors. changed _print_msg_once into private class member.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-27 09:56:32 +01:00
Claudio Micheli
e14e5b9d73
Commander: Changed COM_ONB_BOOT_T parameter to COM_OA_BOOT_T.
...
Since the time out is only Obstacle-Avoidance related, the new naming is more self explanatory.
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-27 09:56:32 +01:00
Claudio Micheli
d937a5725b
Commander: reset print once variable if OA is lost.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-27 09:56:32 +01:00
Claudio Micheli
9966a3d2f8
Commander: changed logic for checking OA at boot time.
...
With this commit the use cases will be:
Success case:
- booting, no messages about OA, pre-arm check would fail if you try to arm and OA is not yet running
Fail case:
- if OA takes longer than timeout time defined in COM_ONB_BOOT_T, then an error message is triggered.
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-27 09:56:32 +01:00
Claudio Micheli
3b5ef82193
Commander: Added COM_ONB_BOOT_T parameter.
...
Since onboard controllers bootup times are hardware dependent, it makes sense to have the possibility to adapt timeout time according to the specific HW.
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-27 09:56:32 +01:00
Claudio Micheli
7a8002fdab
Commander: increased hardcoded timeout time for avoidance to start.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-27 09:56:32 +01:00
Claudio Micheli
f4a4dab65a
Commander: Improved logic for OA prearm checks.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-27 09:56:32 +01:00
Claudio Micheli
977a4c8e9b
Added status_change to force message updating.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-27 09:56:32 +01:00
Claudio Micheli
107746ded5
Added obstacle avoidance healthiness topic in vehicle status msg.
...
This allows to perform pre-arm checks and prevent arming if obstacle avoidance is enabled but not yet running.
Added a print once flag to prevent excessive message spamming in QGC.
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-27 09:56:32 +01:00
CarlOlsson
ed2d4f6a9c
replay: fix issue when original logfile had topics with zero timstamps
...
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com >
2019-03-25 16:00:39 -04:00
Matthias Grob
295c3fd0c5
mc_pos_control: correct tilt parameter limits
...
- correcting
c9e52d4386
to allow 180° maximum tilt instead of landing tilt.
- Introducing tilt limitation minimums like requested in #11473
2019-03-24 20:52:17 +01:00
Oleg Kalachev
319723a1ec
mavlink_receiver: ignore BATTERY_STATUS of other system
2019-03-23 15:18:46 -04:00
Ilya Petrov
15c2473eda
mavlink_main.cpp - add fix for Cygwin (Windows)
...
fix for issue https://github.com/PX4/Firmware/issues/11030 - "getting required buffer size failed" on jmavsim simulation on Windows 10
2019-03-21 22:48:11 +01:00
Elia Tarasov
b3bb625c71
add parameter to set ground effect distance
2019-03-21 10:07:12 +01:00
Elia Tarasov
04a486f13d
enable ground effect zone when land detector is updated
2019-03-21 10:07:12 +01:00
Elia Tarasov
0c24aa6149
enable ground effect zone when valid terrain estimate is available
2019-03-21 10:07:12 +01:00
Matthias Grob
aa36fa2dfd
replace camel case by snake case.
...
Co-Authored-By: EliaTarasov <elias.tarasov@gmail.com >
2019-03-21 10:07:12 +01:00
Elia Tarasov
84d9820baa
remove EKF2_GND_EFF_EN flag and use condition EKF2_GND_EFF_DZ > 0 instead
2019-03-21 10:07:12 +01:00
Elia Tarasov
5fa0a647e5
add parameter to enable/disable ground effect zone
2019-03-21 10:07:12 +01:00
Roman
ecc8a696d0
added ground effect reporting to land detector
...
Signed-off-by: Roman <bapstroman@gmail.com >
2019-03-21 10:07:12 +01:00
Beat Küng
14ef009aab
logging: add SDLOG_MODE = -1 to disable logging completely
2019-03-21 08:15:48 +01:00
mcsauder
a6315d4e6e
Delete Simulator class subscription vars that are not used and add orb_unsubscribe() calls.
2019-03-18 10:00:39 +01:00
Mark Sauder
164fe00df7
mc_att_control: replace math::min() and additional limit logic with math::constrain() calls ( #11658 )
2019-03-17 10:48:27 -04:00
Daniel Agar
b35d048566
cmake enable -Wcast-align and disable per module
2019-03-16 11:47:15 -04:00
Julien Lecoeur
5f06c6a1aa
VTOL: add parameter to prevent flight if roll direction was not checked
...
Mark V19_VT_ROLLDIR @category system
Throttle down mavlink critical msg
Send 0 actuator_output for safety
VTOL: unset v1.9 roll direction safety check param for builtin airframes
2019-03-15 00:48:23 -04:00
Julien Lecoeur
e1caecc99a
VTOL att control: fix roll sign
2019-03-15 00:48:23 -04:00
Daniel Agar
1083af21e8
mc_pos_control limit to 50 Hz
2019-03-15 00:24:59 -04:00
Daniel Agar
f3533d31f8
mavlink update to latest and enable address-of-packed-member warning
2019-03-14 09:56:09 +01:00
Paul Riseborough
f8ae8ba502
ekf2: Use ecl library with recent bug fixes and enhancements.
...
Bug Fixes:
https://github.com/PX4/ecl/pull/586 - EKF: fix covariance and output filter buffer initialization
https://github.com/PX4/ecl/pull/590 - EKF: Fix innovation in fuseDeclination()
Enhancements:
https://github.com/PX4/ecl/pull/543 - ekf_helper: add more useful methods to interface with the covariances
https://github.com/PX4/ecl/pull/588 - Add unit tests for DataValidator
Note:
https://github.com/PX4/ecl/pull/543 has required a change to how the state variances are accessed .
2019-03-14 19:25:36 +11:00
Beat Küng
509189ea95
uorb top: add 'uorb top -1' to run only once
2019-03-12 12:33:23 -04:00
Beat Küng
6672284871
commander: fix status init & some status update changes
2019-03-12 11:24:33 +01:00
Claudio Micheli
697566177c
Commander: Properly initialized another boolean variable.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-12 11:24:33 +01:00
Claudio Micheli
908cdaa574
Onboard controller loss parameter cleanup.
...
Since Timeout from onboard controller is something that does not require a lot of modifications there is no sense to having it parametrized.
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-12 11:24:33 +01:00