-
Notifications
You must be signed in to change notification settings - Fork 47
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
[RTM when modify] spring load - explore more objective function - tests will come later #840
Conversation
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.
Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: all files reviewed, 5 unresolved discussions (waiting on @mickaelbegon)
bioptim/examples/getting_started/pendulum.py
line 84 at r1 (raw file):
key="tau", quadratic=False, weight=1)
revert this
bioptim/examples/getting_started/pendulum.py
line 93 at r1 (raw file):
x_bounds["q"] = bio_model.bounds_from_ranges("q") # x_bounds["q"][:, [0, -1]] = 0 # Start and end at 0... x_bounds["q"][:, 0] = 0 # Start and end at 0...
revert this
bioptim/examples/torque_driven_ocp/spring_load.py
line 29 at r1 (raw file):
# TODO: scenario 1 does not work
You can remove this TODO
bioptim/examples/torque_driven_ocp/spring_load.py
line 31 at r1 (raw file):
# TODO: scenario 1 does not work # scenarios are based on a Mayer term (at Tf)
Do not indent
bioptim/examples/torque_driven_ocp/spring_load.py
line 214 at r1 (raw file):
raise ValueError("Tau are not as expected.") if not test_qdot >= 0: raise ValueError("qdot(T) is not as expected")
This is not necessary
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.
Reviewable status: 0 of 3 files reviewed, 5 unresolved discussions (waiting on @pariterre)
bioptim/examples/torque_driven_ocp/spring_load.py
line 29 at r1 (raw file):
Previously, pariterre (Pariterre) wrote…
You can remove this TODO
Done
bioptim/examples/torque_driven_ocp/spring_load.py
line 31 at r1 (raw file):
Previously, pariterre (Pariterre) wrote…
Do not indent
done
bioptim/examples/torque_driven_ocp/spring_load.py
line 214 at r1 (raw file):
Previously, pariterre (Pariterre) wrote…
This is not necessary
Remove - may be used for tests
bioptim/examples/getting_started/pendulum.py
line 84 at r1 (raw file):
Previously, pariterre (Pariterre) wrote…
revert this
Done
bioptim/examples/getting_started/pendulum.py
line 93 at r1 (raw file):
Previously, pariterre (Pariterre) wrote…
revert this
Done
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #840 +/- ##
==========================================
+ Coverage 78.72% 78.90% +0.17%
==========================================
Files 140 139 -1
Lines 15742 15721 -21
==========================================
+ Hits 12393 12404 +11
+ Misses 3349 3317 -32
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Reviewed 2 of 3 files at r2, 1 of 1 files at r3, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @mickaelbegon)
All Submissions:
New Feature Submissions:
black . -l120 --exclude "external/*"
)?Changes to Core Features:
This change is