Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smartdevicelink/sdl_hmi
https://github.com/smartdevicelink/sdl_hmi
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/smartdevicelink/sdl_hmi
- Owner: smartdevicelink
- License: bsd-3-clause
- Created: 2015-06-19T12:31:13.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-10-26T15:50:01.000Z (about 2 years ago)
- Last Synced: 2024-04-13T03:34:32.002Z (7 months ago)
- Language: JavaScript
- Size: 6.09 MB
- Stars: 13
- Watchers: 30
- Forks: 43
- Open Issues: 34
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SDL HMI
HTML5 based utility to see how the SDL works. It connects via WebSocket to [SDL Core](https://github.com/smartdevicelink/sdl_core)
# Getting Started
This project interacts with [SDL Core](https://github.com/smartdevicelink/sdl_core).
To initialize the git submodules in this project after cloning, run the following commands:
```
cd sdl_hmi
git submodule init
git submodule update
```
Alternatively, you can clone this repository with the --recurse-submodules flag.## Dependencies
* ffmpeg : `sudo apt install ffmpeg`
* Python3,PIP : `sudo apt install python3 python3-pip`
* ffmpeg-python : `sudo python3 -m pip install ffmpeg-python`
* chromium-browser : `sudo apt install chromium-browser`## Start HMI
A quick guide to installing, configuring, and running HMI.1. run `deploy_server.sh`
2. run SmartDeviceLinkCore
3. run chromium-browser [root_of_cloned_sdl_hmi_repo/index.html]Note that all these 3 steps are foreground processes and block terminal window, so you should use separate terminal windows for all of them.
## deploy_server.sh responsibility
External python server is required for :
- simulating Low voltage signals
- transferring audio/video data from sdl_core to HMI in browser
- simulating Policy table update using in-vehicle modemIf deploy_server.sh will not be started this functionality won't work.
## Simulating signals for LOW_VOLTAGE feature
* Open the `Exit Application` menu, choose a signal from the menu and press `Send signal`## PTU With vehicle modem
* Click the `System Request` button
* Select the `PTU using in-vehicle modem` checkbox to enable the feature## Note
SDL HMI utility is only for acquaintance with the SDL project.## Look at configuration file app/FLAGS.js. You can found there:
- SDL WebSocket connection string -
WEBSOCKET_URL
- Python WebSocket url for handling signals -
PYTHON_SERVER_URL