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
Claudio Micheli
cd47cefb03
Some more code cleanup.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-12 11:24:33 +01:00
Claudio Micheli
fb990d7de3
Removed subscribtion to multiple _telemetry_status instances.
...
Since commander handles all telemetry_status the same there is no need to subscribe to multiple instances.
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-12 11:24:33 +01:00
Claudio Micheli
a53594135b
Commander: changed "datalink regain" logic.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-12 11:24:33 +01:00
Claudio Micheli
13f3ee4c82
state_machine_helper: (Critical) Prevent datalink failsafe triggering if not enabled.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-12 11:24:33 +01:00
Claudio Micheli
788e28fbb1
Commander: datalink heartbeat variables refactoring.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-12 11:24:33 +01:00
Claudio Micheli
32e4baf6a0
Commander: some more cleanup.
2019-03-12 11:24:33 +01:00
Claudio Micheli
a84a1e1b5a
Commander: mavlink messages cleanup. header variables refactoring.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-12 11:24:33 +01:00
Claudio Micheli
b85cceebe9
mavlink_receiver: Ignore heartbeats coming from other vehicles.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-12 11:24:33 +01:00
Claudio Micheli
14415b29c1
Removed hardcoded onboard controller timeouts thresholds.
...
Added COM_ONB_LOSS_T and COM_ONB_REG_T parameters to specify thresholds that triggers "onboard link lost" and "onboard link regained".
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-12 11:24:33 +01:00
Claudio Micheli
156317e546
Fixes for ONBOARD Controller lost & regain.
2019-03-12 11:24:33 +01:00
Claudio Micheli
f44c690b33
Modified COM_DL_REG_T parameter description.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-12 11:24:33 +01:00
Claudio Micheli
1fc055a51f
Fixed some issues for datalink loss & regain (GCS HEARTBEAT).
...
Major changes:
- Prevent "HIGH LATENCY DATA LINK LOST" message to appear if iridium telemetry is not used.
- Prevent "DATA LINK LOSS" mavlink messages flooding when QGC is open and then closed.
- Changed "DATA LINK REGAINED" condition (use _datalink_last_heartbeat_gcs insthead of _datalink_lost)
Signed-off-by: Claudio Micheli <claudio@auterion.com >
2019-03-12 11:24:33 +01:00
baumanta
d8bdc1b367
output a message if a previously lost connection is regained
2019-03-12 11:24:33 +01:00
baumanta
d42b9205f9
Rename parameter MPC_OBS_AVOID to COM_OBS_AVOID and change the location to commander.
2019-03-12 11:24:33 +01:00
baumanta
a98f5d2ab2
suggestion for treating obstacle avoidance heartbeats
2019-03-12 11:24:33 +01:00
Daniel Agar
6dec451bab
HEARTBEAT and commander failsafe handling cleanup
2019-03-12 11:24:33 +01:00
mcsauder
2773fe6a54
Deprecate _hil_frames and _old_timestamp member vars and dead logic from MavlinkReceiver class.
2019-03-11 08:03:37 +01:00
mcsauder
1f65887982
Migrate a few more var initializations from the Mavlink class constructor list to the respective declarations.
2019-03-09 14:53:24 -05:00
mcsauder
7b3482adf0
Whitespace formatting in mavlink_main.cpp/h and begin work of some variable initialization at declaration in mavlink_main.h.
2019-03-09 13:32:26 -05:00
mcsauder
cb49ed55fe
Delete unnecessary #includes from mavlink_main.cpp and relocate a few #defines to mavlink_main.h for future variable initialization work.
2019-03-08 22:10:11 -05:00
mcsauder
d12cec81ba
Add const specifier to remaining methods utilizing mavlink_message_t and similar message pointer types.
2019-03-07 08:22:44 +01:00
mcsauder
278fddb585
Cut case MAVLINK_MSG_ID_ODOMETRY content and paste into handle_message_odometry() method.
2019-03-07 08:22:44 +01:00
mcsauder
3918d0ce0a
Cut case MAVLINK_MSG_ID_VISION_POSITION_ESTIMATE content and paste into handle_message_vision_position_estimate() method. Add const specifier to publish_odometry_topic() method.
2019-03-07 08:22:44 +01:00
mcsauder
c3acd3bad3
Delete unnecessary curly braces in simulator_mavlink.cpp
2019-03-07 08:22:44 +01:00
mcsauder
e43a0bbf1d
Cut case MAVLINK_MSG_ID_RC_CHANNELS content and paste into handle_message_rc_channels() method.
2019-03-07 08:22:44 +01:00
mcsauder
801cbc856e
Cut case MAVLINK_MSG_ID_HIL_GPS content and paste into handle_message_hil_gps() method.
2019-03-07 08:22:44 +01:00
mcsauder
b705bf6b1c
Cut case MAVLINK_MSG_ID_HIL_SENSOR content and paste into handle_message_hil_sensor() method.
2019-03-07 08:22:44 +01:00
Daniel Agar
beca16fa37
ekf2 update setGpsData usage
2019-03-05 23:28:26 -05:00