tu-darmstadt-ros-pkg / hector_gazebo

hector_gazebo provides packages related to the simulation of robots using gazebo (gazebo plugins, world files etc.).
http://www.ros.org/wiki/hector_gazebo
185 stars 156 forks source link

How to add RFIDs or Wireless Transceivers as a plugin? #26

Closed libing64 closed 8 years ago

libing64 commented 8 years ago

This is the sensor list in gazebo2.2 (/usr/include/gazebo-2.2/gazebo/sensors), I want to add the rfid sensor and the wireless transceiver as a plugin to the platform, but I am not sure how to do that. Can anyone give some advice?

libing64 commented 8 years ago

I have successfully added the wireless transceiver plugin to the simulation platform, I just search all the models with the name of "transmitter" and then compute the relative pose, so the distance and angle of arrival can be used as the measurement of the wireless sensor.

nicolaerosia commented 8 years ago

Interesting! I was wondering if you could share snippets of code for this. Best Regards

libing64 commented 8 years ago

@nicolaerosia I upload the code to my github https://github.com/libing64/hector_gazebo