Closed tjstienstra closed 1 year ago
What I feared actually happened, namely that the number of operation in the EOMs have increased. This is most probably due to the usage of just the attachment (interframe and point), where the body's center of mass is not computed anymore via the velocity two-point theorem. There are several solutions:
Point.vel
method. While it would be ideal to make this more advanced, it is quite a nasty problem to solve.optimize_velocity_definition
when exporting to a single System
, which can later be moved to System
within sympy. This is also not a simple solution, as one needs to detect when it is advantageous to compute a velocity using a certain theorem.WhippleBicycle
to optimize the velocity definition. This has the disadvantage of a constant labor.For now I am in favor of option 4. Though option 2 and 3 would also be quite great.
I have not been able to figure out how to get the better EOMs in a short amount of time. This will require further research and it is preferable to have this bug fixed. In the end the high performance BRiM actually had on the number of operations after CSE has so far been unexplainable.
This PR tries a conversion to using attachments classes, which is coupled to #100