In line 883 of the above program, the name of the Image Topic in the function it.advertise() is "/dvs_mapping/depthmap", and the first character has a backslash. Topic name is "/dvs_mapping/depthmap.
Therefore I think this should be corrected to "dvs_mapping/depthmap", what do you think?
The following is a modified version for your reference:
void DepthFromDefocusNode::publishDepthmap(const cv::Mat& depth,
const cv::Mat& mask) {
printf("publishDepthmap\n");
static imagetransport::Publisher pub =
**// it.advertise("/dvsmapping/depthmap", 1);
it.advertise("dvs_mapping/depthmap", 1);**
Hello. I found one part of the published program that I think is an error, so I thought I would share the information.
~src/rpg_dvs_evo_open/dvs_mapping/src/depth_defocus_mode.cpp
In line 883 of the above program, the name of the Image Topic in the function it.advertise() is "/dvs_mapping/depthmap", and the first character has a backslash. Topic name is "/dvs_mapping/depthmap. Therefore I think this should be corrected to "dvs_mapping/depthmap", what do you think?
The following is a modified version for your reference: void DepthFromDefocusNode::publishDepthmap(const cv::Mat& depth, const cv::Mat& mask) { printf("publishDepthmap\n"); static imagetransport::Publisher pub = **// it.advertise("/dvsmapping/depthmap", 1); it.advertise("dvs_mapping/depthmap", 1);**
... }
Thanks for your advance,