Replies: 1 comment
-
|
This question can be disregarded. I have abandoned the SYMPY approach. I am now using the functions from HW-07 as a starting point, and modifying for the difference in constraints & initial conditions for this problem. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am stuck on the final portion of the of problem 2 on HW8. I am running into an issue in python when trying to set up the solve_ivp.
Currently my inputs are:
q, Ct, & Qd=9x1
Cq=9x9
These were created by sympy and lamdify'd into the _link variables.
After defining my ODE function i'm running into an error in the fsolve line:
The returned error is:
TypeError: fsolve: there is a mismatch between the input and output shape of the 'func' argument ''.Shape should be (9,) but it is (10,).
Has anyone run into this? Is there an issue with the sizes of my constraint matrices or is this the issue in this section of code?
Beta Was this translation helpful? Give feedback.
All reactions