StackExchange community!

I need the guidance what to use for the generation sensor data in Matlab. My purpose is to optimize the exploration process of unknown environment using the multi-robot system. For that, I need to simulate the sonar sensor signals. The question is how to simulate them in Matlab? I found sensorsig module in Phased Array System Toolbox and the link to use specialized ROS messages. Maybe, do you know some other solutions? The requirements to sensors are a) to know the frontier points b) to detect obstacles. The noise can be ignored.


closed as primarily opinion-based by Chuck Jun 11 at 18:56

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.

  • $\begingroup$ You need to simulate the sonar sensor signals, but what exactly do you mean by that? How "low" are you looking to go in the simulation? Do you want simulated transducer output? $\endgroup$ – Chuck Mar 6 '18 at 18:26
  • $\begingroup$ I would like to build a map in my matlab simulation. No needs to simulate the sound waves and clarify the speed of sound in the environment. Only to store the visible sensor regions through its motion. It means it's not important the sensor type.. Thank you for ur question. It helped me to determine what I should do :)) $\endgroup$ – Albina Kamalova Mar 8 '18 at 2:24
  • $\begingroup$ I'm going to close this question as an open-ended design question. If you don't need actual transducer output then really you're just looking for something that is generating a map given a particular location and sensor orientation. The most simplified version of this is ray casting. You can do this in Matlab with something like the Moller-Trumbore algorithm to check for intersections with a triangle and then a world that's built in CAD, etc. and exported as an STL object. $\endgroup$ – Chuck Jun 11 at 18:55
  • $\begingroup$ That's just one way to do it, though - a lot of this depends on your project, your current formats, how detailed you want to get with your simulation, etc. This really is a design project and questions like this are best asked in Robotics Chat. If you continue with the project and have a more specific question (debugging, troubleshooting, algorithm implementation, etc.) please come back and ask those questions here. $\endgroup$ – Chuck Jun 11 at 18:56