Aerospace Blockset for xcos (2012-07-23: Coding week 8-9).
Contents
Added DISTANCE CONVERSION block
This block allows to easily convert distance values between meters, kilometers and astronomical units.
Added GROUND_STATION block
This block allows to input data describing a ground station that ca be used by other blocks. It accepts station name longitude (deg), lattitude (deg) altitude (m above sea level), and mask (deg).
Added STATION_VISIBILITY block
This block accept as inputs ground station descriptor and satellite position in terrestial frame. It calculates if the satellte is in light of sight of the ground station. The data output has two modes: event output and regular true/fale data output.
Added PLOT_VISIBILITY block
This block allows to plot access times betwen ground station and satellites in a comprehensive way. It allows to plot data for many stations and satellites at the same time. Block works in real ime (animates).
Added TIMEFRAME_CNVERSION block
This block allows to easily convert between time frames used by CelestLab: cjd, mjd, jd, cal. Timeframes to be converted are configurable by block parameters window.
Updating unit tests
- rework of the test so that the are all compatible with test_run command
- added templates for test_tun command
- added KEP_TO_CAR block test
- added DISTANCE_CONVERSION unit test
Icons
- added icons for GROUND_STATION block
- added icons for STATION_VISIBILITY block
- added icons for TIMEFRAME_CONVERSION block
- added icons for PLOT_VISIBILITY block
Fixes, cleanups, small changes
- lots of minor fixes
- added icons for Ground_station block
- changed KEPLERIAN_INPUT to accept keplerian angles in degres rather then radians
- major cleanup of SECULAR_J2 block code, made some fixes
- modified SECULAR_J2 block to have single input and output.
changed name of MJD_TIME block to CJD_TIME to align with CelestLab terminology.
- fixed documentation of CJD_TIME block..
- modified KEPLERIAN_INPUT block to have single output with all keplerian parameters.
- added common interface for checking number of parameters actually passed to computational functions