Tutorials/sensors/add sensor


 * 1) SDF Definition ###

> **File:** src/sdf/SensorName.sdf

> > Create this file, and add in and SDF description of your sensor. See the SDF section for more info.

> **File:** src/sdf/sensor.sdf > > Add your `SensorName.sdf` file as an ` `.



> **File:** src/sdf/CMakeLists.txt > > Add your new `SensorName.sdf` file to the `sdf` list.


 * 1) CMakeLists ###

> **File:** src/sensors/CMakeLists.txt > > Add your `.cc` and `.hh` files to the `sources` and `headers` lists.

> **File:** src/sensors/SensorFactory.hh > > Add two lines to this file in the appropriate location (should be self explanatory).
 * 1) SensorFactory ###

void RegisterSensorClassName;

RegisterSensorClassname;


 * 1) SensorTypes ###

> **File:** src/sensors/SensorTypes.hh > > Add three lines to this file in the appropriate location (should be self explanatory).

class SensorClassName;

typedef boost::shared_ptr SensorClassNamePtr;

typedef std::vector SensorClassname_V;