You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Question: Is it possible to stop advertising specific topics in any of the config files? (in particular the depth topics)
We are using the ZED for a robotics task and don't want to perform depth calculations since we don't need it and it slows down the system. As I understand it, the calculations are not performed and published as long as we don't subscribe to the depth topics. However, the problem is that we need to record a rosbag with the -a flag and with this, the rosbag subscribes to those topics and the calculations are performed anyways.
The first attempt to solve the issue was to disable the depth calculations by setting the depth mode to 0 (MODE_NONE) in the parameter config file. With this, the zed node dies as soon as the rosbag recording is started:
[ZED][Grab] WARNING: Depth or confidence map view asked but depth map not computed (MODE_NONE)
[ZED][Grab] WARNING: Depth or confidence map view asked but depth map not computed (MODE_NONE)
The last resort is to edit the source in this file on line 400 and below to disable the advertising. This is not an optimal solution, surely there must be a better way that I am missing.
Thanks
The text was updated successfully, but these errors were encountered:
Hi @JohanKJIP
this is indeed wrong behavior. When setting depth mode to NONE we should not advertise all the topics related to depth calculation.
I suggest you modify the code to disable depth advertising and to be able to perform your task quickly, meanwhile we will schedule this modification for a future release.
It's an enhancement that requires many modifications and checks, so it requires a bit of time before it will be released.
Question: Is it possible to stop advertising specific topics in any of the config files? (in particular the depth topics)
We are using the ZED for a robotics task and don't want to perform depth calculations since we don't need it and it slows down the system. As I understand it, the calculations are not performed and published as long as we don't subscribe to the depth topics. However, the problem is that we need to record a rosbag with the -a flag and with this, the rosbag subscribes to those topics and the calculations are performed anyways.
The first attempt to solve the issue was to disable the depth calculations by setting the depth mode to 0 (MODE_NONE) in the parameter config file. With this, the zed node dies as soon as the rosbag recording is started:
The last resort is to edit the source in this file on line 400 and below to disable the advertising. This is not an optimal solution, surely there must be a better way that I am missing.
Thanks
The text was updated successfully, but these errors were encountered: