summaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi/navigation
AgeCommit message (Collapse)AuthorFilesLines
2019-01-02navigation: Add 4A supportScott Murray2-1/+363
To properly support 4A in the navigation app, add a patch to pull in the 4A binding, add some code to open / close the "navigation" role, and use a simple gstreamer pipeline to play the generated files. The existing playback script templates have had their playback commands removed, but are retained for driving the voice file generation. Note that a patch is being used for now, as gpsnavi is managed outside of AGL on github. Additionally, that repository has no flounder branch, and its HEAD does not work on flounder at present, complicating things. Change-Id: Ie5c63c2ae22237a80dc034b98d7279d3c203273f Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 6f1a4e94f9b978639e858fbe8ce98012a1781ee5)
2018-12-20poiapp-api-key: Add client IDScott Murray1-1/+5
Somehow in my original testing the POI app was working even though the client ID was not being added to /etc/poikey as the first line. Add a POIAPP_CLIENT_ID variable to go with POIAPP_API_KEY, and write them both to the file. As well, mark the package as platform independent, as it contains just a text configuration file. Change-Id: Iab5d6aa44007c61457697882d9a2ece12f984acf Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-12-20Rework mapviewer and mapviewer-demoScott Murray9-73/+70
Rework the mapviewer and mapviewer-demo recipes to get mapviewer working out of the box for the cluster demo: - Remove the old on/off scripts, as the intent is that the cluster demo work out of the box on an image built with the agl-cluster-demo-support feature. - The separate weston systemd unit has been replaced with a drop-in over-ride file. - A new systemd unit is installed to configure the network connection to the cluster board. This is required now because the weston unit no longer runs as root. - A systemd drop-in is added to have afm-api-windowmanager@.service depend on weston-ready. This is a bit of a workaround ATM, as the windowmanager service was consistently failing due to Weston taking longer to start with the gst-record feature enabled. It is likely that making this more generic should be investigated. - The mapviewer systemd unit has been updated. Its Install target is now afm-user-session@.target; in my testing this seemed the least invasive solution, as there are some dependency loop issues that currently prevent adding it to multi-user.target. As well, its dependencies have been updated from weston and HomeScreen to afm-api-windowmanager@, which is not entirely ideal, but is about the best that can be done ATM given that mapviewer interacts with the other windowmanager users via Weston, but is not an app framework application. Change-Id: I8826e670ae156edd461cc657acefc86e7836a916 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-12-20Add agl-demo-preload featureScott Murray4-0/+59
Add a feature to preload the maps for the navigation app and the API key for the POI app. The intent is to allow building an image that works "out of the box" without manually installing things. The selection of UK or Japan maps can be controlled by setting the variable DEMO_MAPS_LOCALE to either "uk" (default) or "jp" in local.conf or site.conf. The POI API key should be set in one of those locations with the variable POIAPP_API_KEY (default value is an empty string). Change-Id: I25537935ddac740090f2121d0a83305c746185b0 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-12-12update to lastest versionwang_zhiqiang1-1/+1
change navigation to lastest version, then it will avoid the issue that can't transfer to navigation screen once more. Change-Id: Ic40f9cf9bd1640d033e1620e1e07c711b28562d4 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-09-07Change libhomescreen-2017 to libhomescreenflounder_5.99.6flounder/5.99.65.99.6zheng_wenlong3-3/+3
Change libhomescreen-2017 to libhomescreen recipes, Detele libhomescreen-2017 recipes. Change-Id: Ib87676fb34a593fedb72ca635a49742578c40efc Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-09-01Delete unnecessary environment variable of mapviewerNaoto Yamaguchi1-1/+0
mapviewer had unnecessary environment variable settings in the service file. This patch removes unnecessary environment variables. Bug-AGL: SPEC-552 Change-Id: Ia33b226fef1cd355d27d019d5d196468ebf597f3 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2018-08-29Change POI application window sizeflounder_5.99.5flounder/5.99.55.99.5Naoto Yamaguchi1-1/+1
The application window size was changed by commit 6e8ca74a266a224d2754a5f2ed0e228fec2e5c96 at window manager. The background image of the POI application is less than new size. This patch fix POI application window size. Change-Id: Ica91390e7364ac9fcf8521866a4b0dde90992758 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2018-08-29Fix : guidance voice was not outputNaoto Yamaguchi1-1/+1
Current navigation application can not output guidance voice. This problem was caused by changing the application framework. This patch is for adapting to changes in the application framework. Change-Id: Idaee7a287716d4d7bfb5b3adab36065036e64293 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2018-08-24Revert "Update navigation and poiapp"Tadao Tanikawa2-2/+2
This reverts commit a07554f5394a9315b2d2de1f82d5a952c9ce063e. Bug-AGL: SPEC-1685 Change-Id: Ib8b98a6ab9e5cf72f1d2ba46d43b85f264e77c3b Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-08-17Update navigation and poiappzheng_wenlong2-2/+2
Make some change for navigation and poiapp, Update SRCREV for using appid between homescreen-service and apps. BUG-AGL: SPEC-1645 Change-Id: Id36b3fd4695e67df15d6dc6bbcb2d3f0d0b39a72 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-08-03Add missing dependency of qtlocation to navigation-demoJan-Simon Möller1-0/+2
We were missing a dependency at runtime. Change-Id: Ief12a5f3b62131d186731af3727138f6bdc3dc0a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-05-26Bug Fix: POI app is not workingNaoto Yamaguchi1-1/+1
The authentication method of Yelp Web API used by POI App has been changed. This patch is to change the POI App corresponding to the new authentication method. This fix makes POI App work again. Bug-AGL: SPEC-1442 Change-Id: I1e95c71837d157ed407f11e52ccbe9a1437380b2 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2018-03-07mapview-demo: Switch LIC_FILES_CHKSUM syntaxTom Rini1-2/+1
It is currently a warning to use ${COREBASE}/LICENSE and instead we need to use ${COMMON_LICENSE_DIR}/MIT. Switch to this syntax. Change-Id: Id0fc4ff0709d8f36f2d609aa43da1b2304ae04d0 Signed-off-by: Tom Rini <trini@konsulko.com>
2017-12-31POI App does not visible after startupNaoto Yamaguchi1-1/+1
This problem is caused by not calling activateSurface after creating the IVI-surface. This patch adds activateSurface call to POI-App. Change-Id: I5d0b086d07867cb035862343d8b3854e29935781 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2017-12-27Fix: Cannot running POI AppNaoto Yamaguchi1-2/+3
In POI App, AGL HMI Framework correspondence was incomplete. This patch allows POI App to run on eel. Bug-AGL: SPEC-1224 Change-Id: I6367e8f22bc2f56b0deaf3909fd127b6fd28c048 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2017-12-27Enable Navigation API in navigation appNaoto Yamaguchi1-2/+2
This patch will enable the API for POI App. Current Navigation has disabled AGL Navigation API. Bug-AGL: SPEC-1224 Change-Id: I8d50d41721835a94adafdef04773a36826f59d21 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2017-12-19Initial commit for POI App using BinderNaoto Yamaguchi1-4/+4
We will support Binder of POI App. With this correspondence, correspondence of AGL Navigation API will be started. Change-Id: I9ccc6536336c28c4bdca053332c9d32ac47520b9 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2017-12-18Add D-Bus configuration of navigation serviceNaoto Yamaguchi2-1/+20
Add the D-Bus configuration provided by the navigation service. Currently navigation app provides API, but this is transient measure. In the future this configuration will be moved to the navigation service. Change-Id: I2eeb13cf3e792c00474cc7999078ec6ae6c5a137 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2017-12-14Fix BUG: meter map go to sea after navigation launchNaoto Yamaguchi1-1/+6
Fix a bug in the map display of the meter for the CES demonstration. This patch will change the SRCREV to fixed version. Change-Id: I4e054a6a11e5af281c01027c251e78ff6935c2f1 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2017-12-13Add a dependency on agl-service-navigation to the navigation recipeNaoto Yamaguchi1-0/+3
To support the AGL Navigation API, modify agl-service-navigation to be installed with navigation at the same time. This commit is part of the correspondence of AGL Navigation API initial support. Change-Id: I7836a43e8ea302f28c00cdc3dbc7b95098924793 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2017-12-08navigation-demo: add navigation demo application recipeMatt Ranostay1-0/+31
Add alternative navigation package recipe that is based on the qtlocation examples Bug-AGL: SPEC-1157 Change-Id: I1ea85f74bc5a40a4d637dc583570df931f1f2810 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-12-08navigation: change current application to a RPROVIDES to allow multiple optionsMatt Ranostay1-0/+2
Change the navigation recipe to an RPROVIDES to allow various other options for navigation. This change also updates the respective packagegroup. Bug-AGL: SPEC-1157 Change-Id: I98a90510fca18f55b0db2ccac0e5aa00899730ac Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-12-08mapviewer: Change layer id to 11001 to avoid conflict.Harunobu Kurokawa2-4/+4
While the hmi-framework doesn't support multi-display, mapviewer is located in screen 1 in order to transfer to Cluster ECU. Then a layer which mapviewr uses is out of control by windowmanager. As layer id 1000 is conflict, so we decide new layer id as 11001 for Screen 1. Change-Id: I52b6071e91adb69cfa8ab65c6ea6604b3fef8be1 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2017-11-22Use ROOT_HOME variable, not /home/rootJosé Bollo1-0/+1
This enforces the use of the dedicated variable ROOT_HOME of yocto instead of /home/root. Note that the use of root's home made in the patched demos is bad and have to be changed. Change-Id: Ib0095a62d75800a0427be27955d1b2216b14554f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-09mapview: It should be run user service instead of systemHarunobu Kurokawa2-4/+6
Change-Id: I65dd87561b80765ae2bbff5fc7f903ffe27394a8 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2017-08-08navigation: fixing navigation packaging methodsNaoto Yamaguchi4-56/+2
With this fix, the navigation build method will be compatible with the SDK. This patch contains the workaround of the problem discussed in SPEC-384. This patch contains fix of problems that lose dependency. Change-Id: Ibf02040f78a2f925a430a5844f735a00cd375d08 Bug-AGL: SPEC-384 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2017-08-04Hotfix : Correct navigation dependencyNaoto Yamaguchi2-1/+5
Currently, the dependency of navigation is broken. libdbusC++ is not installed. We will implement provisional response for DD. Change-Id: If29fffdd2279ccbe852632b3495cf9a951e46874 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2017-07-27Temporarily fix the navigation app until SPEC-384 and SPEC-785 are fixedJan-Simon Möller1-0/+8
The navigation app is not fully converted to a wgt as it expects to ship a platform library instead of containing all parts in the wgt. For now (due to the short time until the dab release) mitigate the issue by allowing the platform install. Change-Id: Ic9430c56cf459be2c466e186320bc97cdc8d628d Bug-AGL: SPEC-384 SPEC-785 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-16Makefile compatible with aglwgt_package task.Romain Forlot2-0/+21
This patch allows building and install widget file using tasks aglwgt_package and aglwgt_deploy. Bug-AGL: SPEC-503 Change-Id: I6cee956a3e7f137cd48987b5f9c2bfb1511993f8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-04-05Correspondence of AGL-wgt for poi appNaoto Yamaguchi2-26/+4
POI app makefile supported the 'make package' target. This patch will change to the corresponding git revision. Bug-AGL: SPEC-384 Change-Id: I3fda01580e80ae60db7386b19cef31e5d71038cf Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2017-03-22Removed wl-shell-emulator from AGLRonan Le Martret1-1/+1
Since CES2017, AGL doesn't use 'layer-add-surfaces' command. wl-shell-emultor.so is only required by 'layer-add-surfaces'. So we can remove wl-shell-emultor from AGL. Bug-AGL: SPEC-341 Change-Id: Icfaf91de624ed89e9640a9daf1a92b5de8912863 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-17Fixed the problem of the map screen corruptionNaoto Yamaguchi1-1/+1
The R-CarM3 environment has a problem of the map screen corruption. This commit is intended to refer to the fixed revision. Bug-AGL: SPEC-481 Change-Id: I452d45c1d3dcfc4e87cb4bad049cddeadb6e4997 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2017-02-15Fixed demo recipes to auto-install wgt app at first bootRonan Le Martret2-7/+13
* link to gerrit review 8473 (meta-agl-extra) Change-Id: I8d8c03654d4eee14bb28449d29afd4c75fac6385 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-01-24Add switch on/off script for cluster demoynakamura8-5/+136
v2.0: (Tadao Tanikawa) Completely rebuilt. The mapviewer and mapvier-demo are installed into porter's image only because they need AGL CES2017 Demo mock-up. To enable mapviewer-demo, execute switch_on_mapviewer-demo.sh at /usr/AGL/mapviewer-demo then reboot porter. CAUTION: After enabling mapviewer-demo, without cluster mock up which connected directly to porter board, weston on the porter board would always crash immediately after booting. If you fall into that situation, disable mapviewer-demo following instructions below. To disable mapviewer-demo, execute switch_off_mapviewer-demo.sh at /usr/AGL/mapviewer-demo then reboot porter. v1.0: (Yusuke Nakamura) This addes script to enable/disable CES2017 cluster demo to /usr/AGL/cluster-demo. Once switch_on_cluster-demo.sh is executed, this enables a service for cluster demo and sets configurations for the dmeo. Change-Id: Ie10f35ff4168095c3b3c6572579a2c4799c04578 Signed-off-by: ynakamura <ynakamura@jp.adit-jv.com> Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-01-24Navigation update for AMM 2017 demosNaoto Yamaguchi5-37/+74
This patch includes the following correspondence. Partial fix : Fix SPEC-364 SDK build issue. For AMM demo : Enable japanese guide voice. Adding JP map download script. Change-Id: I4c58a6e4630460ff2f30abb73519aaaab0e2b7b5 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2017-01-23Change audio output attribute of navigationNaoto Yamaguchi2-2/+2
AudoManager determines the audio attribute with the parameter "media.role". Since Navigation was using "media.name", change it to use "media.role". Change-Id: I0af2ff068eeff5eab4e6bf28797f5aeab386c880 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2017-01-18navigation: fix missing dep on zip-nativeStephane Desneux2-2/+2
Change-Id: I768d6e1786241a76ffe15194316e58bb5a86707f Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-01-02Add a script to download mapdataNaoto Yamaguchi2-2/+65
This patch is fix of SPEC-392. Add a script to download the UK map data to the target /var/mapdata. Change-Id: If97c723e342c01f252f1a625504ef2a02ce2fb12 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2016-12-29POI App: Adjust display for AGL Distro 3.0Naoto Yamaguchi1-6/+9
This patch solves the problem that the design of POI-App does not match the application surface size of AGL Distro 3.0. This change solves the problem of display collapse. Change-Id: I7ffadab73dfb6918aa3cb5f97f382311fbbf9bf5 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp> (cherry picked from commit 385d4e75e158bb1b5b0e0456ec4b25b242172431)
2016-12-27Unify locations of applications and demoJan-Simon Möller2-8/+6
This changeset cleans-up the locations used for apps and the ces2017-demo. - Apps go into /usr/AGL/apps - Scripts are available in /usr/AGL/ces2017-demo (symlink) As the ces2017-demo package will go away, its folder will also become obsolete or only host startup-scripts. Change-Id: I2b2ea8dc6de531f737305a80573ad56cb08ba009 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-12-27Add recipe for mapviewerToshi Umemura4-1/+67
This patch addes recipe for mapviewer. mapviewer is a child application which communicates with navigation app on homescreen. In CES2017 demo this app is launched at virtual screen next to homescreen. (invisible on homescreen) Mapviewer dislay on virtual screen is transported to meter cluster side via ethernet. That will be shown at center of meter cluster with 384x368. window manager tries to change the position to be sent to a cluster after systemd execute LayerManagerControl set surface. In order to avoid this sleep is added as a tentative solution. Change-Id: I903ef19b2550b01e1c90e8960d1edda01b46297d Signed-off-by: ynakamura <ynakamura@jp.adit-jv.com> Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2016-12-27Merge the installation script to ces2017-demoNaoto Yamaguchi2-9/+1
I divided the script of Navi, but I will do the merge. With this change, all installations are done with one script. This patch solves the problem that navigation can not be started. Change-Id: I523b85cbee19531345c2e3fdaffc9c8c5f6b9c1b Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2016-12-22Add POI applicationNaoto Yamaguchi3-0/+49
This patch adds a POI application to the AGL Distro. This patch includes provisional bug avoidance. Change-Id: Ib32b896428ac4a64d9a2c815cdeb6ab8c40d6c59 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2016-12-22Added external public API to demo navigationNaoto Yamaguchi1-2/+2
This change exposes the API required by POI-App. This patch is includeing the size issue fix of the navigation app. Change-Id: Ied19229e3dcfb5ea4a33d1d512e31e8bfbb57a8e Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2016-12-19Add navigation recipe for home screen adaptatedNaoto Yamaguchi4-0/+65
Navigation will be able to work with AGLDistro 3.0 by this patch. This recipe refers to the staging version repository. Change-Id: I4b8bb5f020a316194f049f06a6391d9457540de6 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
2016-12-01Changed the recipe name and directry name from Navigation to navigationNaoto Yamaguchi1-0/+16
In Yocto 2.1, if the name of the recipe contains capital letters, it lose the setting of RDEPENDS This change is necessary to successfully install related components Change-Id: Ib94ed024b7ad72a3be9f6a26ec089b8d420e3afa Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>