Closed taichiH closed 5 years ago
Thank you for your contribution!
In this code, you inititialized value at first (https://github.com/ros-perception/opencv_apps/pull/78/files#diff-33f513cd81a102869702f7300479603bR325) . But, I think this initialization is not needed.
When we initialize dynamic reconfigure server, parameters are initialized by cfg
's default parameters.
https://github.com/ros/dynamic_reconfigure/blob/master/include/dynamic_reconfigure/server.h#L174-L193
After that, we call setCallback
function.
This function internally calls callback function (i.e reconfigureCallback
function).
https://github.com/ros/dynamic_reconfigure/blob/master/include/dynamic_reconfigure/server.h#L85
So, initialized values manually are not needed.
@taichiH This PR's test failes and the test was fixed by following PR. https://github.com/ros-perception/opencv_apps/pull/79
Please rebase this PR.
git pull --rebase origin indigo
git push -f taichiH add_lk_flow_params_trackbar
rebased @k-okada Travis passed. Please merge this.
@taichiH please rebase origin/master to check on melodic and update http://wiki.ros.org/opencv_apps for new features.
updated http://wiki.ros.org/opencv_apps#lk_flow and merged
Add track-bar to dynamically change parameters of goodFeaturesToTrack.