-
Notifications
You must be signed in to change notification settings - Fork 17.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add: parachute timeout parameter #27500
base: master
Are you sure you want to change the base?
Changes from all commits
6293780
abd43ae
dc2e04d
ab2df43
d8a189f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,6 +83,14 @@ const AP_Param::GroupInfo AP_Parachute::var_info[] = { | |
// @User: Standard | ||
AP_GROUPINFO("OPTIONS", 7, AP_Parachute, _options, AP_PARACHUTE_OPTIONS_DEFAULT), | ||
|
||
// @Param: TIMEOUT | ||
// @DisplayName: Parachute timeout | ||
// @Description: Triggers the parachute if the loss of control lasts for the time specified by this parameter | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Need to mention that it's copter only. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. maybe we should make the parameters only appear for copter..? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @rmackay9 how to achieve it? I've tried with |
||
// @Units: s | ||
// @Range: 0.5 5.0 | ||
// @User: Advanced | ||
AP_GROUPINFO_FRAME("TIMEOUT", 8, AP_Parachute, _timeout, AP_PARACHUTE_TIMEOUT_DEFAULT, AP_PARAM_FRAME_COPTER), | ||
|
||
AP_GROUPEND | ||
}; | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the multiply in this line ends up multiplying by 1.0, not the users value