ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

UWSim: Simulating RADAR using Multibeam Sensor

asked 2015-06-12 07:35:10 -0600

Jägermeister gravatar image

I would like to simulate a radar sensor in UWSim environment. I know that it is somehow possible using the multibeam sensor facility, but I would like to get some more ideas about how this could be achieved. Basically I want to get the distances of obstacles from the boat, and I want to do this with a radar mentality. Send rays and get the distances.

<multibeamSensor>
      <name>multibeam</name>
      <relativeTo>part0</relativeTo>
      <position>
        <x> -1.5 </x>
        <y> 0 </y>
        <z> 0 </z>
      </position>  
      <orientation>
        <r>0</r>
        <p>1.57</p>
        <y>0 </y>
      </orientation>
      <initAngle>-60</initAngle>
      <finalAngle>60</finalAngle>
      <angleIncr>0.1</angleIncr>
      <range>50</range>
</multibeamSensor>

How should I use the multibeam sensor facility in order to achieve this? Is there a way to visualize the rays, so that I can verify that I am not doing something odd?

Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2015-06-15 10:24:34 -0600

Javier Perez gravatar image

Hi,

Multibeam sensor provides the distance of obstacles from the sensor. You can visualize the rays using the visible tag "<visible>1</visible>" just after relativeTo tag. Unfortunately this feature is not in the deb packages yet (next version), so you need to use UWSim from source. You should see something like this (right image is a zoom):

multibeam debug

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-06-12 07:32:52 -0600

Seen: 955 times

Last updated: Jun 15 '15