Commit 3384b318 authored by 957dd's avatar 957dd

sh bug update but have few bug

parent 143f6dc9
#!/bin/bash
# 设置 DISPLAY 环境变量(确保 Firefox 能运行图形界面)
export DISPLAY=:0
pkill firefox
# 设置 DISPLAY 环境变量(确保 Firefox 能运行图形界面)
export DISPLAY=:0
firefox --new-window "https://8.129.3.163/index" --ignore-certificate-errors
\ No newline at end of file
sudo firefox --new-window "https://8.129.3.163/index" --ignore-certificate-errors &
\ 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=2.01307) [GFX1-]: glxtest: libEGL missing methods for GL test
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libEGL missing methods for GL test (t=2.03017) [GFX1-]: glxtest: libEGL missing methods for GL test
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libEGL missing methods for GL test (t=2.42285) [GFX1-]: glxtest: libEGL missing methods for GL test
Error: no DISPLAY environment variable specified
Error: no DISPLAY environment variable specified
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 2 start
Mqttbeat start
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
open cam
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}}
......@@ -45,29 +109,6 @@ Connected to broker
{"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":ip:192.168.1.71
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
serial_usart 1 start
Mqttbeat start
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
serial_usart 2 start
Connected to broker
{"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}}
......@@ -92,33 +133,6 @@ Connected to broker
{"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":ip:192.168.1.71
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
serial_usart 1 start
Mqttbeat start
serial_usart 2 start
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
{"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}}
......@@ -139,14 +153,17 @@ Connected to broker
{"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":ip:192.168.1.71
{"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}}
serial_usart 1 start
open cam
Mqttbeat start
serial_usart 2 start
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
{"body":{"ip":"192.168.1.71","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
serial_usart 2 start
serial_usart 1 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}}
......@@ -186,274 +203,4 @@ Connected to broker
{"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":Terminated
Failed to connect to broker: Network is unreachable
main: pthread_mutex_lock.c:117: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
Terminated
open cam
ip:192.168.2.175
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
serial_usart 1 start
serial_usart 2 start
Mqttbeat start
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
Connected to broker
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
Connected to broker
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
Connected to broker
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
Connected to broker
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
Connected to broker
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
Connected to broker
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
Connected to broker
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
Connected to broker
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
Connected to broker
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
Connected to broker
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
Connected to broker
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
message_type: 3
gtypeTemp:4
gmodeTemp:2
gvalTemp:60
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
message_type: 3
gtypeTemp:4
gmodeTemp:2
gvalTemp:60
message_type: 3
gtypeTemp:4
gmodeTemp:2
gvalTemp:60
message_type: 3
gtypeTemp:4
gmodeTemp:2
gvalTemp:60
message_type: 3
gtypeTemp:4
gmodeTemp:2
gvalTemp:60
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head":{"message_type":1}}
{"body":{"ip":"192.168.2.175","ID":"controlcar0001","N":"","E":""},"head"Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libEGL missing methods for GL test (t=2.12772) [GFX1-]: glxtest: libEGL missing methods for GL test
{"body":{"ip":"192.168.1.71","ID":"contr
\ No newline at end of file
No preview for this file type
......@@ -60,6 +60,7 @@ void *Mqttbeat(void *arg)
void *serial_usart2(void *arg)
{
printf("serial_usart 2 start\n");
serial_Receive_2();
......@@ -70,7 +71,7 @@ int main(int argc, char *argv[]) {
gStart=time(NULL);//开始时间戳
opencamsh();
serial_Init();//串口初始化
......@@ -81,6 +82,8 @@ int main(int argc, char *argv[]) {
ipaddr();//获取ip
mqtt_wirte();//mqtt心跳首次发送
opencamsh();
thread_start(serial_usart1,AppExit,Mqttbeat,serial_usart2);
mqtt_cycle(mosq);
......
......@@ -12,7 +12,7 @@
#define BROKER_ADDRESS "119.45.167.177"
#define BROKER_PORT 1883
#define CLIENT_ID "feichirensheng/control/car0001"
#define CLIENT_ID "feichirensheng/carorship"
#define TOPIC "controlcar0001"
#define USERNAME "admin" // 替换为你的用户名
#define PASSWORD "admin" // 替换为你的密码
......
......@@ -10,5 +10,5 @@ int opencamsh()
return -1;
}
printf("open cam\n");
return 0;
}
......@@ -2,8 +2,7 @@
#define __opensh_H__
#define SHELLFILE "/home/kickpi/car/master/camshell/cam.sh"
#define SHELLFILE "/home/kickpi/car/master/cam.sh"
int opencamsh();
#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