Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should correct the line 883? #9

Open
thebox-ujt opened this issue Aug 20, 2021 · 0 comments
Open

Should correct the line 883? #9

thebox-ujt opened this issue Aug 20, 2021 · 0 comments

Comments

@thebox-ujt
Copy link

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 image_transport::Publisher pub =
// it_.advertise("/dvs_mapping/depthmap", 1); 
it_.advertise("dvs_mapping/depthmap", 1);
  

...
}

Thanks for your advance,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant