Skip to content

Add feature to support dt argument in Pid::next_control_output() #2

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

Closed
wants to merge 6 commits into from

Conversation

mtilda
Copy link
Owner

@mtilda mtilda commented Mar 27, 2025

This PR builds on braincore#30 and adds a dt feature flag to control whether Pid::next_control_output() takes a dt argument.

The new macro pid_next_control_output lets us write tests more easily that work with both patterns.

To compile the code with dt handling, pass --features dt to cargo commands.

@mtilda mtilda force-pushed the add-dt-feature-flag branch from e4dd909 to 16f13cd Compare March 27, 2025 17:07
@mtilda mtilda closed this Apr 17, 2025
@mtilda mtilda deleted the add-dt-feature-flag branch April 17, 2025 14:23
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.

2 participants