Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How can I activate/deactivate sensors in Gazebo?

Is it possible, from ROS, to send a message to Gazebo to turn on/off a sensor by name?

Peeking at the source code, I see the sensors themselves have a setActive(bool) function. Is there an existing way to access this via messages, or would I need to write my own SensorPlugin?