bresch
c5706f6283
FlightTaskAuto - Recover position control after local position reset ( #11636 )
...
* FlightTaskAuto - Explicitly check is _triplet_target is finite to decide if the target has to be updated or not. If the _target is NAN, always try to update it to get a valid setpoint.
6 years ago
Daniel Agar
1083af21e8
mc_pos_control limit to 50 Hz
6 years ago
Daniel Agar
f3533d31f8
mavlink update to latest and enable address-of-packed-member warning
6 years ago
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 .
6 years ago
Daniel Agar
edad4c40c3
containers add IntrusiveQueue and testing
6 years ago
mcsauder
2ae2331c15
Delete extra newline character in qmc5883/CMakeLists.txt to quiet git hook.
6 years ago
Beat Küng
509189ea95
uorb top: add 'uorb top -1' to run only once
6 years ago
Beat Küng
6672284871
commander: fix status init & some status update changes
6 years ago
Claudio Micheli
697566177c
Commander: Properly initialized another boolean variable.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com>
6 years ago
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>
6 years ago
Claudio Micheli
cd47cefb03
Some more code cleanup.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com>
6 years ago
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>
6 years ago
Claudio Micheli
a53594135b
Commander: changed "datalink regain" logic.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com>
6 years ago
Claudio Micheli
13f3ee4c82
state_machine_helper: (Critical) Prevent datalink failsafe triggering if not enabled.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com>
6 years ago
Claudio Micheli
788e28fbb1
Commander: datalink heartbeat variables refactoring.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com>
6 years ago
Claudio Micheli
32e4baf6a0
Commander: some more cleanup.
6 years ago
Claudio Micheli
a84a1e1b5a
Commander: mavlink messages cleanup. header variables refactoring.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com>
6 years ago
Claudio Micheli
b85cceebe9
mavlink_receiver: Ignore heartbeats coming from other vehicles.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com>
6 years ago
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>
6 years ago
Claudio Micheli
156317e546
Fixes for ONBOARD Controller lost & regain.
6 years ago
Claudio Micheli
f44c690b33
Modified COM_DL_REG_T parameter description.
...
Signed-off-by: Claudio Micheli <claudio@auterion.com>
6 years ago
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>
6 years ago
baumanta
d8bdc1b367
output a message if a previously lost connection is regained
6 years ago
baumanta
d42b9205f9
Rename parameter MPC_OBS_AVOID to COM_OBS_AVOID and change the location to commander.
6 years ago
baumanta
a98f5d2ab2
suggestion for treating obstacle avoidance heartbeats
6 years ago
Daniel Agar
6dec451bab
HEARTBEAT and commander failsafe handling cleanup
6 years ago
Matthias Grob
f794ee0c8a
FlightTaskManualAltitude: add slow upwards start
...
when still close to ground
6 years ago
Matthias Grob
63a6ab34f7
FlightTaskManualAltitude: slow down when landing manually
6 years ago
Vasily Evseenko
f8c50f442f
Fix RSSI in on FMUv4 (pixracer)
6 years ago
mcsauder
2773fe6a54
Deprecate _hil_frames and _old_timestamp member vars and dead logic from MavlinkReceiver class.
6 years ago
BazookaJoe1900
8947cb5841
FlightTaskAuto: removed non used _getMaxCruiseSpeed
6 years ago
mcsauder
1f65887982
Migrate a few more var initializations from the Mavlink class constructor list to the respective declarations.
6 years ago
mcsauder
7b3482adf0
Whitespace formatting in mavlink_main.cpp/h and begin work of some variable initialization at declaration in mavlink_main.h.
6 years ago
mcsauder
cb49ed55fe
Delete unnecessary #includes from mavlink_main.cpp and relocate a few #defines to mavlink_main.h for future variable initialization work.
6 years ago
dlwalter
77ab9b617e
QMC5883 Magnetometer Driver ( #11140 )
6 years ago
mcsauder
d12cec81ba
Add const specifier to remaining methods utilizing mavlink_message_t and similar message pointer types.
6 years ago
mcsauder
278fddb585
Cut case MAVLINK_MSG_ID_ODOMETRY content and paste into handle_message_odometry() method.
6 years ago
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.
6 years ago
mcsauder
c3acd3bad3
Delete unnecessary curly braces in simulator_mavlink.cpp
6 years ago
mcsauder
e43a0bbf1d
Cut case MAVLINK_MSG_ID_RC_CHANNELS content and paste into handle_message_rc_channels() method.
6 years ago
mcsauder
801cbc856e
Cut case MAVLINK_MSG_ID_HIL_GPS content and paste into handle_message_hil_gps() method.
6 years ago
mcsauder
b705bf6b1c
Cut case MAVLINK_MSG_ID_HIL_SENSOR content and paste into handle_message_hil_sensor() method.
6 years ago
Daniel Agar
beca16fa37
ekf2 update setGpsData usage
6 years ago
mcsauder
a97151feed
Set default set_publlish() argument to true.
6 years ago
mcsauder
0bd5d6caff
Refactor set_publish() logic so that a default false value is not (re)set each loop in simulator_mapvlink.cpp and provide a default argument to set_publish() in simulator.h.
6 years ago
mcsauder
6e0fc150c0
Create Simulator::set_publish() method and Simulator::_publish member variable to allow redefinition of the Simulator::handle_message() prototype to match MavlinkReceiver::handle_message().
6 years ago
Daniel Agar
1221556515
RTL fix RTL_TYPE param metadata group
6 years ago
Paul Riseborough
6e0ca90852
ekf2: Minor parameter description edits
6 years ago
Paul Riseborough
643d8e968b
ekf2: style fixes
6 years ago
Paul Riseborough
09da8e7dfc
ekf2: Split static pressure correction into separate RH ad LH ellipsoids
6 years ago