Skip to content
Snippets Groups Projects
Select Git revision
  • dev-bufferedflashbackend
  • registry-dev
  • my-LI3DSH-driver
  • sensor-fault-detection
  • vn300
  • main default protected
  • sensor-sync-upd
  • vcm
  • nokia-gemini-tm-dev
  • nokia-pyxis-tm-dev
  • sx1278-resilience
  • extra-transceivers
  • radio-mavlink-test-upd
  • h3lis331dl-dev
  • i2c-slaveConfig-upd
  • can-protcol-stats
  • parafoil-sensortile
  • spi
  • build-system
  • vl53l7cxa-dev
  • PYXIS_ROCCARASO
  • PYXIS_EUROC
  • lynx-euroc
  • hermes-v1.0
  • hermes-flight-1
25 results

README.md

Blame
  • README.md 1.26 KiB

    Generators scripts

    The scripts contained in this directory are used to generate cpp code from scxml files, they accept a directory or a list of files.

    Eventgen

    The Eventgen program generates the files Events.h, Topics.h and EventString.cpp gathering information from all scxml files specified.

    usage: eventgen.py [-h] [-q] [-f [F [F ...]]] [directory]
    
    positional arguments:
      directory             Directory where to search files
    
    optional arguments:
      -h, --help            show this help message and exit
      -q, --quiet           Output only essential messages
      -f [F [F ...]], --files [F [F ...]]

    FSMGen

    The FSMGen program generates cpp files (FSMController.h, FSMController.cpp, FSMData.h and test-FMS.cpp) for each scxml file specified. DO NOT USE FOR HSM

    usage: fsmgen.py [-h] [-q] [-a AUTHORS] [-n MAIN_NAMESPACE] [-f [F [F ...]]] [directory]
    
    positional arguments:
      directory             Directory where to search files
    
    optional arguments:
      -h, --help            show this help message and exit
      -q, --quiet           Output only essential messages
      -a AUTHORS, --authors AUTHORS
      -n MAIN_NAMESPACE, --main_namespace MAIN_NAMESPACE
                            DeathStackBoard as default
      -f [F [F ...]], --files [F [F ...]]