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

How to 1)configure multiple transmitters 2) how to apply different roughness maps to the different materials ? #5

Open
jialuwang123321 opened this issue Jul 7, 2021 · 2 comments

Comments

@jialuwang123321
Copy link

jialuwang123321 commented Jul 7, 2021

Dear Christian Schöffmann,
Thank you very much for your wonderful work! May I ask you two questions?
Q1. How to configure multiple transmitters
I want to set up three transmitting antennas, and let them be arranged in a triangle, with two times the wavelength at the bottom and 0.5 times the wavelength at the height (see Figure 1). May I consult you on how to configure Vira?
image

Q2. How to apply different roughness maps to the different materials

May I have a suggestion on 1) how to apply different roughness maps to the different materials and also 2) how to adjust the level of reflectivity which yield different reflection due to the implemented Phong model?

My scene settings:
One wall:
use the predefined material 'woodTexture' from the materials folder, choose the standard shade option and choose transparent in the rendering mode tab
Detected object:
use the predefined material 'fabricTexture' from the materials folder, chose the shader to be: RadarSimulation/SimpleSurfaceMetallicAndRoughnessSaparate

What I tried was (Figure 2) from the material of the wall (e.g. WoodTexture): in ''Main Maps'', adjusted values of ''Metallic'' or ''Smoothness''.

But I found two problems:

  1. No matter whether there are obstacles or not
  2. No matter what material the obstacle is (wood, plastic ...)
    The final data generated by radar is always the same.

image

I am really sorry for bothering you again. Your answer will be of great help to me!Thank you in advance!
Best
Jialu

@chstetco
Copy link
Owner

Hi Jialu,

Sorry for my late response.

Regarding Q1:
If you wan to simulate multiple transmitter antennas, you would need to place multiple cameras in the world space.
Currently we assume that we emit radio waves from the camera location, as this is also obtained by on-chip FMCW radars.
As an alternative, you can emulate the behavior of multiple transmitter antennas with the radiation pattern mask. Since the radiated energy in space will be different for the three antennas, you can sequentially run the simulation to obtain the receiver responds.

Regarding Q2:
Thanks for notification. I now did some small modification to the code. You can now directly attach the roughness texture to the radar sensor controller, in order to adjust the reflection of transparent and metallic objects. Please be aware that we are still currently evaluating the different reflection phenomena of non-conductive objects, so this is still experimental.

Best regards,
Christian

@chstetco
Copy link
Owner

I will further work on this to make it more generic for different transparent materials. Stay tuned!

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