# Revision history [back]

Hi Kaldo, I'm also using the "libgazebo_ros_gpu_laser.so" plugin on my model, but my model is in URDF format (I would not think that it matters). I initially had problems getting my laser to work but somewhere I found an answer from someone (I don't remember who answered or where I found it).

Here is what I have in my URDF file:

<gazebo reference="base_link">
<sensor type ="gpu_ray" name="hoyuko">
<pose>0.19391 0.00126 0.28877 0 0 0</pose>
<visualize>true</visualize>
<update_rate>20</update_rate>
<ray>
<scan>
<horizontal>
<samples>720</samples>
<resolution>1</resolution>
<min_angle>-1.570796</min_angle>
<max_angle>1.570796</max_angle>
</horizontal>
</scan>
<range>
<min>0.10</min>
<max>2.5</max>
<resolution>0.01</resolution>
</range>
</ray>
<plugin name="gpu_laser" filename="libgazebo_ros_gpu_laser.so">
<topicName>/scan</topicName>

In your file try changing <plugin name="laser_plugin" filename="libgazebo_ros_gpu_laser.so" /> to <plugin name="gpu_laser" filename="libgazebo_ros_gpu_laser.so">.