README.md 2.37 KB
Newer Older
Maxime Perrotin's avatar
Maxime Perrotin committed
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)
Maxime Perrotin's avatar
Maxime Perrotin committed
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 

Maxime Perrotin's avatar
Maxime Perrotin committed
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


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

Usage for the standalone editor:

Maxime Perrotin's avatar
Maxime Perrotin committed
20
    $ standalone_editor -a <DataModel.asn> -t <Type> [-d <Default Value>]
Maxime Perrotin's avatar
Maxime Perrotin committed
21
22
23

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

Maxime Perrotin's avatar
Maxime Perrotin committed
24
    $ standalone_editor.py -a test/TPos.asn -t T-POS 
Maxime Perrotin's avatar
Maxime Perrotin committed
25
26
27

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

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

(c) European Space Agency
Author: Maxime Perrotin

33
LICENSE: LGPL - see LICENSE file
Maxime Perrotin's avatar
Maxime Perrotin committed
34

35
36
CHANGELOG:

Maxime Perrotin's avatar
Maxime Perrotin committed
37
1.6.0   - Fix autoscrolling in MSC streaming scenes
Maxime Perrotin's avatar
Maxime Perrotin committed
38
1.5.8   - Fix in Scenario.py used in MSCtoPython handlers
Maxime Perrotin's avatar
Maxime Perrotin committed
39
1.5.7   - No change - 1st version in TASTEv4
40
1.5.6   - Add support for taste-msc-editor
41
1.5.5   - Bugfix for random simulation
Maxime Perrotin's avatar
Maxime Perrotin committed
42
1.5.4   - Bugfix - needed for MSC editor
43
1.5.3   - Minor accomodation for the MSC editor
Maxime Perrotin's avatar
Maxime Perrotin committed
44
1.5.2   - Minor bugfix with SDL interface
45
1.5.1   - Simulator supports continuous signals
Maxime Perrotin's avatar
Maxime Perrotin committed
46
1.5.0   - Introduce exhaustive simulator
Maxime Perrotin's avatar
Maxime Perrotin committed
47
1.4.3   - Fix Random simulation (multiple clicks happened)
Maxime Perrotin's avatar
Maxime Perrotin committed
48
1.4.2   - Button to store TC in SQL database when available
Maxime Perrotin's avatar
Maxime Perrotin committed
49
1.4.1   - Align with DMT 2.1.x (major API update on pyside B mapper)
50
1.4.0   - Keep ASN.1 dash in the GUI (change of API)
Maxime Perrotin's avatar
Maxime Perrotin committed
51
1.3.0   - Fully using ctypes / compatible with latest DMT
52
1.2.3   - Removed SWIG handling of message queues
Maxime Perrotin's avatar
Maxime Perrotin committed
53
1.2.2   - Fix opengeode simulation mode (startup did not show the right state)
54
1.2.0   - Align with dmt 1.2.0 (use ctypes in place of swig)
55
1.1.4   - Better support empty sequences
Maxime Perrotin's avatar
Maxime Perrotin committed
56
1.1.3   - Use Opengeode logo when simulating SDL systems
57
1.1.2   - Call manually the startup function of the SDL model
58
1.1.0   - Add support for custom user widgets
59
1.0.8   - various updates in SDL handler
60
1.0.7   - fixed bug in value notation parser