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

Use the create_objective_function in the pendulum swing up example. #120

Merged
merged 1 commit into from
Feb 10, 2024

Conversation

moorepants
Copy link
Member

No description provided.

obj, obj_grad = create_objective_function(obj_func, state_symbols,
specified_symbols, tuple(),
num_nodes,
node_time_interval=interval_value)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like node_time_interval should be an arg not a kwarg. I don't think there is a case when you wouldn't need to set that. Also, should specified symbols and unknown parameters be kwargs since you make not have them.

@moorepants moorepants merged commit 6a23d17 into csu-hmc:master Feb 10, 2024
12 checks passed
@moorepants moorepants deleted the use-obj-func branch May 11, 2024 07:17
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.

1 participant