Commit efc12089 authored by Mathias Haage's avatar Mathias Haage
Browse files

Merge branch 'master' of git.cs.lth.se:mathias/grafchart_utils

parents 1d69e9f3 2e146c4e
Pipeline #2145 skipped
This repository contains utilities related to using the JGrafchart SFC editing
and execution software (http://www.control.lth.se/Research/tools/grafchart.html).
The scripts folder contains commands for the linux command line. The script
setup.bash should be edited and sourced to set up environment.
Compilation:
mvn package shade:shade
Usage:
The sfcgenerate command takes a comma-separated list of states as parameter and outputs a
state machine containing a sequence with each state.
Example:
sfcgenerate a,b,c >test.xml
will print a state machine with states a, b, and c in sequence.
The state machine can be executed using:
jgrafchart -loadcommitstart <absolute path to>/test.xml
The statemachine contains a socket server:
telnet localhost 4242
Input|1
Input|2
Output|2
Transitions listen to the Input variable. Entering states update the Output variable.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment