README.md 3.25 KB
Newer Older
1 2
This directory contains the code for the ASN.1 Value editor:
- the code for the automatically-generated Python GUIs
Maxime Perrotin's avatar
Maxime Perrotin committed
3
- the standalone ASN.1 value editor, which can be used from the command line (or from another python module)
4 5
- code for communication using UDP packets instead of the TASTE message queues

Maxime Perrotin's avatar
Maxime Perrotin committed
6 7 8
** WARNING **
This version is different than the one present in the old Subversion repos
It contains a setup.py and is meant to be installed using the Python way:
9

Maxime Perrotin's avatar
Maxime Perrotin committed
10 11
    $ sudo make install 

12
This command will update the Qt resource file and call: python setup.py install --record 
Maxime Perrotin's avatar
Maxime Perrotin committed
13 14


15
The auto-generated GUIs make use of the speedometer and of the MSC Editor/Viewer.
16
* You must install them first *
17 18 19

Usage for the standalone editor:

20
    $ standalone_editor -a <DataModel.asn> -t <Type> [-d <Default Value>]
21 22 23

You can try it with the T-POS type that is in TPos.asn file under the ./test directory:

24
    $ standalone_editor.py -a test/TPos.asn -t T-POS 
25 26 27

Or with a default value (make sure you use quote):

28
    $ standalone_editor.py -a test/TPos.asn -t T-POS -d 'myIntSetOf: { 1, 2, 3, 4, 1 }'
29 30 31 32

(c) European Space Agency
Author: Maxime Perrotin

33
LICENSE: LGPL - see LICENSE file
34

35 36
CHANGELOG:

Maxime Perrotin's avatar
Maxime Perrotin committed
37
1.7.8   - Minor fix in Scenario.py
Maxime Perrotin's avatar
Maxime Perrotin committed
38
1.7.7   - Workaround pyside bug raising Overflow error for 64 bits numbers
39
1.7.5   - Better compatibility with old versions of DMT not supporting Optional fields
40
1.7.4   - Bugfix for opengeode simulator
Maxime Perrotin's avatar
Maxime Perrotin committed
41
1.7.3   - Support optionality in standalone editor too
42
1.7.2   - Enable support for always Present/always Absent fields
43
1.7.1   - Enable support for optional fields
Maxime Perrotin's avatar
Maxime Perrotin committed
44
1.7.0   - Optional fields and fix segfaults when updating CHOICE fields
45
1.6.9   - Add basic support for optional fields
Maxime Perrotin's avatar
Maxime Perrotin committed
46 47
1.6.7   - Fix CPU usage of polling thread
1.6.6   - Fix timestamp of autogenerated MSC files
48
1.6.5   - GUI can display default values if set in ASN.1 models
Maxime Perrotin's avatar
Maxime Perrotin committed
49
1.6.4   - Fix printing help with --help
50
1.6.3   - Fix PI import names in opengeode 2.x.x simulator
51
1.6.2   - Use mono prefix to call msc2py.exe
Maxime Perrotin's avatar
Maxime Perrotin committed
52
1.6.1   - Fix messages that did not appear on the GUI if received too fast
Maxime Perrotin's avatar
Maxime Perrotin committed
53
1.6.0   - Fix autoscrolling in MSC streaming scenes
Maxime Perrotin's avatar
Maxime Perrotin committed
54
1.5.8   - Fix in Scenario.py used in MSCtoPython handlers
Maxime Perrotin's avatar
Maxime Perrotin committed
55
1.5.7   - No change - 1st version in TASTEv4
56
1.5.6   - Add support for taste-msc-editor
57
1.5.5   - Bugfix for random simulation
Maxime Perrotin's avatar
Maxime Perrotin committed
58
1.5.4   - Bugfix - needed for MSC editor
59
1.5.3   - Minor accomodation for the MSC editor
Maxime Perrotin's avatar
Maxime Perrotin committed
60
1.5.2   - Minor bugfix with SDL interface
61
1.5.1   - Simulator supports continuous signals
Maxime Perrotin's avatar
Maxime Perrotin committed
62
1.5.0   - Introduce exhaustive simulator
Maxime Perrotin's avatar
Maxime Perrotin committed
63
1.4.3   - Fix Random simulation (multiple clicks happened)
Maxime Perrotin's avatar
Maxime Perrotin committed
64
1.4.2   - Button to store TC in SQL database when available
65
1.4.1   - Align with DMT 2.1.x (major API update on pyside B mapper)
66
1.4.0   - Keep ASN.1 dash in the GUI (change of API)
Maxime Perrotin's avatar
Maxime Perrotin committed
67
1.3.0   - Fully using ctypes / compatible with latest DMT
68
1.2.3   - Removed SWIG handling of message queues
69
1.2.2   - Fix opengeode simulation mode (startup did not show the right state)
70
1.2.0   - Align with dmt 1.2.0 (use ctypes in place of swig)
71
1.1.4   - Better support empty sequences
Maxime Perrotin's avatar
Maxime Perrotin committed
72
1.1.3   - Use Opengeode logo when simulating SDL systems
73
1.1.2   - Call manually the startup function of the SDL model
74
1.1.0   - Add support for custom user widgets
75
1.0.8   - various updates in SDL handler
76
1.0.7   - fixed bug in value notation parser