Home | Tutorials | Wiki | Issues
Ask Your Question
1

What is the difference between a Plugin and a Sensor

asked 2013-05-04 02:04:28 -0500

peshala gravatar image

Hello all,

In http://gazebosim.org/wiki/Tutorials/1.4/usingtheros_plugins it says that "The imu sensor and the imu plugin are different because the ros plugin use a model plugin and not a sensor plugin."

What exactly is different between a plugin and a sensor? Can't we create camera plugin or camera sensor with the same behavior?

Thanks

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-05-07 10:31:41 -0500

nkoenig gravatar image

A sensor processes some aspect of simulation and outputs formatted data. For example, a camera sensor renders the scene and outputs an image.

There are many different kinds of plugins including:

1. Model: Controls a model
2. World: Controls the world 
3. System: Control load and unloading of the whole system
4. Sensor: Can be used to modify sensor behavior. This type of plugin can be used to add noise to a sensor stream, or make sensor output match a particular sensor model (such as a Hokuyo Laser)
edit flag offensive delete link more
1

answered 2013-05-04 09:46:32 -0500

Bharadwaj Ramesh gravatar image

A plugin is a piece of code that is used to problematically change things in a simulation. U have different kinds of plugins as said here : http://gazebosim.org/wiki/Tutorials/1...

A sensor is a device that can retrieve information from the simulated environment. U can write a sensor plugin in which you can do things with the sensor like retrive data from the sensor.

What I think they mean in the like u shared is that the sensor is not controller using a sensor plugin but rather a model plugin.

-Feel free to ask more

edit flag offensive delete link more

Comments

I think you meant programmatically not problematically, lol.

PML gravatar imagePML ( 2015-06-18 11:30:18 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-05-04 02:04:28 -0500

Seen: 444 times

Last updated: May 07 '13