stereolabs / zed-ros-wrapper

ROS wrapper for the ZED SDK
https://www.stereolabs.com/docs/ros/
MIT License
447 stars 391 forks source link

[Question] stop_object_detection service #614

Closed jorgemiar closed 4 years ago

jorgemiar commented 4 years ago

The start_object_detection service allows you to start object detection processing.

Is there a similar way of stopping object detection?

The docs here say:

start_object_detection: Starts the Object Detection processing. See Object Detection Note: returns error if not using a ZED 2 camera

stop_3d_mapping: Stops the Object Detection processing (works even with automatic start from configuration file).

Is this a typo and should it be stop_object_detection?

Will this allow me to start/stop the object detection processing multiple times (so that the node doesn't have to constantly be processing data/using a lot of resources when you don't want to detect objects) ?

Myzhar commented 4 years ago

Hi @jorgemia it is a typo indeed, thank you for reporting it. To stop the object detection processing you can call the stop_object_detection service. If you have any other doubt or you want to know all the available services for the zed2 namespace you can easily get a list using the command: $ rosservice list zed2