Skip to contentSkip to conversation

Add PdM anomaly detection demo to Matrix GUI

PATCH New Hongmei Gou 1 participant 5 messages Jun 3, 2019

lore
Share & tools
lore
#0 lore raw

cover Add PdM anomaly detection demo to Matrix GUI

Add analytics submenu and place the PdM anomaly detection demo under it

Hongmei Gou (4):
matrix-gui-apps-git.inc: bump SRCREV to add analytics submenu and
analytics-pdm-anomaly-detection demo
matrix-gui-submenus: add analytics submenu matrix-gui-analytics-demos: add predictive maintenance demo for
anomaly detection
packagegroup-arago-tisdk-matrix: add
matrix-analytics-pdm-anomaly-detection demo

 .../packagegroup-arago-tisdk-matrix.bb        |  6 ++++-
 .../matrix/matrix-gui-analytics-demos_2.0.bb  | 27 +++++++++++++++++++
 .../matrix/matrix-gui-apps-git.inc            |  4 +--
 .../matrix/matrix-gui-submenus_2.0.bb         |  5 +++-
 4 files changed, 38 insertions(+), 4 deletions(-)
 create mode 100644 meta-arago-extras/recipes-core/matrix/matrix-gui-analytics-demos_2.0.bb
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/4 matrix-gui-apps-git.inc: bump SRCREV to add analytics submenu and analytics-pdm-anomaly-detection demo

---
 meta-arago-extras/recipes-core/matrix/matrix-gui-apps-git.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-git.inc +2 -2
index 8cd90427..1ef1e9b9 100644
@@ -4,9 +4,9 @@ LICENSE_CHECKSUM = "LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"
 LIC_FILES_CHKSUM := "file://../${LICENSE_CHECKSUM}"
 
 SRC_URI = "git://git.ti.com/matrix-gui-v2/matrix-gui-v2-apps.git;protocol=git;branch=${BRANCH}"
-SRCREV = "447330830a22028958c361f3f54020dc26427856"
+SRCREV = "42ccd978004ec75b4e05313466abe92806d14a29"
 BRANCH = "master"
-INC_PR = "r68"
+INC_PR = "r69"
 
 # Pull in the base package for installing matrix applications
 require matrix-gui-apps.inc
Signature · 1 line
2.17.1
#2 lore raw

PATCH 2/4 matrix-gui-submenus: add analytics submenu

In reply to Hongmei Gou
---
 .../recipes-core/matrix/matrix-gui-submenus_2.0.bb           | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-arago-extras/recipes-core/matrix/matrix-gui-submenus_2.0.bb +4 -1
index 9478618c..082f3a26 100644
@@ -7,7 +7,7 @@ require matrix-gui-apps-git.inc
 # reset the LIC_FILES_CHKSUM setting from the matrix-gui-apps-git.inc file
 LIC_FILES_CHKSUM = "file://LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"
 
-PR = "${INC_PR}.19"
+PR = "${INC_PR}.20"
 
 # These packages make submenus in matrix and are not architecture specific
 inherit allarch
@@ -37,6 +37,7 @@ SUBMENUS = " arm_submenu \
              browser_submenu \
 	     hmi_submenu \
              tidl_submenu \
+             analytics_submenu \
 "
 
 do_install(){
@@ -72,6 +73,7 @@ PACKAGES += " ${PN}-arm \
               ${PN}-browser \
               ${PN}-hmi \
               ${PN}-tidl \
+              ${PN}-analytics \
 "
 
 # Make sure app images has been installed
@@ -102,3 +104,4 @@ FILES_${PN}-touch = "${MATRIX_APP_DIR}/touch_submenu/*"
 FILES_${PN}-browser = "${MATRIX_APP_DIR}/browser_submenu/*"
 FILES_${PN}-hmi = "${MATRIX_APP_DIR}/hmi_submenu/*"
 FILES_${PN}-tidl = "${MATRIX_APP_DIR}/tidl_submenu/*"
+FILES_${PN}-analytics = "${MATRIX_APP_DIR}/analytics_submenu/*"
Signature · 1 line
2.17.1
#3 lore raw

PATCH 3/4 matrix-gui-analytics-demos: add predictive maintenance demo for anomaly detection

In reply to Hongmei Gou
---
 .../matrix/matrix-gui-analytics-demos_2.0.bb  | 27 +++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 meta-arago-extras/recipes-core/matrix/matrix-gui-analytics-demos_2.0.bb
meta-arago-extras/recipes-core/matrix/matrix-gui-analytics-demos_2.0.bb new file +27 -0
new file mode 100644
index 00000000..c77a6654
@@ -0,0 +1,27 @@
+DESCRIPTION = "Analytics demo descriptions for Matrix v2"
+HOMEPAGE = "http://git.ti.com/matrix-gui-v2/matrix-gui-v2-apps"
+
+require recipes-core/matrix/matrix-gui-apps-git.inc
+
+PR = "${INC_PR}.0"
+
+inherit allarch
+
+S = "${WORKDIR}/git/analytics_apps"
+
+# Make sure analytics submenu and app images has been installed
+ANALYTICSDEMO_RDEPENDS += "matrix-gui-apps-images matrix-gui-submenus-analytics"
+
+FILES_${PN} += "${MATRIX_BASE_DIR}/*"
+
+PACKAGES = "matrix-analytics-pdm-anomaly-detection \
+"
+
+RDEPENDS_matrix-analytics-pdm-anomaly-detection = " \
+    bash \
+    ${ANALYTICSDEMO_RDEPENDS} \
+    pdm-anomaly-detection \
+"
+
+FILES_matrix-analytics-pdm-anomaly-detection = "${MATRIX_APP_DIR}/analytics_pdm_anomaly_detection/*"
+FILES_matrix-analytics-pdm-anomaly-detection += "${bindir}/runPdmAnomalyDetection.sh"
Signature · 1 line
2.17.1
#4 lore raw

PATCH 4/4 packagegroup-arago-tisdk-matrix: add matrix-analytics-pdm-anomaly-detection demo

In reply to Hongmei Gou
---
 .../packagegroups/packagegroup-arago-tisdk-matrix.bb        | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb +5 -1
index 2b7ee6de..1298a0d4 100644
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to include Matrix v2"
 LICENSE = "MIT"
-PR = "r78"
+PR = "r79"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
@@ -115,6 +115,7 @@ MATRIX_APPS_append_ti33x = "        \
     ${MATRIX_OPENCV_ARM_ONLY_APPS}  \
                                     \
     ${MATRIX_ARMNN_APPS}            \
+    matrix-analytics-pdm-anomaly-detection \
 "
 
 MATRIX_APPS_append_ti43x = "        \
@@ -138,6 +139,7 @@ MATRIX_APPS_append_ti43x = "        \
     ${MATRIX_OPENCV_ARM_ONLY_APPS}  \
                                     \
     ${MATRIX_ARMNN_APPS}            \
+    matrix-analytics-pdm-anomaly-detection \
 "
 
 MATRIX_APPS_append_omap-a15 = "     \
@@ -160,6 +162,7 @@ MATRIX_APPS_append_omap-a15 = "     \
     ${@['','matrix-gui-browser-demos'][bb.utils.contains('MACHINE_FEATURES','sgx',True,False,d) and bb.utils.contains('DISTRO_FEATURES','wayland',True,False,d)]} \
                                 \
     ${MATRIX_ARMNN_APPS}            \
+    matrix-analytics-pdm-anomaly-detection \
 "
 
 MATRIX_APPS_append_k3 = "           \
@@ -175,6 +178,7 @@ MATRIX_APPS_append_k3 = "           \
     ${MATRIX_OPENCV_ARM_ONLY_APPS}  \
                                     \
     ${MATRIX_ARMNN_APPS}            \
+    matrix-analytics-pdm-anomaly-detection \
 "
 
 MATRIX_APPS_append_dra7xx += " \
Signature · 1 line
2.17.1