MATLAB Answers

Matlab Radar Simulation in Gazebo

21 ビュー (過去 30 日間)
Ryan Mitchell
Ryan Mitchell 2019 年 2 月 11 日
コメント済み: Tohru Kikawada 2020 年 3 月 27 日
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 ( 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?

  0 件のコメント


回答 (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:

  2 件のコメント

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,[]);





Community Treasure Hunt

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

Start Hunting!

Translated by