summaryrefslogtreecommitdiffstats
path: root/app/main.cpp
AgeCommit message (Collapse)AuthorFilesLines
2022-09-22Bind to supported version of agl-shell.Vasyl Vavrychuk1-1/+1
Rather than using the latest version of the agl-shell protocol, restrict binding to version 1 until we gain support for later versions Bug-AGL: SPEC-4567 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Change-Id: I2cccf0a3303f7aec5faab699193edeff1242efd2
2022-09-22Cluster application configurable to run on particular output.Vasyl Vavrychuk1-1/+17
Bug-AGL: SPEC-3818 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Change-Id: If10020e4a5be7d3706215c39b8828b87c78d79e3
2022-06-07Add VIS vehicle signal supportScott Murray1-0/+5
Use the new VehicleSignals API from libqtappfw to replace the previous signal-composer usage. Additionally, the default unit for the vehicle speed has been switched to kilometers with switching driven by the appropriate VSS schema value. Bug-AGL: SPEC-4409 Change-Id: I3c40ea004e1c66e9775865aaa424e24778cb0f53 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2022-03-07Update for app framework removalmarlin_12.93.0marlin/12.93.012.93.0Scott Murray1-50/+14
Changes: - Remove the autobuild scripts and config.xml used by the app framework widget build. - Update the CMake files to just build a "cluster-dashboard" binary and install it into /usr/bin by default. - Remove the code in main.cpp that handled reading the WebSocket command-line arguments and passing them to binding related code. - Removed signal-composer wrapper instantiation in main.cpp, but the related QML has been left alone now, this will need to be revisited once something else is in place for vehicle signals (e.g. perhaps a simple VISS API wrapper in libqtappfw that leverages kuksa.val). Bug-AGL: SPEC-4283 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ibf36aebb74d584f93b2e5fe9d068b18b7f2a7ce5
2020-07-06Conversion to using agl-compositorjellyfish_9.99.2jellyfish/9.99.29.99.2Marius Vlad1-64/+156
Bug-AGL: SPEC-3382 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I1d9bed80473069782f5ffd8b60669aeefdbeca67
2020-01-03Add signal-composer speed and steering wheel event supporticefish_8.99.5icefish/8.99.58.99.5Scott Murray1-1/+42
Changes include: - Pull in signal-composer support from libqtappfw - Add a configuration file that controls whether the existing canned animation behavior should be used, or events from signal-composer should drive speeds and indicators. - Add new icons provided by LF graphics team for cruise control and lane departure warning, and drive their state based on appropriate steering wheel events. - Hide/show the digital vehicle/engine speed values in the gauges based on the steering wheel info event. This is intended to work in sync with changes to tbtnavi to have it display larger speed indicators via an alternate page. Bug-AGL: SPEC-3045, SPEC-3049 Change-Id: I77249f65b80596fe7f2af9fe29b3ed86b63a8a45 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2018-12-04Initial check-inScott Murray1-0/+91
Demo instrument cluster dashboard application to display instrument cluster mock-up with speedometer, tachometer, temperature, and fuel gauges. A space is provided in the center of the dashboard for the overlay of the receiver application's remote display. Note that the gauges themselves and their animation are based on the Qt dashboard example: https://doc.qt.io/qt-5.11/qtquickextras-dashboard-example.html The associated qml source files are under the BSD license, other files are Apache 2.0. Additionally, note that the application uses the windowmanager, but not the homescreen service, as the demo instrument cluster does not use the homescreen. There is also an implicit assumption that the windowmanager configuration allows the application to claim the homescreen role and that the surface for that role will be 1920x1080 portrait mode. Change-Id: I413fa165125813757ab4712993320440ed641f32 Signed-off-by: Scott Murray <scott.murray@konsulko.com>