# Topics To Be Covered In This Post #
- What I did this week
- First draft of the “AGL Demo Control Panel” documentation.
- Minor Adjustments to UI
- Simplified Settings Page.
- Refactoring the VSS subscription Module
- What I plan to do next
# First draft of the “AGL Demo Control Panel” documentation. #
I started writing the initial draft of the documentation for AGL Demo Control Panel
by following the steps provided in the official documentation of AGL.
cloning the docs #
git clone "ssh://suchinton2001@gerrit.automotivelinux.org:29418/AGL/documentation" && scp -p -P 29418 suchinton2001@gerrit.automotivelinux.org:hooks/commit-msg "documentation/.git/hooks/"
Building a local site #
-
Change into the directory
$ cd documentation
-
Install MkDocs and rtd-dropdown theme
$ sudo pip install -r requirements.txt
-
Serve locally (default rendered at
127.0.0.1:8000/
):$ sudo mkdocs serve
The documentation for AGL Demo Control Panel
will be found under 06 Component Documentation
after it has been reviewed and merged.
# Minor Adjustments to UI #
- Sliders for the Instrument Cluster page were made wider and spaced out to enable easier touch controls.
- QSS styling for widgets was redone to better show hower, click, and push events.
- Resolved dependency naming and path in the
res.qrc
file.
# Simplified Settings Page. #
This week I also simplified the steps to enable a connection with the server to just two buttons where the Reconnect
and Refresh
buttons have now been merged into one and the UI no longer hangs while the client connects to the server.
# Refactoring VSS subscription Module #
This week I also refactored the VSS subscription module to use the subscribe
method from the kuksa-client
and updated the control panel widgets to show values accurately whenever a change is registered.
VSS Paths the are subscribe to are:
- Vehicle Speed: “Vehicle.Speed”
- Engine RPM: “Vehicle.Powertrain.CombustionEngine.Speed”
- Fuel Level: “Vehicle.Powertrain.FuelSystem.Level”
- Coolant Temp: “Vehicle.Powertrain.CombustionEngine.ECT”
- Left Temp: “Vehicle.Cabin.HVAC.Station.Row1.Left.Temperature”
- Left Fan Speed: “Vehicle.Cabin.HVAC.Station.Row1.Left.FanSpeed”
- Right Temp: “Vehicle.Cabin.HVAC.Station.Row1.Right.Temperature”
- Right Fan Speed: “Vehicle.Cabin.HVAC.Station.Row1.Right.FanSpeed”
# What Next? #
- Complete Documentation.
- Continue pushing code to Gerrit for review.