Control cluster demo platform UI using kuksa

Fixed

Description

I was trying to control the instrument cluster ui similar to how we can control the engine speed in dashboard in IVI by invoking dbcfeeder.py script and using vcan i will send the required value. In IVI it is working fine, so i was checking how we can control the warnings, speedometer reading.

Are there any kuksa-signals mapped for instrument cluster; Does the following signals can be used?

Vehicle.Cabin.SteeringWheel.Switches.CruiseEnable, Vehicle.Cabin.SteeringWheel.Switches.LaneDepartureWarning

When I flashed the image i couldnt find dbcfeeder.py script nor any kuksa-dbc-feeder dependencies. I was checking is there any way to control IC UI using kuksa ?

I am using octopus branch running in imx8mq-evk board.

Environment

None

Attachments

3

Activity

Show:

Walt Miner 
November 28, 2023 at 12:32 PM

Closed for QQ M1

Scott Murray 
August 16, 2023 at 2:08 PM

Are you still having an issue?

Scott Murray 
June 28, 2023 at 2:32 PM

Does your image contain the kuksa-val-agl package?  That is what adds the overlay with our custom steering wheel definitions (see meta-agl-demo/recipes-connectivity/kuksa-val/kuksa-val-agl.bb).

Shilpa John 
June 27, 2023 at 4:48 AM

I tried executing those two signals in kuksa_viss_client ie

setValue Vehicle.Cabin.SteeringWheel.Switches.LaneDepartureWarning True

But nothing was being reflected in UI

I was getting an error telling 'I cannot find signal in my db or path not found'

Scott Murray 
June 26, 2023 at 2:16 PM

These are the signals used in the agl-cluster-demo-dashboard Qt app:

  • Vehicle.Cabin.Infotainment.HMI.DistanceUnit

  • Vehicle.Cabin.SteeringWheel.Switches.CruiseCancel

  • Vehicle.Cabin.SteeringWheel.Switches.CruiseEnable

  • Vehicle.Cabin.SteeringWheel.Switches.CruiseResume

  • Vehicle.Cabin.SteeringWheel.Switches.CruiseSet

  • Vehicle.Cabin.SteeringWheel.Switches.Info

  • Vehicle.Cabin.SteeringWheel.Switches.LaneDepartureWarning

  • Vehicle.Powertrain.CombustionEngine.Speed

  • Vehicle.Speed

Only the cruise control and lane departure indicators on the top panel are set up to be driven by signals.  I believe the Flutter cluster app has the turn signals and some other things wired up, but we do not really exercise those (they are set to fixed values with a Python script on boot, IIRC).

Details

Assignee

Reporter

Fix versions

Labels

Hardware Platform(s) Affected

NXP i.MX8

Affects versions

Priority

Created June 21, 2023 at 10:10 AM
Updated November 28, 2023 at 12:32 PM
Resolved October 10, 2023 at 8:15 PM

Flag notifications