Skip to content

ROBxTASK/codegen-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rxt_codegen

  • Generates Python Action Clients for ROBxTASK control from Blockly XML files
  • Generates OPCUA Simulator Client for ROBxTASK simulation environment
  • Call this program with three command line arguments: [inputFile][outputFile][bIsSimulatedEnv]

CodeGen as a Server Implementation

start with: "docker-compose -f docker-compose.yml up -d --no-deps --build"

CodeGen as a standalone application

For directories of files please use input folder for input files and output folder for output files.

Example usage in console for ROS file generation:

python codegen_main.py ../input/ROS/example_2.xml ../output/generated_results/ false

Example usage in console for OPCUA file generation:

python codegen_main.py ../input/OPCUA/example_1.xml ../output/generated_results/ true

Example "launch.json" file for debuuging with visual code / visual studio:

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python: Current File",
            "type": "python",
            "request": "launch",
            "program": "./server/source/codegen_main.py",
            "console": "integratedTerminal",
            "args": ["./server/input/ROS/example_2.xml", "./server/output/generated_results/", "false"]
        }
    ]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published