-
Notifications
You must be signed in to change notification settings - Fork 4
Implementation of 6DOF robot #29
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
Conversation
| import ModelingToolkitStandardLibrary.Blocks | ||
| using ModelingToolkitStandardLibrary.Electrical | ||
| t = Multibody.t | ||
| D = Differential(t) |
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.
Should these be const maybe?
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.
it doesn't matter that much since they are part of a top-level example user script to build an MTK model. The performance sensitive parts are all taking place inside of MTK
|
|
||
| function Base.broadcasted(D::Differential, x::Symbolics.Arr{Num, 1}) | ||
| collect([D(x) for x in x]) | ||
| collect([D(x) for x in collect(x)]) |
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.
| collect([D(x) for x in collect(x)]) | |
| [D(x) for x in collect(x)] |
due to SymbolicIR tracing through the interpolation
only with MTK, SymbolicIR fails
Refs:
Todo
Notes
EMFcomponent does not have an option foruseSupport=falsewhich the modelica robot uses, will this lead to an unbalanced model?TODOandNOTEin the source code