I have a simulation with Gazebo-Garden and ros2-Humble to manage drones with a camera. In the camera sensor SDF part I have:

<sensor name="camera" type="camera">

This makes all camera started at the begining. I'd like to know if it is possible to set it to false in the SDF and then on user demand activate this camera.

I read to use service set_entity_state but it is not in my ros2 service list (and I wonder if it is a solution for gazebo-classic).

For info:

$ ros2 service list

I'm on Ubuntu 22.04



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.