User Tools

Site Tools


dashboard

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dashboard [2014/10/01 00:43]
FGraham [Table]
— (current)
Line 1: Line 1:
- 
-===== Summary ​ ===== 
- 
- 
-This application displays status information about the vehicle and is primarily passive in regards to action required from the driver. 
- 
-{{:​wiki:​wiki:​dashboard_agl.jpg?​200|}} 
- 
- 
-===== Resources ​ ===== 
- 
- 
-Watch [[https://​download.automotivelinux.org/​POC/​PoC_Videos/​Dashboard%20PoC%20V2.mp4|Dashboard video]]. 
- 
-Access the [[https://​download.automotivelinux.org/​POC/​PoC_DRDs/​DRD_Dashboard.xlsx|Design Requirements Document (DRD)]]. 
- 
-Access the [[https://​gerrit.automotivelinux.org/​gerrit/​gitweb?​p=POC-HTML5-UI/​Dashboard.git;​a=summary|Sources]]. 
- 
-Download the [[https://​download.automotivelinux.org/​POC/​PoC_WGT/​Dashboard.wgt|Application WGT]]. 
- 
- 
-===== What the app does  ===== 
- 
- 
- Uses mainly CarIndicator module from CarIndicator. ​ Dashboard application uses following AMB properties to show car data in display only mode: 
- 
-  * SteeringWheelAngle 
-    * SteeringWheelAngle 
-  * WheelBrake 
-    * Engaged 
-  * TirePressure 
-    * leftFront 
-    * rightFront 
-    * leftRear 
-    * rightRear 
-  * DoorStatus 
-    * ChildLockStatus 
-  * LightStatus 
-    * Hazard 
-    * Head 
-    * Parking 
-  * BatteryStatus 
-  * FullBatteryRange 
-  * ExteriorTemperature 
-    * Exterior 
-  * InteriorTemperature 
-    * Interior 
-  * WheelInformation 
-    * FrontWheelRadius 
-  * AvgKW 
-    * AvgKW 
-  * VehicleSpeed 
-  * Odometer 
-  * Transmission 
-    * ShiftPosition 
-  * ExteriorBrightness 
-  * NightMode 
- 
-To Lanuch the Dashboard app touch the button that looks like  ​ 
- 
-You will then see this screen: ​ 
- 
-This App is mostly passive and show information to the driver. At the bottom are two buttons to turn on and off rear displays. Otherwise this is mainly a status screen. ​ When your done with this app touch the large back arrow in the bottom left corner to return to the Home Screen. 
- 
-Features on the screen include: 
- 
-  - Remaining Battery Level and Mileage Estimate 
-  - Location and Weather Conditions 
-  - Pressure Level for Front Left Tire 
-  - Pressure Level for Front Left Tire  
-  - Child Lock Activation Status 
-  - Pressure Level for Front Left Tire 
-  - Pressure Level for Front Left Tire  
-  - Average Energy Consumption 
-  - Toggle on/off Rear Display for both Left and Right Sides. 
-  - Engine Status and MPH (when in motion) 
- 
-NOTE: Feature 9 is touch activated 
- 
- 
-===== Technical Details ​ ===== 
- 
- 
-The sections below are taken from directions for what is known as the September Release of Tizen 3.0 IVI.  The current Tizen release is dated 2014.01.14, and may require some adjustment. 
- 
- 
-==== Installation Prerequisites ​ ==== 
- 
- 
-The following installation directions take the base Tizen image and install needed supporting software 
- 
- 
-==== Instructions for debugging WRT Apps on Tizen IVI (installation,​ removal, and deployment) ​ ==== 
- 
- 
-Tizen IVI WRT applications are built into widget ('​.wgt'​) files for deployment (a format based on the W3C widget specification,​ see http://​www.w3.org/​TR/​widgets/​ for more information). Once you have built or received the widget files for one or more applications that you wish to deploy and run, the next step is to copy them onto the target device. Common options for this would be tools like scp/sftp (in a Linux/Unix environment),​ FileZilla (Windows and Mac) or Cyberduck (Mac). 
- 
-Once the .wgt files have been transferred to the target machine, they may be installed, launched and uninstalled. 
- 
-To get a list of currently installed applications,​ use the following command from a terminal (or remote shell/ssh session) on the target hardware (log in as root with the password tizen): 
- 
-root:~> wrt-launcher -l 
- 
-This will produce output similar to the following: 
- 
-| **No** ​ | **Name **    | **Version** ​ | **GUID** ​                              | **Package ID**  | **App ID**              | 
-| 1       | saythis ​     | 1.0.0        | %%http://​yourdomain/​sayThis%% ​         | lYjFlj49Q4 ​     | lYjFlj49Q4.saythis ​     | 
-| 2       | Settings ​    | 1.0.0        | %%http://​yourdomain/​Settings%% ​        | ODBQpKvkS1 ​     | ODBQpKvkS1.Settings ​    | 
-| 3       | MediaPlayer ​ | 1.0.0        | %%http://​yourdomain/​MediaPlayer%% ​     | t8j6HTRpuz ​     | t8j6HTRpuz.MediaPlayer ​ | 
-| 4       | Store        | 8.2.4401 ​    | http://​com.intel.tizen/​store</​nowiki> ​ | intelPoc13 ​     | intelPoc13.Store ​       | 
-| 5       | Phone        | 8.2.4399 ​    | http://​com.intel.tizen/​phone</​nowiki> ​ | intelPoc15 ​     | intelPoc15.phone ​       | 
- 
- 
- 
- 
- 
-If the application you wish to install is not already installed, simply enter (using intelPoc16.HVAC.wgt as an example): 
- 
-  root:~> wrt-installer -i intelPoc12.Dashboard.wgt 
- 
-If successful, you should see output such as the following: 
- 
-  =========================================================== 
-     # wrt-installer # 
-     # argc [3] 
-     # argv[0] = [wrt-installer] 
-     # argv[1] = [-i] 
-     # argv[2] = [intelPoc12.Dashboard.wgt] 
-     ## wrt-installer : intelPoc12.Dashboard installation was successful. 
-     ​=========================================================== 
- 
-If unsuccessful,​ you may see errors such as '​invalid widget package',​ '​privilege level violation'​ or, if the application is already installed (and its widget file was built with a different signature than the one you wish to install), '​invalid signature'​. The first two errors are out of scope for this document. 
- 
-If you see '​invalid signature',​ and the widget file has to your knowledge been created with a valid signature, the likely cause is a conflict between the signature of the currently installed version and that of the new version. Though both signatures may be valid, the system treats the upgrade of an existing package with a different signature as a security violation. To work around this issue, simply uninstall the application and subsequently install the new version: 
- 
-  root:~> wrt-installer -un intelPoc12.Dashboard <-- note: use the App ID when  
-  un-installing and the full widget filename when installing 
- 
-If the uninstall is successful, you should see output like the following: 
- 
-  =========================================================== 
-     # wrt-installer # 
-     # argc [3] 
-     # argv[0] = [wrt-installer] 
-     # argv[1] = [-un] 
-     # argv[2] = [intelPoc12.Dashboard] 
-     ​=========================================================== 
-     ## wrt-installer : intelPoc12.Dashboard uninstallation was successful. 
- 
-Refer to installation instructions above for the subsequent installation steps. 
- 
-In order to launch and run an installed application,​ issue the following command with the application'​s App ID as an argument: 
- 
-  root:~> wrt-launcher -s intelPoc12.Dashboard 
- 
-You should see the application start and run on the target device. 
- 
-To launch the application in debug mode, add the '​-d'​ flag: 
- 
-  root:~> wrt-launcher -d -s intelPoc12.Dashboard 
- 
-This will produce output like the following: 
- 
-  root:​~/​wgt>​ wrt-launcher -d -s intelPoc12.Dashboard 
-     port: 36070 
-     ​result:​ launched 
- 
-The port number referenced is a random high port which allows one to connect to the target device with a web browser using a URL of the form: 
- 
-  http://&​lt;​ip address or name of target device>:<​port #> 
- 
-**For example:** 
- 
-  http://​192.168.1.223:​36070 
- 
-Once connected, you should see a single link in the upper right of the resulting web page, e.g.: 
- 
-  file:///​opt/​usr/​apps/​intelPoc16/​res/​wgt/​index.html 
- 
-Clicking that link will launch Webkit Web Inspector, a set of web development tools that should look familiar to users of Firefox Firebug or Chrome Dev Tools. Click the '​Console'​ icon in the toolbar to go to the Javascript console. Press ctrl-R, or type: 
- 
-  window.location.reload();​ 
- 
-...to reload the application in order to display the startup/​initialization functions associated with the app (since the app has already started by the time the debug interface is available). 
- 
-To exit a running application,​ issue the following command with the application'​s App ID as an argument: 
- 
-  root:~> wrt-launcher -k intelPoc12.Dashboard 
- 
- 
-===== Known Bugs  ===== 
- 
- 
-  * Dashboard signals simulator plugin (randommizer) 
-  * Dashboard - Average consumption level is not changed when randomizer is active 
-  * When trying to switch between applications they hide and cannot be brought back into foreground 
- 
- 
-===== Release History ===== 
- 
- 
- 
-==== Features ​ ==== 
- 
- 
-  * Remaining Battery Level and Mileage Estimate 
-  * Location and Weather Conditions 
-  * Pressure Level for Front Left Tire 
-  * Pressure Level for Front Left Tire  
-  * Child Lock Activation Status 
-  * Pressure Level for Front Left Tire 
-  * Pressure Level for Front Left Tire  
-  * Average Energy Consumption 
-  * Features that are (currently) touch applicable: 
-    * Toggle on/off Rear Display for both Left and Right Sides. 
- 
- 
-==== Bug Fixes  ==== 
- 
- 
-  * INTIVIPOCII-22 Add day/night indicator to dashboard 
-  * INTIVIPOCII-20 Create build script to deploy and package applications from original Intel PoC (HomeScreen,​ Music player, Phone application,​ Store application,​ Settings, Dashboard, Google Navigation and Intel Navigation) 
-  * INTIVIPOCII-64 Create common AMB plugin for Dashboard and HomeScreen 
-  * INTIVIPOCII-335 Child lock status not changed when randomizer is active 
-  * INTIVIPOCII-345 Battery level indicator (bottom left) does not change values when randomizer is switched on 
-  * INTIVIPOCII-364 Randomizer and Ventilation circles can be clicked and highlighted but second click to unset them does nothing 
-    * They are not used anymore so clicking them should probably be disabled. 
-  * INTIVIPOCII-165 Day/Night icon not set properly 
-  - Open Dashboard ​ 
-  - Set theme via webSocket_AMB_test to Day and check that icon is displaying Sun  
-  - Close application and return to HomeScreen ​ 
-  - Change theme to Night  
-  - Open Dashboard ​ 
- ​Expected:​ Icon displaying Moon 
- ​Actual:​ Icon displaying Sun 
- 
-  * INTIVIPOCII-224 Gear does not change when randomizer is switched on 
-  * INTIVIPOCII-223 Randomizer does not change wheels position 
-  * INTIVIPOCII-225 Weather icon doesn'​t change when randomizer is on 
-  * INTIVIPOCII-20 Verify Dashboard and HomeScreen AMB properties with steering wheel 
-  * INTIVIPOCII-325 Randomizer does not trigger changes of Child Lock, Front and Rear Light and Velocity 
- 
- 
-==== AMB Related Bug Fixes  ==== 
- 
- 
-  * INTIVIPOCII-64 Change IviPoC_ properties to existing AMB properties 
-    * Example: IviPoC_Speed ==> Vehicle Speed 
-  * INTIVIPOCII-20 Switch day (blue) and night (green) theme based on AMB signal from Automotive Web API 
-  * INTIVIPOCII-22 Rework car indicators to listen to AMB signals (Java script/​HTML5) 
-  * INTIVIPOCII-35 Add stop script functionality to AMB Simulator 
-  * INTIVIPOCII-371 With steering wheel plugin loaded exterior brightness is not changed 
-  * INTIVIPOCII-30 Refactor template file to use amb pluginimpl base class, create signal classes 
-  * INTIVIPOCII-35 Add amb console output 
-  * INTIVIPOCII-35 Add documentation comments to AMB simulator 
-  * INTIVIPOCII-35 Rework UI for signal generator in AMBSimulator 
-    * Change zones input grid and allow adding all zones for all signals and change text inputs visuals into theme inputs 
-  * INTIVIPOCII-35 Create randomize demo script for AMBSimulator 
-  * Randomizer does not work 
-  * INTIVIPOCII-169 Create AMB cans implugin 
-  * Generate mapping table for all AMB properties ​ 
-    * Receives CAN frames from CANGen Plugin and translates them into AMB properties and update them in AMB 
-  * Fit AMB simulator UI to overall theme 
-  * Create AMB cangenplugin 
-    * AMB sink plugin similar to websocketsink. Based on websocket requests will generate CAN frames for CANSimPlugin 
-  * INTIVIPOCII-169 Generate mapping table for AMB properties 
-  * INTIVIPOCII-30 Refactor template file to use AmbPluginImpl as base class 
-  * INTIVIPOCII-310 Property library view is not refreshed after return from Search view 
-  * INTIVIPOCII-30 Provide optional toggle to anonymize AMB property names 
  
dashboard.1412124195.txt.gz · Last modified: 2014/10/01 00:43 by FGraham