We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37d2c4e commit b62640fCopy full SHA for b62640f
tools/launcher
@@ -1,8 +1,14 @@
1
#!/bin/bash
2
3
echo $0
4
+if [[ $1 == "mtk" ]]
5
+then
6
+ BACKEND=""
7
+else
8
+ BACKEND="-p"
9
+fi
10
root_dir="$(cd $(dirname $0)/../; pwd)"
11
simu_dir="$root_dir/modbus_simulator"
12
export PYTHONPATH=$root_dir
-launch_cmd="$simu_dir/main.py -p"
13
+launch_cmd="$simu_dir/main.py $BACKEND"
14
python $launch_cmd
0 commit comments