Manisha Agrawal
2018-10-22 18:24:52 UTC
Signed-off-by: Manisha Agrawal <***@ti.com>
---
hmi_apps/hmi_mmwave/desc_hmi_mmwave.html | 8 ++++++++
hmi_apps/hmi_mmwave/hmi_mmwave.desktop | 12 ++++++++++++
hmi_apps/hmi_mmwave/runHmiMmWave.sh | 9 +++++++++
3 files changed, 29 insertions(+)
create mode 100644 hmi_apps/hmi_mmwave/desc_hmi_mmwave.html
create mode 100644 hmi_apps/hmi_mmwave/hmi_mmwave.desktop
create mode 100755 hmi_apps/hmi_mmwave/runHmiMmWave.sh
diff --git a/hmi_apps/hmi_mmwave/desc_hmi_mmwave.html b/hmi_apps/hmi_mmwave/desc_hmi_mmwave.html
new file mode 100644
index 0000000..b8608e2
--- /dev/null
+++ b/hmi_apps/hmi_mmwave/desc_hmi_mmwave.html
@@ -0,0 +1,8 @@
+<h1> mmWave Gesture Controlled HMI Example </h1>
+
+<p> This example demonstrates HMI control using gesture from mmWave IWRxxxx sensor. </p>
+<p> mmWave sensor IWRxxxx reads and processes motion and gesture data and reports the gesture to the Sitara device over the Serial port. </p>
+<p> Sitara device parses the gesture and control the HMI. </p>
+
+</p>
+
diff --git a/hmi_apps/hmi_mmwave/hmi_mmwave.desktop b/hmi_apps/hmi_mmwave/hmi_mmwave.desktop
new file mode 100644
index 0000000..2077a35
--- /dev/null
+++ b/hmi_apps/hmi_mmwave/hmi_mmwave.desktop
@@ -0,0 +1,12 @@
+#!/usr/bin/env xdg-open
+
+[Desktop Entry]
+Name=MmWave Gesture Controlled HMI
+GenericName=Demo App
+Icon=/usr/share/matrix-gui-2.0/apps/images/multimedia-icon.png
+Exec=/usr/bin/runHmiMmWave.sh
+Type=Application
+ProgramType=gui
+Categories=hmi
+X-MATRIX-Lock=hmi_mmwave_lock
+X-MATRIX-Description=/usr/share/matrix-gui-2.0/apps/hmi_mmwave/desc_hmi_mmwave.html
diff --git a/hmi_apps/hmi_mmwave/runHmiMmWave.sh b/hmi_apps/hmi_mmwave/runHmiMmWave.sh
new file mode 100755
index 0000000..a37fc74
--- /dev/null
+++ b/hmi_apps/hmi_mmwave/runHmiMmWave.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+/etc/init.d/weston stop
+sleep 1
+
+mmwavegesture -platform eglfs
+
+/etc/init.d/weston start
+sleep 1
---
hmi_apps/hmi_mmwave/desc_hmi_mmwave.html | 8 ++++++++
hmi_apps/hmi_mmwave/hmi_mmwave.desktop | 12 ++++++++++++
hmi_apps/hmi_mmwave/runHmiMmWave.sh | 9 +++++++++
3 files changed, 29 insertions(+)
create mode 100644 hmi_apps/hmi_mmwave/desc_hmi_mmwave.html
create mode 100644 hmi_apps/hmi_mmwave/hmi_mmwave.desktop
create mode 100755 hmi_apps/hmi_mmwave/runHmiMmWave.sh
diff --git a/hmi_apps/hmi_mmwave/desc_hmi_mmwave.html b/hmi_apps/hmi_mmwave/desc_hmi_mmwave.html
new file mode 100644
index 0000000..b8608e2
--- /dev/null
+++ b/hmi_apps/hmi_mmwave/desc_hmi_mmwave.html
@@ -0,0 +1,8 @@
+<h1> mmWave Gesture Controlled HMI Example </h1>
+
+<p> This example demonstrates HMI control using gesture from mmWave IWRxxxx sensor. </p>
+<p> mmWave sensor IWRxxxx reads and processes motion and gesture data and reports the gesture to the Sitara device over the Serial port. </p>
+<p> Sitara device parses the gesture and control the HMI. </p>
+
+</p>
+
diff --git a/hmi_apps/hmi_mmwave/hmi_mmwave.desktop b/hmi_apps/hmi_mmwave/hmi_mmwave.desktop
new file mode 100644
index 0000000..2077a35
--- /dev/null
+++ b/hmi_apps/hmi_mmwave/hmi_mmwave.desktop
@@ -0,0 +1,12 @@
+#!/usr/bin/env xdg-open
+
+[Desktop Entry]
+Name=MmWave Gesture Controlled HMI
+GenericName=Demo App
+Icon=/usr/share/matrix-gui-2.0/apps/images/multimedia-icon.png
+Exec=/usr/bin/runHmiMmWave.sh
+Type=Application
+ProgramType=gui
+Categories=hmi
+X-MATRIX-Lock=hmi_mmwave_lock
+X-MATRIX-Description=/usr/share/matrix-gui-2.0/apps/hmi_mmwave/desc_hmi_mmwave.html
diff --git a/hmi_apps/hmi_mmwave/runHmiMmWave.sh b/hmi_apps/hmi_mmwave/runHmiMmWave.sh
new file mode 100755
index 0000000..a37fc74
--- /dev/null
+++ b/hmi_apps/hmi_mmwave/runHmiMmWave.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+/etc/init.d/weston stop
+sleep 1
+
+mmwavegesture -platform eglfs
+
+/etc/init.d/weston start
+sleep 1
--
2.13.0
2.13.0