- 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]
start with: "docker-compose -f docker-compose.yml up -d --no-deps --build"
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"]
}
]
}