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.

AWR1642BOOST: peoplecounting程式輸出問題

Part Number: AWR1642BOOST

你好: 

針對peoplecounting輸出部份的程式有以上問題,想請您協助回覆,謝謝。

想請問在DSP dss_main.c內有兩個函式分別是 MmwDemo_dssSendOutputToUART及MmwDemo_dssSendProcessOutputToMSS,這兩個函式的用意為何?輸出資料不是直接透過UART_writePolling將資料從UART做輸出嗎?我嘗試將UART_writePolling對照Userguide做資料結構的判讀好像也對應不上

另外,在Userguide上有看到 Target Object TLV的部份會有人員坐標的資訊,但請問在下圖的哪一段呢??

  • 想請問在DSP dss_main.c內有兩個函式分別是 MmwDemo_dssSendOutputToUART及MmwDemo_dssSendProcessOutputToMSS,這兩個函式的用意為何?

    MmwDemo_dssSendOutputToUART是将结果通过uart输出到PC。

    MmwDemo_dssSendProcessOutputToMSS是将点云信息输出给MSS,然后由mss上运行tracker算法获得跟踪的输出结果。

  • 你好:

      在mss的task_mbox裡有看到以下程式,看起來是在做headar、point cloud...等資訊輸出,想請問為何還需要MmwDemo_dssSendOutputToUart將結果輸出至uart呢?用意為何?

    UART_write (gMmwMssMCB.loggingUartHandle, (uint8_t *)&outputMessage, sizeof(MmwDemo_output_message_header));
                        if(gMmwMssMCB.pointCloud->header.length && gMmwMssMCB.pcEnable) {
                            /* If any points detected, send Point Cloud TLV */
                            UART_write (gMmwMssMCB.loggingUartHandle, (uint8_t *)gMmwMssMCB.pointCloud, gMmwMssMCB.pointCloud->header.length);
                        }

                        if(gMmwMssMCB.targetDescrHandle->tList[sendDescr]->header.length) {
                            /* If any targets tracked, send send target List TLV  */
                            UART_write (gMmwMssMCB.loggingUartHandle, (uint8_t *)gMmwMssMCB.targetDescrHandle->tList[sendDescr], gMmwMssMCB.targetDescrHandle->tList[sendDescr]->header.length);
                        }

                        if(gMmwMssMCB.targetDescrHandle->tIndex[sendDescr]->header.length) {
                            /* If exists, send target Index TLV  */
                            UART_write (gMmwMssMCB.loggingUartHandle, (uint8_t *)gMmwMssMCB.targetDescrHandle->tIndex[sendDescr], gMmwMssMCB.targetDescrHandle->tIndex[sendDescr]->header.length);
                        }