4 years agoMerge pull request #6 in PROCESSOR-SDK/pdm-anomaly-detection from add-printf-for... master
Merge pull request #6 in PROCESSOR-SDK/pdm-anomaly-detection from add-printf-for-test to master
* commit '4fcbc4d5e3829c2e9e8e83b02d9995e6867312d4':
Improve on the console logging to avoid largely slowing down the Qt GUI display
* commit '4fcbc4d5e3829c2e9e8e83b02d9995e6867312d4':
Improve on the console logging to avoid largely slowing down the Qt GUI display
Improve on the console logging to avoid largely slowing down the Qt GUI display
* Print calibration message once.
* Print detection message once before any anomalies.
* Print anomaly message once per series update to allow the anomaly message
printed for the duration of anomalies without slowing down the QT display.
* Enable print of the detection message after the anomaly message is printed.
This allows going back to the detection message when there are no more anomalies.
Signed-off-by: Hongmei Gou <h-gou@ti.com>
* Print calibration message once.
* Print detection message once before any anomalies.
* Print anomaly message once per series update to allow the anomaly message
printed for the duration of anomalies without slowing down the QT display.
* Enable print of the detection message after the anomaly message is printed.
This allows going back to the detection message when there are no more anomalies.
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Merge pull request #5 in PROCESSOR-SDK/pdm-anomaly-detection from add-printf-for-test to master
* commit '5a14649e3834c7d45d522d35b28ec113db44ab1c':
Add console logs to facilitate test automation
* commit '5a14649e3834c7d45d522d35b28ec113db44ab1c':
Add console logs to facilitate test automation
Merge pull request #4 in PROCESSOR-SDK/pdm-anomaly-detection from onnx-n-lstm-layers to master
* commit '13e301872486132d21408c327203c5d4b56aa925':
onnx model parsing: get the layer_types array into the header file
onnx model parsing: support an arbitrary number of LSTM layers
* commit '13e301872486132d21408c327203c5d4b56aa925':
onnx model parsing: get the layer_types array into the header file
onnx model parsing: support an arbitrary number of LSTM layers
Add console logs to facilitate test automation
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Hongmei Gou <h-gou@ti.com>
onnx model parsing: get the layer_types array into the header file
* Updated the auto-generated header file LSTM_model.h also
Signed-off-by: Hongmei Gou <h-gou@ti.com>
* Updated the auto-generated header file LSTM_model.h also
Signed-off-by: Hongmei Gou <h-gou@ti.com>
onnx model parsing: support an arbitrary number of LSTM layers
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Merge pull request #3 in PROCESSOR-SDK/pdm-anomaly-detection from pdm-demo-bringup to master
* commit 'ac8b1cea16e17e56294b8db149f5bee1718fb702':
Update LICENSE and add copyright header in the source files
Qt related files: restore copyright header
psensors.cpp: rename generic name of /tmp/myfifo to /tmp/pdmfifo
main.cpp: detach the thread before returning from main()
Code cleanup: add comments and utilize header files
Add comments for QML entries
Qt display: by default show the images for the motor setup, call flow, and system model
Makefile.build: install the binary without renaming
Add Makefile.build to enable building the demo in PLSDK installer
Naming replacement: oscilloscope is changed to pdm-anomaly-detection
* commit 'ac8b1cea16e17e56294b8db149f5bee1718fb702':
Update LICENSE and add copyright header in the source files
Qt related files: restore copyright header
psensors.cpp: rename generic name of /tmp/myfifo to /tmp/pdmfifo
main.cpp: detach the thread before returning from main()
Code cleanup: add comments and utilize header files
Add comments for QML entries
Qt display: by default show the images for the motor setup, call flow, and system model
Makefile.build: install the binary without renaming
Add Makefile.build to enable building the demo in PLSDK installer
Naming replacement: oscilloscope is changed to pdm-anomaly-detection
Update LICENSE and add copyright header in the source files
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Qt related files: restore copyright header
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Hongmei Gou <h-gou@ti.com>
psensors.cpp: rename generic name of /tmp/myfifo to /tmp/pdmfifo
* This is to avoid pontential conflict with the generic pipe name
Signed-off-by: Hongmei Gou <h-gou@ti.com>
* This is to avoid pontential conflict with the generic pipe name
Signed-off-by: Hongmei Gou <h-gou@ti.com>
main.cpp: detach the thread before returning from main()
* This is to address the message of "terminate called without an active exception"
when closing the Qt window.
Signed-off-by: Hongmei Gou <h-gou@ti.com>
* This is to address the message of "terminate called without an active exception"
when closing the Qt window.
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Code cleanup: add comments and utilize header files
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Add comments for QML entries
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Qt display: by default show the images for the motor setup, call flow, and system model
* The images above can provide useful information for the out of box demo
which is using pre-recorded sensor data
Signed-off-by: Hongmei Gou <h-gou@ti.com>
* The images above can provide useful information for the out of box demo
which is using pre-recorded sensor data
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Makefile.build: install the binary without renaming
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Add Makefile.build to enable building the demo in PLSDK installer
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Naming replacement: oscilloscope is changed to pdm-anomaly-detection
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Signed-off-by: Hongmei Gou <h-gou@ti.com>
Merge pull request #2 in PROCESSOR-SDK/pdm-anomaly-detection from pdm-demo-bringup to master
* commit '8c25ca56383df4a3b71b8f34fde1ffbe1212f11b':
Add throttling when there is no incoming sensor data
Qt GUI: add setup image and block diagram along with a button to hide/display them
Add Qt GUI to display sensor data and anomaly detection results
* commit '8c25ca56383df4a3b71b8f34fde1ffbe1212f11b':
Add throttling when there is no incoming sensor data
Qt GUI: add setup image and block diagram along with a button to hide/display them
Add Qt GUI to display sensor data and anomaly detection results
Add throttling when there is no incoming sensor data
* When there is no input from the other end of pipe, it has been
treated as "0" when reading from the FIFO. Add the throttling
before passing "0" sensor data for processing (and logging).
Signed-off-by: Hongmei Gou <a0271529@ti.com>
* When there is no input from the other end of pipe, it has been
treated as "0" when reading from the FIFO. Add the throttling
before passing "0" sensor data for processing (and logging).
Signed-off-by: Hongmei Gou <a0271529@ti.com>
Qt GUI: add setup image and block diagram along with a button to hide/display them
Signed-off-by: Hongmei Gou <a0271529@ti.com>
Signed-off-by: Hongmei Gou <a0271529@ti.com>
Add Qt GUI to display sensor data and anomaly detection results
* Two more sensor data sets are added for the demo
* 1. normal100-anomaly150-normal100.log: motor moves @150 deg/s to create anomaly
* 2. logs/normal270-anomaly170-normal270.log: motor stops at 170 deg to create anomaly
Signed-off-by: Hongmei Gou <a0271529@ti.com>
* Two more sensor data sets are added for the demo
* 1. normal100-anomaly150-normal100.log: motor moves @150 deg/s to create anomaly
* 2. logs/normal270-anomaly170-normal270.log: motor stops at 170 deg to create anomaly
Signed-off-by: Hongmei Gou <a0271529@ti.com>
Merge pull request #1 in PROCESSOR-SDK/pdm-anomaly-detection from pdm-demo-bringup to master
* commit '7439abc642c7a7faf8c9262ebdc26a311a82027c':
Add ONNX model and python scripts for converting it to LSTM_model.h
Add PdM anomaly detection code
* commit '7439abc642c7a7faf8c9262ebdc26a311a82027c':
Add ONNX model and python scripts for converting it to LSTM_model.h
Add PdM anomaly detection code
Add ONNX model and python scripts for converting it to LSTM_model.h
Signed-off-by: Hongmei Gou <a0271529@ti.com>
Signed-off-by: Hongmei Gou <a0271529@ti.com>
Add PdM anomaly detection code
* Follow readme to natively compile and run PdM anomaly detection on target
Signed-off-by: Hongmei Gou <a0271529@ti.com>
* Follow readme to natively compile and run PdM anomaly detection on target
Signed-off-by: Hongmei Gou <a0271529@ti.com>
Initial Commit