aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md102
1 files changed, 71 insertions, 31 deletions
diff --git a/README.md b/README.md
index e54129a..0b48aa4 100644
--- a/README.md
+++ b/README.md
@@ -1,31 +1,71 @@
-Information
-====
-<br>This is sample application for af-steering-wheel-binding.
-<br>At above of the screen will display usb-camera(UVC camera) video.
-<br>At bottom of this screen will display the can information.
-<br>Right now it can get VehicleSpeed,EngineSpeed,TransmissionMode information from af-steering-wheel-binding.
-<br>Or you can change to use low-level-can-servcie.
-
-* Hardware: Renesas m3ulcb
-* Software: Daring Dab 4.0.0
-* Application name: als-meter-demo
-* Test Camera Device: Logitech c920r
-
-How to compile and install
-====
-<br> These is a sample recipe for als-meter-demo, you can just add that recipes into your project and bitbake.
-<br> Sample Recipes: als-meter-demo_git.bb
-
-How to use
-====
-<br>1, If the camera has been connected, you can select the camera corresponding to the device ID, and set FPS ,
-<br>pixel parameters, open ON/OFF switch on the right, you can see the camera display content.
-<br>2, operation steering-wheel device corresponding function, you can see vehicle speed, engine speed, transmission mode changes.
-
-Kernel configure
-====
-<br>You need to enable some kernel configure to enable usb camera.
-* CONFIG_VIDEOBUF2_VMALLOC=y
-* CONFIG_MEDIA_USB_SUPPORT=y
-* CONFIG_USB_VIDEO_CLASS=y
-* CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y \ No newline at end of file
+**Overview**
+
+This application receives transmitted data by waltham-transmitter.
+This application is implemented based on waltham-server.
+The original source code of waltham-server is in `./orig`.
+
+**Download**
+
+Download souce code and SDK from gitlab.
+
+```
+$ git clone http://oss-project.tmc-tokai.jp/gitlab/WindowManager/waltham-server.git
+```
+
+*NOTE*
+
+This application uses waltham protocol, therefore waltham librarys is necessary.
+The downloaded SDK includes the libraries.
+If build this application, please use this SDK.
+
+**Install SDK**
+
+1. Install SDK which is in `./sdk`.
+```
+$ cd ./sdk
+$ ./poky-agl-glibc-x86_64-agl-demo-platform-crosssdk-aarch64-toolchain-6.0.0.sh
+```
+
+1. Copy gstglconfig.h
+This SDK has gstglconfig.h
+but it exists in `<sdk_installed_path>/sysroots/aarch64-agl-linux/usr/lib`
+and it occures build error.
+Therefore copy it to `<sdk_installed_path>/sysroots/aarch64-agl-linux/usr/include`.
+```
+$ cd <sdk_installed_path>/sysroots/aarch64-agl-linux/
+$ cp usr/lib/gstreamer-1.0/include/gst/gl/gstglconfig.h usr/include/gstreamer-1.0/gst/gl/
+```
+
+**Build application**
+
+Source SDK envirment and make.
+```
+$ source <sdk_installed_path>/environment-setup-aarch64-agl-linux
+$ cd waltham-server
+$ mkdir build
+$ cd build
+$ cmake ..
+$ make
+$ make receiver
+```
+
+**Install wgt and config file**
+
+```
+[On host]
+$ scp build/package/receiver.wgt root@<your_target_ip>
+$ scp config/pipeline.cfg root@<your_target_ip>:/etc/xdg/weston
+$ ssh root@<your_target_ip>
+
+[On target]
+# afm-util install receiver.wgt
+# sync
+```
+
+**NOTE**
+
+This application uses port 34400 by default.
+If change it, please modify the followings:
+
+- In `config/pipeline.cfg`, value of `port` at line 1.
+- In `src/wth-server-main.cpp`, value of `tcp_port` at line 49.