diff options
author | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2019-04-09 10:38:35 +0900 |
---|---|---|
committer | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2019-04-10 10:02:52 +0900 |
commit | 2b54cb6f5797df36d14df55cd685a0d61ccd7001 (patch) | |
tree | b1b816b03f29cbf4675da5d3812eff8682238c4c /README.md |
Add demo3 tachometer source codeicefish_8.99.5icefish_8.99.4icefish_8.99.3icefish_8.99.2icefish_8.99.1icefish/8.99.5icefish/8.99.4icefish/8.99.3icefish/8.99.2icefish/8.99.1halibut_8.0.6halibut_8.0.5halibut_8.0.4halibut_8.0.3halibut_8.0.2halibut_8.0.1halibut_8.0.0halibut_7.99.3halibut_7.99.2halibut_7.99.1halibut/8.0.6halibut/8.0.5halibut/8.0.4halibut/8.0.3halibut/8.0.2halibut/8.0.1halibut/8.0.0halibut/7.99.3halibut/7.99.2halibut/7.99.18.99.58.99.48.99.38.99.28.99.18.0.68.0.58.0.48.0.38.0.28.0.18.0.07.99.37.99.27.99.1halibut
Add demo3 tachometer source code for cluster mode.
[Patch Set 2] Update LICENSE file.
Change-Id: Icac1ec8a08056988b519982d77d15a1eb5da8169
BUG-AGL: SPEC-2261
Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..89807ca --- /dev/null +++ b/README.md @@ -0,0 +1,69 @@ +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: tachometer +* Test Device: Logitech c920r + +How to compile and install +==== +<br> These is a sample recipe for tachometer, you can just add that recipes into your project and bitbake. +<br> Sample Recipes: tachometer_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 + +CAN data +==== +* engine.speed +<br> canid: 1C4 +<br> offset: 0 +<br> bitsize: 16 +<br> sample: cansend vcan0 1C4#FFFF000000000000 + +* vehicle.average.speed +<br> canid: 0B4 +<br> offset: 40 +<br> bitsize: 16 +<br> sample: cansend vcan0 0B4#0000000000FFFF00 + +* fuel.level +<br> canid: 612 +<br> offset: 40 +<br> bitsize: 8 +<br> sample: cansend vcan0 612#0000000000FF0000 + +* Transmission.SiftPosition.neutral +<br> canid: 3BC +<br> offset: 12 +<br> bitsize: 1 +<br> sample: cansend vcan0 3BC#0008000000000000 + +* Transmission.SiftPosition.driving +<br> canid: 3BC +<br> offset: 40 +<br> bitsize: 1 +<br> sample: cansend vcan0 3BC#0000000000800000 + +* Transmission.SiftPosition.parking +<br> canid: 3BC +<br> offset: 10 +<br> bitsize: 1 +<br> sample: cansend vcan0 3BC#0020000000000000 |