hector_gazebo_thermal_camera [closed]

asked 2015-04-11 23:25:24 -0600

Gili gravatar image

Hi!

I'm trying to get hector_gazebo_thermal_camera to work in my urdf but the example in the hector page seems out of date. When using it in my urdf, I get no thermal topic. I tried to change it to this way but it didn't work either.

<gazebo reference="thermal_frame">
    <sensor type="depth" name="thermal_camera_sensor"> 
    <always_on>1</always_on>
    <visualize>true</visualize>             
    <camera>  
    <imageSize>160 120</imageSize>
    <imageFormat>R8G8B8</imageFormat>
    <hfov>90</hfov>
    <nearClip>0.01</nearClip>
    <farClip>100</farClip>
    <updateRate>10</updateRate>
    </camera>
    <plugin name="thermal_camera_controller" filename="libgazebo_ros_thermal_depth_camera.so">
      <alwaysOn>true</alwaysOn>
      <updateRate>10</updateRate>
      <imageTopicName>/thermal_camera/image_raw</imageTopicName>
      <cameraInfoTopicName>/thermal_camera/camera_info</cameraInfoTopicName>
      <frameName>thermal_optical_frame</frameName>
      <interface:camera name="thermal_camera_iface" />
    </plugin>
  </sensor>
</gazebo>

Is there anything I'm doing wrong ?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Gili
close date 2015-04-12 06:35:39.457967