mirror of
https://github.com/modelec/Initialisation.git
synced 2026-01-19 00:07:20 +01:00
Invert IHM and Camera
This commit is contained in:
13
startup.sh
13
startup.sh
@@ -21,6 +21,13 @@ echo "Lidar pid" $! >> /home/modelec/Serge/Lidar_pid.txt
|
||||
pids+=($!)
|
||||
sleep 1
|
||||
|
||||
# Démarrer l'IHM
|
||||
echo "Starting the IHM"
|
||||
/home/modelec/Serge/ihm/build/ihm_robot fullscreen &
|
||||
echo "IHM pid" $! >> /home/modelec/Serge/IHM_pid.txt
|
||||
pids+=($!)
|
||||
sleep 1
|
||||
|
||||
# Démarrer la caméra
|
||||
echo "Starting the camera"
|
||||
screen -dmS camera /home/modelec/Serge/detection_pot/build/arucoDetector /home/modelec/Serge/detection_pot/build/camera_calibration.yml 8080 --headless
|
||||
@@ -29,12 +36,6 @@ echo "Camera pid" $pid >> /home/modelec/Serge/Camera_pid.txt
|
||||
pids+=($pid)
|
||||
sleep 1
|
||||
|
||||
# Démarrer l'IHM
|
||||
echo "Starting the IHM"
|
||||
/home/modelec/Serge/ihm/build/ihm_robot fullscreen &
|
||||
echo "IHM pid" $! >> /home/modelec/Serge/IHM_pid.txt
|
||||
pids+=($!)
|
||||
sleep 10
|
||||
|
||||
# Fonction pour surveiller la fermeture de l'IHM
|
||||
monitor_all() {
|
||||
|
||||
Reference in New Issue
Block a user