From 600f415b564ef298a68092f19c4f380aa252bf51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=BB=E7=AB=8B=E6=96=B0?= Date: Mon, 17 Jan 2022 09:56:18 +0800 Subject: [PATCH] =?UTF-8?q?html=20=E5=8F=8Ainstall=E3=80=82sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- html/config/LocationCali.php | 26 ++++++++++++++++++ html/config/position.html | 51 ++++++++++++++++++++++++++++++++++++ othersoft/install.sh | 15 ++++++++++- 3 files changed, 91 insertions(+), 1 deletion(-) create mode 100644 html/config/LocationCali.php diff --git a/html/config/LocationCali.php b/html/config/LocationCali.php new file mode 100644 index 0000000..8e55441 --- /dev/null +++ b/html/config/LocationCali.php @@ -0,0 +1,26 @@ +'; + +while(@ ob_end_flush()); + +$proc = popen($cmd, 'r'); + + +while(!feof($proc)){ + echo fread($proc, 4096); + @ flush(); +} +echo "
"; +echo "finish"; \ No newline at end of file diff --git a/html/config/position.html b/html/config/position.html index c13621f..9960a69 100644 --- a/html/config/position.html +++ b/html/config/position.html @@ -11,5 +11,56 @@ 位置4 位置5 位置try + +
+ + + + + + + + + + +
+ 位置自动计算: + + + 设备 + + +    +    +    +    + + + + 预估位置数量 + + + +    +    +    +    + +    +    +    +    + + + + 曝光事件 + ms + + +
+ + +
+ \ No newline at end of file diff --git a/othersoft/install.sh b/othersoft/install.sh index 6b732b9..d1de410 100644 --- a/othersoft/install.sh +++ b/othersoft/install.sh @@ -1,5 +1,6 @@ mkdir build cd build + mkdir movingliner cd movingliner cmake ../../movingliner @@ -7,12 +8,24 @@ make -j4 mkdir /home/pi/bin cp ./movingliner /home/pi/bin echo beging build shuttercali + cd ../ + mkdir shuttercali cd shuttercali cmake ../../shuttercali/project/LocationCali make -j4 cp ./shutter_calibrate /home/pi/bin -cd ../../../ + +cd ../ + +mkdir console +cd console +cmake ../../calibration_console +make -j4 +cp ./ocean_optics_calibration_console /home/pi/bin +cd ../ + +cd ../../ cp -r ./html/* /var/www/html chmod +x /var/www/html/php/*.sh