Matlab Radar Simulation in Gazebo

14 次查看(过去 30 天)
Hey everyone,
I am trying to simulate radar in gazebo using ROS and Matlab for a school assignment. I know how to connect to the Gazebo envirnment with ROS, but I am unsure how to utilize the given code (https://www.mathworks.com/help/phased/examples/radar-signal-simulation-and-processing-for-automated-driving.html#d120e10430) in gazebo by using publishers and subscribers. Could someone help explain the process of using the above code to accuratly get radar data in gazebo and then process it in Matlab?
Thanks.

回答(1 个)

Tohru Kikawada
Tohru Kikawada 2019-5-5
编辑:Tohru Kikawada 2019-5-5
If you want to integrate a radar model on Gazebo side, you'll need to write your own SDF file for Gazebo: http://gazebosim.org/tutorials?tut=ros_gzplugins
  2 个评论
Maksim
Maksim 2019-5-28
Have you tried using this plugin yourself? He's not working.
Tohru Kikawada
Tohru Kikawada 2020-3-27
Unfortunately, I haven't tried the plugin. Regarding to utilize the example code, you can replace the following tgtPos with the poses /gazebo/model_states acquired from Gazebo through ROS.
tgtPoses = targetPoses(egoCar);
tgtPos = reshape([tgtPoses.Position],3,[]);

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Network Connection and Exploration 的更多信息

产品


版本

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by