Skip to content
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

Wiggle to wake launch idle #8511

Merged
merged 8 commits into from
Apr 1, 2024
Merged

Wiggle to wake launch idle #8511

merged 8 commits into from
Apr 1, 2024

Conversation

MrD-RC
Copy link
Collaborator

@MrD-RC MrD-RC commented Oct 28, 2022

This PR adds an alternate, or additional method to start the autolaunch idle throttle. Using this you can wiggle the yaw of the plane to start the idle throttle. This does not start the launch procedure or launch throttle, only idle.

There is one setting in the CLI: nav_fw_launch_wiggle_to_wake_idle. 0 = disabled. 1 and 2 signify 1 or 2 yaw wiggles to activate. 1 wiggle has a higher detection point, for airplanes without a tail. 2 wiggles has a lower detection point, but requires the repeated action. This is intended for larger models and airplanes with tails.

For this to work, an idle throttle value greater than 1000 must be set, and nav_fw_launch_wiggle_to_wake_idle must not be 0. If there is no idle delay, the wiggle will activate the idle throttle. If an idle delay is also set up, whichever occurs first activates the idle throttle.

I have tested this on a couple of planes, and it works as intended. But it would be nice to get some tests performed on other planes. Particularly larger models.

- Added options for detection for different type/size planes
- Changed trigger to only use the yaw axis gyro data.
- Time limit for individual wiggle to prevent accidental triggers
- Time limit for double wiggle, again to prevent accidental triggers.
@MrD-RC MrD-RC added this to the 6.0 milestone Oct 28, 2022
@DzikuVx DzikuVx modified the milestones: 6.0, 6.1 Jan 27, 2023
@DzikuVx DzikuVx changed the base branch from master to release_6.1.0 March 14, 2023 20:30
@MrD-RC MrD-RC modified the milestones: 6.1, 7.0 Apr 18, 2023
@DzikuVx DzikuVx changed the base branch from release_6.1.0 to master May 24, 2023 11:33
@MrD-RC MrD-RC modified the milestones: Future, 8.0 Jan 24, 2024
@MrD-RC
Copy link
Collaborator Author

MrD-RC commented Feb 11, 2024

@b14ckyy has tested on a larger aircraft, and it is working as expected.

@b14ckyy
Copy link
Collaborator

b14ckyy commented Mar 20, 2024

as this was dev build tested with multiple craft sizes and good defaults found I think its time to get merged when conflicts resolved. @DzikuVx

@MrD-RC MrD-RC merged commit 9e2b100 into master Apr 1, 2024
15 checks passed
@MrD-RC MrD-RC deleted the MrD_Wank-to-Wake-launch-idle branch April 1, 2024 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants