for automotive leveraging webos technologies...leveraging webos technologies for automotive lokesh...

29
Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

Upload: others

Post on 01-Apr-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

Leveraging webOS Technologies for AutomotiveLokesh Kumar Goel / Steve Lemke

Page 2: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

Agenda

• LG Silicon Valley Lab (SVL) Background

• LG SVL AGL Demo at CES 2018

• webOS Open Source Edition (OSE)

• webOS Web App Runtime

• Enact Web App Framework

Page 3: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

LG Silicon Valley Lab (SVL)

Page 4: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

It all started with Palm Pilot...

• 1996-2008: Palm OS and Palm Pilot; Treo Smartphone

• 2009: Palm launched webOS & Palm Pre @ CES• 2010: HP acquired Palm and webOS platform• 2011: HP released TouchPad tablet, then stopped hw• 2012: HP open-sourced webOS as Open WebOS

LG Silicon Valley Lab Background

Page 5: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

• 2012: HP and LG ported webOS to TV (POC)

• 2013: LG acquired webOS sw and team

• 2014: LG launched webOS Smart TV Platform @ CES

• 2015: LG webOS reference platform

• 2016: Whiteboards, Fridges, and Automobiles

• 2017: Automotive Grade Linux

• 2018: LG open-sources webos OSE

LG Silicon Valley Lab Background

Page 6: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

LG Silicon Valley Lab Background

SVL investigations with AGL last year:– AGL on IVI, Cluster, and RSE: new apps and compositors– 3D driving simulator; V2V/V2C connected car cloud services– Presented multi-system demo at CES

Video:– SVL: https://www.youtube.com/watch?v=W36EA0SVEaQ– Intel: https://www.youtube.com/watch?v=NyuTIolP8YY

Page 7: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

Auto Information Gateway3D Interactive

Driving SimulatorConnected

Car Services(Cloud)

InstrumentCluster(AGL)

In-VehicleInfotainment

(AGL)

Rear SeatEntertainment

(AGL)

LG SVL AGL Demo at CES 2018

Page 8: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

• Rear Seat Entertainment on AGL– Premium streaming media support

• Instrument Cluster on AGL– Simple compositor and application– streams navigation info from IVI

• In-Vehicle Infotainment on AGL– New Wayland compositor– Custom System UI– Multi-screen and multi-surface support

LG SVL AGL Demo at CES 2018

Page 9: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

• 3D Driving Simulator– Bi-directional video streaming to/from AGL IVI– Renders backup camera view for IVI screen– Renders IVI screen real-time on dashboard display– Hundreds of NonPlayerCars as V2C clients

• Auto Information Gateway (virtual CAN bus)• Connected Car Cloud Services

– Real-time reporting of vehicle location and other info– Real-time notification of collisions and other events

LG SVL AGL Demo at CES 2018

Page 10: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

webOS Open Source Edition

Page 11: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

11/23

• Powerful and Easy-to-use Open Software Platform

• Highly Optimized Open Source Web App Framework

• Open Platform for All Industries and Participants

http://enact.js

webOS Open Source Edition(OSE) is now available at http://webosose.org

Roadmap: http://webosose.org/discover/webos-ose-roadmap/

webOS Open Source Edition (OSE)

Page 12: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

12/23

webOS OSE Components: Layered View

Page 13: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

Luna Bus

Product SpecificServices

Node.jsService

Framework

Media (A/V)

Manager

Other Native Apps

Luna Surface Manager

Web Apps

Qt/QtWayland

System AppManager

QML Apps

webOSWeb Runtime

Web AppManager

EnactFrame-work

Memory Manager

Update Manager

Download/Upload

Manager

Diagnostic Services DRM/KMS

https://github.com/webosose

webOS OSE Components: Dynamic View

Page 14: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

webOS Web App Runtime

Page 15: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

Evolution of Web App Support in webOS

Page 16: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

16/23

• Web App lifecycle (launch, close, suspend/resume)• CPU Optimization (launch time, suspend/resume,

fast task switching)• Does not require Qt/QtWebengine• Recovery Mechanism: recovers ‘no response’ apps.• Access Control: controls access to system

resources depending on the web app’s trust level.• Responding to Low Memory: provides an interface

for low memory responses.

Web App Runtime on AGL: Features

Page 17: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

Rendererprocess

content layerRendererprocess

WebAppLauncherWebAppLauncher

(Shared Browser Process)

WebAppLauncher(app-specific SMACK

permissions)libwindowmanager

libhomescreen

Rendererprocess

content layer

Blink

Binder for HVAC & other AGL services

WebAppManager WAMpluggables

webOS Web App Runtime for AGL: Process Architecture

WAM

AGL

Chromium

Page 18: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

18/23

Proof of concept buildable on GitHub:

AGL meta layer at webOS OSE github:● github.com/webosose/meta-agl-lge

Source code in AGL branches:● github.com/webosose/chromium53● github.com/webosose/wam

Web App Runtime on AGL: Source Code

Page 19: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

WAM and Enact Demo on AGL

WebAppManager runs four different html5 apps:– MemoryMatch– Annex– HVAC-Enact (Enact AGL HVAC Proof of Concept)– YouTube

Video Demo:– https://bit.ly/WAMonAGL

Page 20: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

Next Steps: System Integration

• POC code already on GitHub

• Update for Funky Flounder

• Add support for AGL services

• Test on other reference boards

• Add to [html5] profile layer

Page 21: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

Introduction

LG Silicon Valley LabJune 2018

Page 22: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

22/23

- Consistent look, feel and behavior across apps

- Consistently high performance across apps

- Ability to make improvements across apps, quickly and efficiently

- Avoidance of duplicated effort across app teams

- Consistency of architecture, practices and style across app teams– Increased ability to share code between apps– Reduced fragmentation

Why do you need a framework?

Page 23: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

Enact Components

Page 24: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

● Composable widget set● Command-line tool● Theming and skinning support● Internationalization & Localization● Accessibility● Layout● Support modules● Linting and testing architecture● Documentation and samples● Optimized scrolling and virtual list support● V8 snapshot support

Enact FeaturesSource code on GitHub:https://github.com/enactjs(Apache License)

Page 25: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

Without Enact

Page 26: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

> npm install -g @enact/cli

> enact create myApp

> cd myApp

> npm run serve

Developing with Enact

Page 27: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

Theming and Skinning

Page 28: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke

Questions?

Page 29: for Automotive Leveraging webOS Technologies...Leveraging webOS Technologies for Automotive Lokesh Kumar Goel / Steve Lemke