Skip to content

Conversation

@wkentaro
Copy link
Member

In addition to #21

@wkentaro
Copy link
Member Author

@k-okada Why not release this first? Then we can revert f32add1 to break the API.

@k-okada
Copy link
Contributor

k-okada commented Apr 10, 2017

can we display "DEPRECATED message" when someone using old API?

@wkentaro
Copy link
Member Author

wkentaro commented Apr 10, 2017

I think we need to create another nodelet class to do that, because resolving name is the task of loader, and the loader is in nodelet package for
rosrun nodelet nodelet load .. or .. standalone ..

-	modified:   ../../nodelet_plugins.xml
-	modified:   adding_images_nodelet.cpp
-	modified:   camshift_nodelet.cpp
-	modified:   color_filter_nodelet.cpp
-	modified:   contour_moments_nodelet.cpp
-	modified:   convex_hull_nodelet.cpp
-	modified:   corner_harris_nodelet.cpp
-	modified:   discrete_fourier_transform_nodelet.cpp
-	modified:   edge_detection_nodelet.cpp
-	modified:   face_detection_nodelet.cpp
-	modified:   fback_flow_nodelet.cpp
-	modified:   find_contours_nodelet.cpp
-	modified:   general_contours_nodelet.cpp
-	modified:   goodfeature_track_nodelet.cpp
-	modified:   hough_circles_nodelet.cpp
-	modified:   hough_lines_nodelet.cpp
-	modified:   lk_flow_nodelet.cpp
-	modified:   people_detect_nodelet.cpp
-	modified:   phase_corr_nodelet.cpp
-	modified:   segment_objects_nodelet.cpp
-	modified:   simple_compressed_example_nodelet.cpp
-	modified:   simple_example_nodelet.cpp
-	modified:   simple_flow_nodelet.cpp
-	modified:   smoothing_nodelet.cpp
-	modified:   threshold_nodelet.cpp
-	modified:   watershed_segmentation_nodelet.cpp
@wkentaro
Copy link
Member Author

Added DeprecationWarning:

% rosrun nodelet nodelet standalone discrete_fourier_transform/discrete_fourier_transform
type is discrete_fourier_transform/discrete_fourier_transform
[ WARN] [1492379624.373237421]: [/discrete_fourier_transform_discrete_fourier_transform] [DiscreteFourierTransformNodelet::onInit] DeprecationWarning: Nodelet discrete_fourier_transform/discrete_fourier_transform is deprecated, and renamed to opencv_apps/discrete_fourier_transform.

@wkentaro
Copy link
Member Author

@k-okada I think this is the most user friendly way to rename the nodelet. What do you think about this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants