aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi/navigation/mapviewer
AgeCommit message (Collapse)AuthorFilesLines
2018-12-20Rework mapviewer and mapviewer-demoScott Murray1-6/+6
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-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>
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-10-09mapview: It should be run user service instead of systemHarunobu Kurokawa1-2/+3
Change-Id: I65dd87561b80765ae2bbff5fc7f903ffe27394a8 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2017-01-24Add switch on/off script for cluster demoynakamura2-5/+25
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>
2016-12-27Add recipe for mapviewerToshi Umemura1-0/+25
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>