Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@arvindsr7 Thanks a lot! I am actually much more in search of signatures like these ones (see below). Hmm, but there are no signals on the positive velocity axis. Or what did you exactly mean by keeping the positive velocity axis? Can you explain further, please? #32

Open
lanqiudiyi opened this issue Mar 4, 2021 · 3 comments

Comments

@lanqiudiyi
Copy link

@arvindsr7 Thanks a lot! I am actually much more in search of signatures like these ones (see below). Hmm, but there are no signals on the positive velocity axis. Or what did you exactly mean by keeping the positive velocity axis? Can you explain further, please?

Unbenannt

Spectrogram-of-micro-Doppler-signal-provoked-by-walking-human-The-signal-is-modeled-by

Executing mmWave through Python and Lua
I run a command in Python that executes mmWave together with my settings (lua script) and then I am able to receive and process sensor data via Python.

import subprocess, time

subprocess.Popen(r'C:\User\src\Config_Files\Run_mmWaveStudio.cmd', 
                 cwd=r'C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\RunTime')
time.sleep(55) #Wait until mmwave is completely executed

dca = DCA1000()
adc_data = dca.read()
while True:
           ..........

Command for executing mmWave with settings through the shell:

cmd /C "mmWaveStudio.exe /lua C:\User\src\Config_Files\1443_mmwavestudio_config.lua"

Create a new text file and insert this command into it. Save it and change the extension to .cmd. Than put this file in the directory 'ti\mmwave_studio_02_00_00_02\mmWaveStudio\RunTime'. Now you can run it with python (see code above) and capture data. Remember to adjust the paths!
Hope this helps you.

Originally posted by @bayramf in #17 (comment)

@lanqiudiyi
Copy link
Author

Could please send '1443_mmwavestudio_config.lua' to me ,thanks!

@deltaRing
Copy link

deltaRing commented Mar 20, 2021

Dear lanqiudiyi, you can edit the lua of the dir script in this project. I can provide my edited lua for you.

@deltaRing
Copy link

1843_mmwavestudio_config.txt
try this. Remember to edit the name and parameters in this file. I don't think 1443 is the same as 1843.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants