uzh-rpg / rpg_dvs_evo_open

Implementation of EVO (RA-L 17)
164 stars 43 forks source link

Should correct the line 883? #9

Open thebox-ujt opened 3 years ago

thebox-ujt commented 3 years ago

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,