[Contents] [TitleIndex] [WordIndex

Weekly report 04 June 2010

This week I have created main hybrid automaton block (HAS_f) and implemented it's user interface-related functionality. The block allows to set automaton's parameters, edit and save state diagram and view produced block diagram. It's visual appearance:

has.jpg

I sent all code to Gerrit. Also I reported a bug #7224. However there are still several problems:

(1) Xcos does not export (to Scilab) a function, which allows to open a block by ID. It is possible to work with hybrid automata module without such function, but with an inconvenience - instead of clicking 3-rd button of HAS_f GUI, a user has to double click HAS_f icon in diagram.

(2) Xcos does not export a function, which allows to write diagram to .xcos file (though Xcos provides a function - importXcosDiagram - which allows to read .xcos files). Moreover, Xcos itself can save files only in .xcos format. As in (1), it is possible to work with hybrid automata module without such function, but with an inconvenience - after editing state diagram, a user has to save it under prescribed name (in .xcos format)

Therefore in future I plan to implement missing functions (in Java and C++).

Plans for the next week

* Implement automatic transformation of hybrid automaton's state diagram into Xcos block diagram (function template hybm_transf_diagr.sci)


2022-09-08 09:26