Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to define a camera model

Hi, I am developing a robot in gazebo 1.9.5 using ROS Hydro. My .gazebo file contains this code:

<!-- camera -->
  <gazebo reference="camera_tilt_link">

    <sensor type="camera" name="camera1">
      <camera name="head">
          <!-- Noise is sampled independently per pixel on each frame.  
               That pixel's noise value is added to each of its color
               channels, which at that point lie in the range [0,1]. -->
      <plugin name="camera_controller" filename="">

I have read in ROS REP's that every camera needs a frame called optical and this camera doesn't have it. Do you know how can I change it?