-
-
Notifications
You must be signed in to change notification settings - Fork 214
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 utilities and tests for disturbance modeling #3314
Conversation
fb63dd0
to
31059f4
Compare
786c9ae
to
1d2c5db
Compare
if disturbance_inputs !== nothing | ||
# Disturbance inputs may or may not be included as inputs, depending on disturbance_argument | ||
ps = setdiff(ps, disturbance_inputs) | ||
end | ||
if disturbance_argument | ||
disturbance_inputs = (disturbance_inputs,) | ||
else | ||
disturbance_inputs = () | ||
end |
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.
If disturbance_inputs !== nothing
and disturbance_argument
is false
, the disturbance inputs won't be anywhere in the arguments to the function. Is this intentional?
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.
Yes, this is intentional, that's why there's a separate argument to control whether or not they are included as function arguments.
The usecase is state estimation where the disturbance input is unknown (like sun shining in through the window) and you'd like to estimate this using a state estimator
the failures all seem unrelated? |
Yeah they're unrelated. I'll PR to fix some |
rebase so we can see the tests? |
Apply suggestions from code review Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> rm plot
1d2c5db
to
ceb9cdc
Compare
add utilities such as
generate_control_function
.build_explicit_observed_function
andgenerate_control_function
also add tests for disturbance-modeling workflows