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

sensor mute #4688

Closed
robthomson opened this issue Nov 2, 2024 · 2 comments
Closed

sensor mute #4688

robthomson opened this issue Nov 2, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@robthomson
Copy link
Collaborator

Can we please get a lua feature to mute a sensor for a certain duration

system.mute(sensorLost)

Specifically we have an issue - when msp data is sent - we often get sensor timeouts due to them being paused on sending during msp transfer.

it would be nice to mute these for a duration

@mawzthefinn
Copy link
Collaborator

mawzthefinn commented Nov 2, 2024

Yes, this should also be used for system->info which causes the same issue

@bsongis-frsky
Copy link
Collaborator

local module = model.getModule(0)
module:muteSensorLost(5.0) -- mute during 5 seconds

@bsongis-frsky bsongis-frsky self-assigned this Nov 5, 2024
@bsongis-frsky bsongis-frsky added this to the 1.6.0 milestone Nov 5, 2024
@bsongis-frsky bsongis-frsky added the enhancement New feature or request label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants