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

[Feature Request]: Convert RGB LED blink tasks to TimerEvents #20

Open
Legohead259 opened this issue Dec 20, 2023 · 0 comments
Open

[Feature Request]: Convert RGB LED blink tasks to TimerEvents #20

Legohead259 opened this issue Dec 20, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Legohead259
Copy link
Owner

Is your feature request related to a problem? Please describe.
The blink tasks in the RGB LED feedback state machine use a lot of mathematical operations per execution. It would be easier to instead set them to a TimerEvent that should streamline the calls.

Describe the solution you'd like
Use a TimerEvent class (link) to create the asynchronous blink tasks in a more computationally favorable method. The state machine would update the color of the blink and if the asyncBlink or asyncAlternatingBlink tasks are enabled. This would reduce all of the comparison and math calls in the program, increasing performance.

@Legohead259 Legohead259 added the enhancement New feature or request label Dec 20, 2023
@Legohead259 Legohead259 self-assigned this Dec 20, 2023
@Legohead259 Legohead259 moved this to Backlog in Micro-ROS ESC Dec 20, 2023
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
Status: Backlog
Development

No branches or pull requests

1 participant