components files added
resources added
terminals point set
jjazeix | |
scagarwal | |
timotheegiet | |
amankumargupta | |
echarruau |
GCompris: Activities |
components files added
resources added
terminals point set
No Linters Available |
No Unit Test Coverage |
Buildable 10428 | |
Build 10446: arc lint + arc unit |
I have done the following piece of work:
I will work on the next part of this activity now, the work of integrating the external library. The external library code needs to remodeled, mainly the schematic part so I will need some time to complete this one:)
Thanks!
Thank you for the hard work. I'm not sure on how to phrase it because, for sure, you've worked a lot, but what we would like to see is a small example of the integration of the library. For the layout and reusable items for digital activity, we have no doubts on its feasibility.
@jjazeix Thanks for the review :)
Yes, I will try to show a small example of how the external library can be used.
I have added the concept to be used for the integration process in the code at the last of analog.js file which is commented. I have also tested the external library with a small integration to check whether it would work fine or not. There were no issues with the integration of the library as tested with a small example. The sample code and some description for the integration process is added at the beginning in the analog.js files too.
Thanks!
With reference to @echarruau question on irc. This is how the json strucuture will be maintained and loaded to the cktsim() library https://pastebin.com/JkmhVR9x
Here 'g' : ground, 'w': wire, 'r', resistor of the components is also stored in form of json with them. I ran the cktsim library with this json and gives the output "The json strucuture loaded is valid". The result will be computed in the same way, as there is a result dictionary maintain for every node in cktsim() of the library.
Thanks!
Hi,
Thank you. Why is it in a separate file and not having it integrated directly in the activity?
Hi, there is some work around more to be done to capture and maintain the json structure for the canvas board. This was just an example to show the json structure which will be maintained for the canvas board. I have integrated this sample code too in the analog.js file and it works fine with no issues. Just, I haven't updated the diff with this test which I did later.
Thanks!