Error with xt_modules_plot_record_playback_radar_raw_data_message_2D.py MC

Discussion in 'X4M03' started by jemin9312, Jul 26, 2019.

  1. jemin9312

    jemin9312 New Member

    Hi, i tried to playback my recording file but, it no longer works in the picture below.
    How can i solve this?
    Thanks.
     

    Attached Files:

    • 123.JPG
      123.JPG
      File size:
      50.8 KB
      Views:
      3
  2. Charlie Shao

    Charlie Shao Moderator Staff Member

    Do you have all the recording files in the same folder except meta data file?
     
  3. jemin9312

    jemin9312 New Member

    Yes, all files in same folder
     
  4. Charlie Shao

    Charlie Shao Moderator Staff Member

    Which OS are you running? Did you see the 2D plotting of radar data from a real module? I suspect that matplot has a problem.
     
  5. jemin9312

    jemin9312 New Member

    Hi, Charlie Shao
    Sorry, I solved the problem. the problem was I tried to read float data with ap_iq data.

    I have some questions.

    1)
    I can't understand the relationship of baseband_data(downconversoned) and iq_ap_data.
    the sensor gave the baseband_data(raw_data) and in X4 chip convert the baseband_data(raw_data) to iq_ap data
    is it right?

    2)
    the ap_data is used to make pulse-doppler data?

    Thank you for your help
     
  6. Charlie Shao

    Charlie Shao Moderator Staff Member

    Hi,
    It is true that they are confusing, so we provide one document to explains the communication protocol including the messages available.
    1) See section 4.1 and 4.2
    2) The 17FPS iq_data is used as input for pulse-doppler processing. ap_data is also from iq_data with simple calculation.