Aerospace Blockset for xcos (2012-06-11: Coding week 3).
Contents
Created ANGLE_CONVERSION block
This block is my first unit conversion block. While working on this block I've also experimented on:
- LateX block titles
- Repainting block on parameters change
- unit tests
- validating user parameters input
Created unit test for ANGLE_CONVERSION block
This is the first block with unit tests. It took some experiments to learn Assert module. Test contians of *.tst file and a Xcos diagram. Diagram is automatically reconfigured by the script and the whole bock is tested against predefined test set by providing data from workspace and returning and comparing the results.
Cleanup of U76_ATM block code
Removal of some debug messages and other minor fixes.
Review of Equation of motion blocks
This review led me to deciding that next block to be implemented will be an orbit propagation block based on CL_ex_secularJ2() function. Reason supporting this decision is that after additionally implementing coordinate frame conversion block I will:
- finish implementing one block of every kind (static model, unit conversion, data input, data output, dynamic model)
- learn on how to use block's internal state vectors
- be ready to implement first end-to-end demo diagram.