SEA-ME-Team4 / DES_PDC-System

Implementation of Park Distance Control System for the PiRacer
0 stars 0 forks source link

Test whole system works well #35

Open MC00614 opened 11 months ago

MC00614 commented 11 months ago
Ho-mmd commented 11 months ago

@MC00614

Operate camera success. the thing is Our camera module is broken, i test our image in sujong's -> it works well

MC00614 commented 11 months ago

Goood Tested with application?

Ho-mmd commented 11 months ago

@MC00614

Display image is broken, Do i need to set qml backend software? or you already fixed it in code?

KakaoTalk_20231122_161816272

MC00614 commented 11 months ago

@Ho-mmd Did you set brcm?

MC00614 commented 11 months ago

QT_WAYLAND_CLIENT_BUFFER_INTEGRATION=brcm

Ho-mmd commented 11 months ago

@MC00614

It's same Good thing is ambient light is working.... with broken image...?

MC00614 commented 11 months ago

@Ho-mmd ??????

MC00614 commented 11 months ago

I will check then

MC00614 commented 11 months ago

To Solve

  1. Opengl in wayland for raspberrypi (application)

    • export QT_WAYLAND_CLIENT_BUFFER_INTEGRATION=brcm
    • export QT_QUICK_BACKEND=software
    • export LIBGL_ALWAYS_SOFTWARE=1 => system-ui에서만 color-effect가 적용 된다. a. Qt.lighter 사용해보기 b. Intent 다 빼기
  2. Sound Effect

  3. Intent

Ho-mmd commented 10 months ago

@MC00614

https://stackoverflow.com/questions/62124690/qtwayland-client-distorted-on-raspberry-pi-4

Trying Above solution -> Make a recipe now

Screenshot from 2023-12-15 13-54-20

Ho-mmd commented 10 months ago

@MC00614

It's not working

New sol : If headunit platform is linuxfb not eglfs, it works

MC00614 commented 10 months ago

void CompositorLauncher::setupEnvironment() { // Make clients run on Wayland if (m_hardware == BroadcomHardware) { qputenv("QT_QPA_PLATFORM", QByteArray("wayland-brcm")); qputenv("QT_WAYLAND_HARDWARE_INTEGRATION", QByteArray("brcm-egl")); qputenv("QT_WAYLAND_CLIENT_BUFFER_INTEGRATION", QByteArray("brcm-egl")); } else { qputenv("QT_QPA_PLATFORM", QByteArray("wayland")); } qputenv("GDK_BACKEND", QByteArray("wayland"));

qunsetenv("WAYLAND_DISPLAY");

}

MC00614 commented 10 months ago

https://cpp.hotexamples.com/examples/-/-/qputenv/cpp-qputenv-function-examples.html

Ho-mmd commented 10 months ago

@MC00614

Completed

MC00614 commented 10 months ago

@Ho-mmd Tested??

Ho-mmd commented 10 months ago

@MC00614

Headunit can't operate without instrument cluster. So.... I couldn't test it properly because the images were overlapped, but I can see that it's touched and doesn't break the image

If you can, please modify dependency for test

MC00614 commented 10 months ago

@Ho-mmd How about using minimal for test

Ho-mmd commented 10 months ago

@MC00614

What do you mean? Minimal test?

MC00614 commented 10 months ago

@Ho-mmd -platform minimal

Ho-mmd commented 10 months ago

@MC00614

-platform minimal also needs instrument cluster

MC00614 commented 10 months ago

@Ho-mmd Run Instrument cluster with minimal

Ho-mmd commented 10 months ago

@MC00614

Super delay + Need to resize

Ambient : After color picker showing, it goes home screen wherever i clicked screen Youtube : No search box Gear : Good