Commit 07e6627a authored by 957dd's avatar 957dd

shell bug update and join opensh pthread

parent 3384b318
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
pkill firefox pkill firefox
# 设置 DISPLAY 环境变量(确保 Firefox 能运行图形界面) # 设置 DISPLAY 环境变量(确保 Firefox 能运行图形界面)--new-window
export DISPLAY=:0 export DISPLAY=:0
sudo firefox --new-window "https://8.129.3.163/index" --ignore-certificate-errors & sudo firefox "https://8.129.3.163/index" --ignore-certificate-errors
\ No newline at end of file \ No newline at end of file
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libEGL missing methods for GL test (t=2.42231) [GFX1-]: glxtest: libEGL missing methods for GL test Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libEGL missing methods for GL test (t=1.89759) [GFX1-]: glxtest: libEGL missing methods for GL test
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libEGL missing methods for GL test (t=2.01307) [GFX1-]: glxtest: libEGL missing methods for GL test [88210] Sandbox: Couldn't query capabilities of video device /dev/video-enc0
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libEGL missing methods for GL test (t=2.03017) [GFX1-]: glxtest: libEGL missing methods for GL test [88210] Sandbox: Couldn't query capabilities of video device /dev/video-dec0
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libEGL missing methods for GL test (t=2.42285) [GFX1-]: glxtest: libEGL missing methods for GL test Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libEGL missing methods for GL test (t=1.89759) |[1][GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt (t=74.9596) [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
Error: no DISPLAY environment variable specified ip:10.5.130.216
Error: no DISPLAY environment variable specified {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: ManageChildProcess failed
(t=2.78236) [GFX1-]: glxtest: ManageChildProcess failed
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: ManageChildProcess failed
(t=2.78236) |[1][GFX1-]: glxtest: libEGL initialize failed (t=2.78236) [GFX1-]: glxtest: libEGL initialize failed
Error: no DISPLAY environment variable specified
*** You are running in headless mode.
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: Unable to open a connection to the X server (t=0.568708) [GFX1-]: glxtest: Unable to open a connection to the X server
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: Unable to open a connection to the X server (t=0.568708) |[1][GFX1-]: No GPUs detected via PCI
(t=0.568708) [GFX1-]: No GPUs detected via PCI
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: Unable to open a connection to the X server (t=0.568708) |[1][GFX1-]: No GPUs detected via PCI
(t=0.568708) |[2][GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt (t=2.5421) [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
*** You are running in headless mode.
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: Unable to open a connection to the X server (t=0.502848) [GFX1-]: glxtest: Unable to open a connection to the X server
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: Unable to open a connection to the X server (t=0.502848) |[1][GFX1-]: No GPUs detected via PCI
(t=0.506181) [GFX1-]: No GPUs detected via PCI
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: Unable to open a connection to the X server (t=0.502848) |[1][GFX1-]: No GPUs detected via PCI
(t=0.506181) |[2][GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt (t=2.54957) [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
*** You are running in headless mode.
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: Unable to open a connection to the X server (t=0.981831) [GFX1-]: glxtest: Unable to open a connection to the X server
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: Unable to open a connection to the X server (t=0.981831) |[1][GFX1-]: No GPUs detected via PCI
(t=0.981831) [GFX1-]: No GPUs detected via PCI
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: Unable to open a connection to the X server (t=0.981831) |[1][GFX1-]: No GPUs detected via PCI
(t=0.981831) |[2][GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt (t=4.47192) [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
*** You are running in headless mode.
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: Unable to open a connection to the X server (t=1.0605) [GFX1-]: glxtest: Unable to open a connection to the X server
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: Unable to open a connection to the X server (t=1.0605) |[1][GFX1-]: No GPUs detected via PCI
(t=1.0605) [GFX1-]: No GPUs detected via PCI
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: Unable to open a connection to the X server (t=1.0605) |[1][GFX1-]: No GPUs detected via PCI
(t=1.0605) |[2][GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt (t=4.56059) [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
/home/kickpi/car/master/cam.sh: line 8: --ignore-certificate-errors: command not found
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libEGL missing methods for GL test (t=2.04436) [GFX1-]: glxtest: libEGL missing methods for GL test
/home/kickpi/car/master/cam.sh: line 8: --ignore-certificate-errors: command not found
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libEGL missing methods for GL test (t=2.55321) [GFX1-]: glxtest: libEGL missing methods for GL test
/home/kickpi/car/master/cam.sh: line 8: --ignore-certificate-errors: command not found
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libEGL missing methods for GL test (t=2.48103) [GFX1-]: glxtest: libEGL missing methods for GL test
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libEGL missing methods for GL test (t=2.04476) [GFX1-]: glxtest: libEGL missing methods for GL test
sudo: unknown user: user1
sudo: unable to initialize policy plugin
sudo: unknown user: user1
sudo: unable to initialize policy plugin
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libEGL initialize failed (t=2.20343) [GFX1-]: glxtest: libEGL initialize failed
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libEGL initialize failed (t=2.39068) [GFX1-]: glxtest: libEGL initialize failed
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libEGL missing methods for GL test (t=1.9633) [GFX1-]: glxtest: libEGL missing methods for GL test
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libEGL missing methods for GL test (t=2.13234) [GFX1-]: glxtest: libEGL missing methods for GL test
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libEGL missing methods for GL test (t=2.48036) [GFX1-]: glxtest: libEGL missing methods for GL test
ip:192.168.1.71
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
serial_usart 1 start serial_usart 1 start
Mqttbeat start Mqttbeat start
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
Connected to broker
open cam
serial_usart 2 start serial_usart 2 start
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
正在处理过期消息{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"hCrash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libEGL missing methods for GL test (t=2.09344) [GFX1-]: glxtest: libEGL missing methods for GL test
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libEGL missing methods for GL test (t=2.13666) [GFX1-]: glxtest: libEGL missing methods for GL test
ip:192.168.1.71
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
open cam
Mqttbeat start
Connected to broker Connected to broker
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
serial_usart 2 start 正在处理过期消息{"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
serial_usart 1 start {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
正在处理过期消息{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
正在处理过期消息{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} open cam
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":"10.5.130.216","ID":"controcar0005","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}} {"body":{"ip":Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libEGL missing methods for GL test (t=1.89526) [GFX1-]: glxtest: libEGL missing methods for GL test
{"body":{"ip":"192.168.1.71","ID":"contr
\ No newline at end of file ###!!! [Parent][DispatchAsyncMessage] Error: PBackgroundIDBFactory::Msg_PBackgroundIDBFactoryRequestConstructor Value error: message was deserialized, but contained an illegal value
No preview for this file type
...@@ -5,6 +5,12 @@ ...@@ -5,6 +5,12 @@
#include "delay.h" #include "delay.h"
#include "opensh.h" #include "opensh.h"
void *opensh(void *arg)
{
sleep(10);
opencamsh();
return NULL;
}
void *serial_usart1(void *arg) void *serial_usart1(void *arg)
{ {
...@@ -82,9 +88,9 @@ int main(int argc, char *argv[]) { ...@@ -82,9 +88,9 @@ int main(int argc, char *argv[]) {
ipaddr();//获取ip ipaddr();//获取ip
mqtt_wirte();//mqtt心跳首次发送 mqtt_wirte();//mqtt心跳首次发送
opencamsh(); //opencamsh();
thread_start(serial_usart1,AppExit,Mqttbeat,serial_usart2); thread_start(serial_usart1,AppExit,Mqttbeat,serial_usart2,opensh);
mqtt_cycle(mosq); mqtt_cycle(mosq);
......
...@@ -6,12 +6,12 @@ ...@@ -6,12 +6,12 @@
#include "serial.h" #include "serial.h"
#include "delay.h" #include "delay.h"
pthread_t thread[4]; pthread_t thread[5];
int thread_start(void *serial_usart1(void *arg),void *AppExit(void *arg),void *Mqttbeat(void *arg),void *serial_usart2(void *arg)) int thread_start(void *serial_usart1(void *arg),void *AppExit(void *arg),void *Mqttbeat(void *arg),void *serial_usart2(void *arg),void *opensh(void *arg))
{ {
...@@ -38,6 +38,12 @@ int thread_start(void *serial_usart1(void *arg),void *AppExit(void *arg),void *M ...@@ -38,6 +38,12 @@ int thread_start(void *serial_usart1(void *arg),void *AppExit(void *arg),void *M
perror("Failed to create thread 1"); perror("Failed to create thread 1");
return 4; return 4;
} }
if(pthread_create(&thread[4],NULL,opensh,NULL)!=0)
{
perror("Failed to create thread 1");
return 5;
}
} }
void thread_end() void thread_end()
...@@ -52,6 +58,8 @@ void thread_end() ...@@ -52,6 +58,8 @@ void thread_end()
pthread_join(thread[2], NULL); pthread_join(thread[2], NULL);
pthread_join(thread[3], NULL); pthread_join(thread[3], NULL);
pthread_join(thread[4], NULL);
} }
#endif #endif
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment