mmwave icon indicating copy to clipboard operation
mmwave copied to clipboard

Realtime demo

Open andraspalffy opened this issue 2 years ago • 9 comments

Dear @azinke,

thank you for this repository, much needed. Did you by any chance have a look at the real time options? Seems like a hassle to start even on windows:

https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/882929/awr2243-the-appimage-form-sdk3-7-and-sdk3-8-can-not-running-in-cascade-radar-with-awr2243/3344366#3344366

Would be really nice to have the board working with ROS for example, even if it is just the point cloud.

andraspalffy avatar May 08 '23 14:05 andraspalffy

Hi @andraspalffy,

Thank you very much! I'm not sure if the default app running on the DSP board supports real-time streaming. My current understanding is that one needs to write its own firmware to be able to stream point clouds directly.

I haven't looked into this yet but would definitely be interested in it; because it would then be possible to test the MMW-CAS board in various use real-time cases

azinke avatar May 09 '23 05:05 azinke

To be honest even point cloud streaming would be a nice start - it is a bit shame that such a big company does not have such a basic demo ready to run :\

andraspalffy avatar May 09 '23 10:05 andraspalffy

Hi @andraspalffy,

recently I ask in the TI forum if it is possible to somehow get life data from the board. The answer was not uplifting. I guess the Network interface is to slow to process that amount of data and the DSP board is to underpowered to do real-time processing. There the referred me to a Retina device from "Smart Radar System", which has it's own downsides (no raw ADC data, no beamforming, ...). (https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/1179807/mmwcas-dsp-evm-and-mmwcas-rf-evm-live-data-processing)

@azinke May I use the opportunity to ask you 2 Question regarding the DSP board?

  1. Do you know if there is a way to install or even (cross-)compile software for the board? And how?
  2. Do you know who the time synchronization between the DSP board and other sensors can be achieved with reasonable precision?

BR Christian

chuber1986 avatar May 11 '23 11:05 chuber1986

@chuber1986 Thanks a lot! What do you mean by no beamforming?

andraspalffy avatar May 11 '23 14:05 andraspalffy

Hi @chuber1986 ,

  1. I think the following SDKs are a good starting point. I haven't tried myself yet but I'll definitely be giving it a try. My current expectation is that it would be possible to write a radar signal processing pipeline directly on the DSP board. And eventually real-time processing
    • https://www.ti.com/tool/PROCESSOR-SDK-TDAX
    • https://www.ti.com/tool/MMWAVE-SDK

As you pointed out, there would be little to no support from TI for writing firmware. So, I think one needs to navigate through the codes and libraries on its own. Which could take some time

  1. Very good question about the synchronization with other sensors. I found it difficult with the software trigger, at least with mmwave as it is now (always configure + record) to achieve good timing. However,

    • One option would be to use the software trigger but with the possibility to have the record option separate
      • mmwave -d <capture-directory> --record
      • And then trigger all the sensors together from a single script (or program)
      • They would be some delay but would already be better than what we have now
    • The second option, probably the best, would be to use a hardware trigger for the master chip as well
      • This would probably also require writing a custom firmware (in order to configure one of the available GPIO pins to serve as a trigger)
      • https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/878236/tidep-01012-cascade-imaging-radar-sync-log-with-camera

azinke avatar May 11 '23 20:05 azinke

It is not possible to operate the Smart Radar System devices in an Tx beamforming mode as you can do with the TI board.

chuber1986 avatar May 12 '23 07:05 chuber1986

Thanks. I guess it depends on the usecase, for me real time point cloud data would be already a win, RAD data would be tremendous success, synced data would be heaven :)

For syncing PTP would be the best.

andraspalffy avatar May 12 '23 07:05 andraspalffy

Hi @azinke ,

thanks for your response! Thanks for the links, these already help a lot.

To what I've read so far the HW trigger discussion refers to the interface between RF and DSP board and not an separate GPIO pin in the board, so it's not possible to use it without discarding the DSP. I also think that PTP would be the best option and I hope I can get it to run on the TI board.

I was just hoping someone has an idea how they did it for the ColoRadar dataset, where they obviously hat to synchronize multiple sensors.

chuber1986 avatar May 12 '23 08:05 chuber1986

Hi @azinke , thanks for sharing your incredible work!

I am also interested in conducting a real-time demonstration using the mmWcas-RF-EVM and mmWcas-DSP-EVM. I found a real-time radar demo using the XWR1843 EVM and DCA1000 on GitHub (https://github.com/AndyYu0010/real-time-radar?tab=readme-ov-file) by any chance, which could provide valuable insights. This resource may help us understand how to implement a similar demonstration with our EVMs.

Could you give any advice on whether it's possible to use this code for a real-time demo with the mmwcas as well? Thank you again for sharing such valuable work.

jpark3263 avatar Jan 24 '25 21:01 jpark3263