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.

DCA1000EVM: simultanouseloy extracting processed data from the AWR1843boost and raw data from the DCA100EVM with ROS

Part Number: DCA1000EVM
Other Parts Discussed in Thread: AWR1843BOOST, , MMWAVE-SDK

Hi,

I'm working on collecting a dataset for pedestrian detection with the AWR1843Boost and DCA100EVM boards on ROS and I wanted to ask if there's already a driver implemented on ROS for extracting raw radar data from the DCA1000 board and if there's a way to access the data simultaneously from AWR1843Boost and the DCA100EVM.

Thank you for your support 

best regards,

Amine

     

  • Hi Amine,

    We currently do not have any implementation with ROS. We only provide the mmWave Studio support for the data capture using the DCA1000EVM.

    Thanks,

    Raghu

  • Hi,

    Can I just develop a driver that receives the UDP packets or is it much more complicated? 

    Another question was if there's a way to access simultaneously the processed data from AWR1843Boost and the raw data from the DCA100EVM?  

    Best regards,

    Amine

  • Hi Amine,

    We are not aware of the complexity involved in the driver development of the UDP sockets . 

    You can access the processed data over UART and the RAW ADC data over the LVDS interface using the DCA1000EVM.

    The "mmW" demo application in the MMWAVE-SDK provides the refernce for sending out the processed data over the UART. 

    Then we have the "cbuff" driver example that provides the reference for sending the data over the LVDS interface. You will need to integrate both these application for your purpose.

    We do not have any application that can do both together at the moment. You will need to develop with the above references provided .

    Thanks,

    Raghu

  • Hi Raghu,

    From the docs of the 'mmw' demo  'C:\ti\mmwave_sdk_03_02_00_04\packages\ti\demo\xwr18xx\mmw\docs\doxygen\html\index.html', it's mentioned that the lvds implementation is mostly present in mmw_lvds_stream.* . and from the source code in mss_main.c, the lvds stream is already initialized through 'MmwDemo_LVDSStreamInit'.  But it's not mentioned what are the further steps necessary to stream data over lvds.

    should I add other functions like ' MmwDemo_LVDSStreamHwConfig' to configure the streaming of HW data over LVDS or does it work?

    Thanks,

    Amine 

        

  • Hi,

    I tried to establish a connection with the DCA100EVM and receive the UDP packet sent like shown in the code below but there was no packet sent from the board even though the 'data_tran_prg' is blinking.

    so I wanted to ask if there's some message exchange protocol between the DCA1000 board and the mmwave studio. If so, can you share some information about how the data is exchanged between the mmwave studio and the dca1000?


    I would appreciate any help you can provide!

    Best regards,
    Amine

      

    import socket
    import sys
    
    # Create a TCP/IP socket
    sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
    
    # Bind the socket to the port
    server_address = ('192.168.33.30', 4096)
    print >>sys.stderr, 'starting up on %s port %s' % server_address
    sock.bind(server_address)
    
    while True:
        print >>sys.stderr, '\nwaiting to receive message'
        data, address = sock.recvfrom(4096)
        
        print >>sys.stderr, 'received %s bytes from %s' % (len(data), address)
        print >>sys.stderr, data





  • Hi Amine,

    I am sorry I am not of much help here as we do not have any ROS implementation.

    BR,

    Raghu