How to use plugins for sensors?
Hello! I want to use RFIDSensor.hh RFIDSensorPrivate.hh RFIDSensor.cc and RFIDTag. I create pkg with deps gazebo_ros, gazebo_plugins, roscpp. In directory /include moved *.hh files and in /src moved *.cc files.Source - https://bitbucket.org/osrf/gazebo/src...
CMakeLists.txt package.xml
You are not supposed to copy the source code into your own package. When you install gazebo, you already have an access to those sensors. You just attach it to your robot in the URDF or the SDF description (depending on what you use). For SDF case you can look into this tutorial http://gazebosim.org/tutorials?tut=co... it describes the contact sensor, but all the sensors are used the same way, just change the names.
Thank you!
I try add type='rfid' but when i call gz topic -l , i don`t see 'rfid' topic.