Comments (4)
I think that I'm going with the solution of adding a new class Connection(Requirement)
and a non-abstract method define_connections
. Connection
will automatically have an is_submodel = False
.
from brim.
I think that I'm going with the solution of adding a new class
Connection(Requirement)
and a non-abstract methoddefine_connections
.Connection
will automatically have anis_submodel = False
.
There is actually one big problem. Currently the choice is made to always first traverse the submodels as they do not define any connections with others at the same level. Adding connections does add this option making it possible that one tries to define something based on a relation, which does not yet exist. For example the wheel may try to compute its contact point using the ground without any relation on how the wheel is oriented w.r.t. the ground. This is not possible.
from brim.
While this could be fixed by adding an order attribute to the define functions. A problem that remains is that this entire feature is extremely sensitive to circular import errors.
from brim.
While this could be fixed by adding an order attribute to the define functions. A problem that remains is that this entire feature is extremely sensitive to circular import errors.
Option to solve it is to just say that it should be of type ModelBase
in the case of connections.
from brim.
Related Issues (20)
- Change frozenset usage to frozen dictionaries? HOT 2
- BicycleParameters adjusts the rear frame CoM based on the rider
- Simplify contact point computation
- Redesign plotting structure
- Refactor test suite
- Make q, u default Matrix properties
- Improve module names
- RiderLean model
- Change base orientation of frames in the rider HOT 2
- Use benchmark results
- Fix broken links
- Rear and Front frame should not use NewtonianBodyMixin HOT 1
- Regression of the number of operations in the EOMs after CSE HOT 2
- Get all symbols HOT 4
- Add tutorials HOT 1
- Diagrams can't be read in dark mode HOT 1
- Feedback BRiM tutorials session
- Feature request: get unspecified components
- Holonomic constraints in HolonomicHandGrips and HolonomicPedals are incompatible with noncontributing forces
- Change all symbols to include the assumption real=True
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brim.