Hello,
When doing a catkin build of dvs_renderer I get the following error saying that undistort is not a member of opencv. I installed all the dependencies in the README.md.
Errors << dvs_renderer:make /home/sameera/catkin_ws/logs/dvs_renderer/build.make.000.log
/home/username/catkin_ws/src/rpg_dvs_ros/dvs_renderer/src/renderer.cpp: In member function ‘void dvs_renderer::Renderer::eventsCallback(const ConstPtr&)’:
/home/username/catkin_ws/src/rpg_dvs_ros/dvs_renderer/src/renderer.cpp:193:11: error: ‘undistort’ is not a member of ‘cv’
cv::undistort(cv_image.image, cv_image2.image, camera_matrix_, dist_coeffs_);
Can you please specify the dependencies for openCV and what I am missing?
I had the same problem. In my case it was enough to include opencv's calib3d header in renderer.h. So put #include <opencv2/calib3d.hpp> in renderer.h and see if it works.
Hello, When doing a catkin build of
dvs_renderer
I get the following error saying that undistort is not a member of opencv. I installed all the dependencies in the README.md.Can you please specify the dependencies for openCV and what I am missing?