Comments (6)
from pysimcoder.
from pysimcoder.
Hi Andreas
I've put "syspath" and "ident" in blocks and subsblock and it seems to work. This is a very good improvement!
Before commit the changes, I'll do some tests to see if nothing else is affected by this modification.
Till now, I let my "old" code in scene.py for code generation and I've not inserted these 3 modified lines in the code:
fn.write('')
fn.write('codedata = genCode(fname, ' + self.Ts + ', blks)\n')
fn.write("genMake(fname, '" + self.template + "', codedata, addObj = '" + self.addO
I've tried your "codedata", but I have some problems with the LTI (G(s) block that gives some errors by the code generation (I'll investigate why).
from pysimcoder.
Hello Roberto,
Sorry for the late response, back to work.
Generally it is possible that the codegenerator needs some more codeentrypoints.
Especially for subsampling and internal state update.
I am also thinking, howto extend the RCPblk class (S-Function like interface):
- Init Parameter function by this class
- Validate function
- Multi dimsional parameter or structs (we are in python). Actually the parameter interface reflects only the C-API, but there is no need to.
- GUI Logic function
- Block GUI file loading
....
In general speaking, only one file per block is responsible for
- GUI behavior
- Parameter handling
- Codegeneration
Best regards
Andreas
from pysimcoder.
I would like to contribute to this issue I have read the Readme.file for so. Can I?
from pysimcoder.
Yes, of course you can!
This will give a great improvement to the tool!
from pysimcoder.
Related Issues (18)
- Raspi ADC/IMU blocks HOT 4
- MZ_APO CTU education kit support
- Suggestion to use single main function for all Linux RT targets and conditionalize /dev/nrt open attempt HOT 1
- pysimCoder on other platforms HOT 1
- Clone block command crashes PysimCoder editor HOT 1
- Anaconda compatibility HOT 1
- Issues using Tests HOT 2
- pysimCoder support for Silicon-Heaven infrastructure
- No module named 'supsisim'
- New branch "subsystems" HOT 2
- New file format in pysimCoder and subsystems HOT 2
- Conflicting and vague installation instructions complicate deployment HOT 3
- How to make the block like ±|u|^v HOT 11
- Moving from PyQt5 to PyQt6
- scopy.py and RTPlot.py HOT 2
- Support for multiple NuttX targets
- Flipping the block in the GUI should not flip the block's picture HOT 7
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 pysimcoder.