This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/J6EVM5777: CCS/J6EVM5777: J6EVM5777: How to change Robust Rear-View Camera screen position and resolution.

Part Number: J6EVM5777
Other Parts Discussed in Thread: TVP5158

Tool/software: TI-RTOS

Hi,

Using RVC on dsp1/ipu2 firmwares

target use case :tda2xx_evm_robust_rvc.

I can't change screen position using :

-#define VID2_POSX        (600)
#define VID2_POSY        (100)
-#define VID3_POSX        (600)
#define VID3_POSY        (0)

+#define VID2_POSX        (0)
#define VID2_POSY        (100)
+#define VID3_POSX        (0)
#define VID3_POSY        (0)

DSS Config Error Detected; automatic will be applied after %d count

Please, any other modification (ipu, uboot,dtb,kernel) needed to adjust rvc screen ?

Thanks

  • Hi Chokri,

    which version of VisionSDK you use? In VisionSDK 3.06. I see the default VID2 and VID3 values are different than yours:

    #define VID2_POSX (280)
    #define VID2_POSY (45)
    #define VID3_POSX (280)
    #define VID3_POSY (10)

    Also, you can check this Application Note and see if you can find some directions:
    www.ti.com/.../spracb6.pdf

    Regards,
    Yordan
  • Thank you very much Yordan.

    It works fine now by changing autoCorrectFlag param.

    I'm using SDK_VISION_03_02_00_00.

    An other question in the same topic, Please do you know how to paint guideliness for parking assistance ?Figure 5. Display Sharing Block Diagram on www.ti.com/.../spracb6.pdf

    Is it an other use case or the same for RVC ?

    Regards,
    Chokri
  • Hi Chokri,

    I am not sure about the figure in the document, I think the current rvc usecase do not draw assistant lines. For some directions for drawing parking guideline you can check this post:
    e2e.ti.com/.../1926953

    Or you can check how Draw2D_xxx API is used in various usecases.

    Regards,
    Yordan
  • Thank you !

    For e2e.ti.com/.../1926953 I not have permission to view this item.

    I will check Draw2D_xxx API.

    Regards,
    Chokri
  • Hi Chokri,

    it is an old post, here is it's contents:

    For Robust RVC RLS SDK, we use 2 video pipelines (VID3 for camera display and VID2 for notification by displaying text).
    We don't really have an exact example code to do steering guideline because some of the camera TVP5158 has the steering guideline already build in.
    Is the steering guideline going to be a same image all the time? If it is then I think maybe they can use the vision sdk example on enabling the Jeep Overlay. Replacing the Jeep image with the steering guideline BMP image.
    You can search on vision_sdk examples on "enableJeepOverlay".

    Basically in Robust RVC usecase "vip_single_rvc_cam_view_crc - chains_vipSingleRvcCamCrc_Display.c - function: chains_vipSingleRvcCamCrc_Display_SetAppPrms(), you will need to create and set a new parameter in GrpxScrLink_CreateParams structure similar to "enableJeepOverlay".
    And in \vision_sdk\examples\tda2xx\Src\Modules\grpxSrc\grpxSrcLink_tsk.c - function GrpxSrcLink_initAndDrawStaticBmp() needs to be able to draw that steering guideline BMP. As example looks on GrpxSrcLink_drawSurroundViewEdgeDetectLayout() where it draws the static Jeep "DRAW2D_BMP_IDX_JEEP_IMAGE_TRUESCALE".


    Regards,
    Yordan
  • Hi Yordan,

    Thank you for your support,

    Now, I'm able to draw lines with Grpx DISPLAY_LINK_INST_DSS_VID2  and Video disp DISPLAY_LINK_INST_DSS_VID3.

    Could you please help me how to make Grpx transparent on Video disp (like steeting guidline) ?

    I try to use the same display_id but it doesn't work.

    Regards,

    Chokri

  • Hi Chokri,

    can you try to change globalAlpha to 0 for DISPLAY_LINK_INST_DSS_VID2 (also you may need to change Z order)

    Regards,
    Yordan
  • Hello Yordan,

    Thank you, It works fine only if I switch Grpx on VID3 and Display on VID2.

         pUcObj->Display_VideoPrm.rtParams.tarHeight = CAPTURE_DISPLAY_HEIGHT;
    -    pUcObj->Display_VideoPrm.displayId     = DISPLAY_LINK_INST_DSS_VID3;
    +    pUcObj->Display_VideoPrm.displayId     = DISPLAY_LINK_INST_DSS_VID2;
         pUcObj->Display_GrpxPrm.rtParams.tarWidth  = CAPTURE_DISPLAY_WIDTH;
         pUcObj->Display_GrpxPrm.rtParams.tarHeight = CAPTURE_DISPLAY_HEIGHT;
         pUcObj->Display_GrpxPrm.rtParams.posX      = VID2_POSX;
         pUcObj->Display_GrpxPrm.rtParams.posY      = VID2_POSY;
    -    pUcObj->Display_GrpxPrm.displayId          = DISPLAY_LINK_INST_DSS_VID2;
    +    pUcObj->Display_GrpxPrm.displayId          = DISPLAY_LINK_INST_DSS_VID3;

     

    Do you know if is possible to make it dynamic (move lines at runtime ) ?

    Regards,

    Chokri

  • Hi Chokri,

    as the original issue was resolved, can you close this thread and open a new one for the new question (I will forward it to the right experts, I am not able to help with it myself).
    It is useful to have separate threads for the different issues for the purpose of searching.

    Regards,
    Yordan
  • Ok, Thank You Yordan.