Skip to main content
  1. Blog Posts/

Week 6 Progress Report

·2 mins
GSoC 2023 AGL The Linux Foundation GSoC '23 WPR
Suchinton Chakravarty
Author
Suchinton Chakravarty
Welcome to my Blog Post Website!

# Topics To Be Covered In This Post
#

  • What I did this week
    • Specified Steering wheel Controls
    • Improved Settings page and error handling
    • Default settings
    • Improved Navigation Page
    • Updated README and Troubleshooting steps
  • What I plan to do next

# Steering Wheel Controls
#

This week I added the various signals for the Steering Wheel Controls, namely

  • Volume Up: “Vehicle.Cabin.SteeringWheel.Switches.VolumeUp”
  • Volume Down: “Vehicle.Cabin.SteeringWheel.Switches.VolumeDown”
  • Volume Mute: “Vehicle.Cabin.SteeringWheel.Switches.VolumeMute”
  • Next Track: “Vehicle.Cabin.SteeringWheel.Switches.Next”
  • Previous Track: “Vehicle.Cabin.SteeringWheel.Switches.Previous”
  • Info: “Vehicle.Cabin.SteeringWheel.Switches.Info”
  • Cruise Enable: “Vehicle.Cabin.SteeringWheel.Switches.CruiseEnable”
  • Voice: “Vehicle.Cabin.SteeringWheel.Switches.Voice”
  • Phone Call: “Vehicle.Cabin.SteeringWheel.Switches.PhoneCall”
  • Phone Hangup: “Vehicle.Cabin.SteeringWheel.Switches.PhoneHangup”
  • Horn: “Vehicle.Cabin.SteeringWheel.Switches.Horn”

The layout of these controls will be further improved by making use of custom icons and buttons to mimic the layout of a steering wheel more accurately.

# Settings Page and Error handling
#

I also revised the styling of the QLineEdit and QPushbuttons for the settings page to make it look cleaner and make the text more legible. This also includes placeholder text for the input fields.

# Navigation Page
#

The navigation page received some major changes this week including,

  • Drop down suggestion for address being entered
  • Addition of current location as From Address
  • UI

# README & Troubleshooting
#

The README file was updated to provide steps to install and troubleshoot the AGL Demo Control Panel.

One minor problem I encountered while using QtWebEngine during testing on systems other than Ubuntu 22.04 LTS, namely Fedora 38 and openSUSE was that the navigation map would not render at all or stay black even after the address was selected.

This behavior can be rectified by following the steps by following the steps given below:

  1. Uninstall the requirements
pip uninstall -r requirements.txt
  1. Uninstall PyQtWebEngine-Qt5
pip uninstall PyQtWebEngine-Qt5
  1. Remove sandboxing for QtWebEngine
export QTWEBENGINE_CHROMIUM_FLAGS="--no-sandbox"

# What I plan to do next
#

  • Tweak the visuals to better reflect the states of focus/ check and click events
  • Add custom icons/ images to replicate the steering wheel layout
  • Test the AGL Demo Control Panel alongside AGL images on the target machine, Raspberry Pi 4 B

# References:
#

Related

Week 5 Progress Report
·2 mins
GSoC 2023 AGL The Linux Foundation GSoC '23 WPR
Week 3 Progress Report
·2 mins
GSoC 2023 AGL The Linux Foundation GSoC '23 WPR
Week 2 Progress Report
·4 mins
GSoC 2023 AGL The Linux Foundation GSoC '23 WPR