mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-07-27 00:48:23 +08:00
Parachute check: clarify error message and parameter description wording
This commit is contained in:
@@ -49,10 +49,10 @@ void ParachuteChecks::checkAndReport(const Context &context, Report &reporter)
|
|||||||
if (!context.status().parachute_system_present) {
|
if (!context.status().parachute_system_present) {
|
||||||
/* EVENT
|
/* EVENT
|
||||||
* @description
|
* @description
|
||||||
* Parachute system failed to report. Make sure it it setup and installed properly.
|
* No MAVLink parachute heartbeat detected. Check connection, power, configuration.
|
||||||
*
|
*
|
||||||
* <profile name="dev">
|
* <profile name="dev">
|
||||||
* This check can be configured via <param>COM_PARACHUTE</param> parameter.
|
* Enabled by <param>COM_PARACHUTE</param>
|
||||||
* </profile>
|
* </profile>
|
||||||
*/
|
*/
|
||||||
reporter.healthFailure(NavModes::All, health_component_t::parachute, events::ID("check_parachute_missing"),
|
reporter.healthFailure(NavModes::All, health_component_t::parachute, events::ID("check_parachute_missing"),
|
||||||
@@ -66,10 +66,10 @@ void ParachuteChecks::checkAndReport(const Context &context, Report &reporter)
|
|||||||
|
|
||||||
/* EVENT
|
/* EVENT
|
||||||
* @description
|
* @description
|
||||||
* Parachute system reported being unhealth.
|
* MAVLink parachute system reports unhealthy status.
|
||||||
*
|
*
|
||||||
* <profile name="dev">
|
* <profile name="dev">
|
||||||
* This check can be configured via <param>COM_PARACHUTE</param> parameter.
|
* Enabled by <param>COM_PARACHUTE</param>
|
||||||
* </profile>
|
* </profile>
|
||||||
*/
|
*/
|
||||||
reporter.healthFailure(NavModes::All, health_component_t::parachute, events::ID("check_parachute_unhealthy"),
|
reporter.healthFailure(NavModes::All, health_component_t::parachute, events::ID("check_parachute_unhealthy"),
|
||||||
|
|||||||
@@ -657,7 +657,7 @@ PARAM_DEFINE_INT32(COM_DLL_EXCEPT, 0);
|
|||||||
PARAM_DEFINE_INT32(COM_ACT_FAIL_ACT, 0);
|
PARAM_DEFINE_INT32(COM_ACT_FAIL_ACT, 0);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Expect and require a healthy MAVLink parachute system
|
* Require MAVLink parachute system to be present and healthy
|
||||||
*
|
*
|
||||||
* @boolean
|
* @boolean
|
||||||
* @group Commander
|
* @group Commander
|
||||||
|
|||||||
Reference in New Issue
Block a user