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.
댓글 수: 0
답변 (1개)
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
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 Center 및 File Exchange에서 Network Connection and Exploration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!