Skip to content

Commit

Permalink
geodesy: remove deprecated geodesy.gen_uuid module (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-oquin committed Sep 18, 2014
1 parent 593788b commit e7d48ea
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 189 deletions.
5 changes: 1 addition & 4 deletions geodesy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ install(TARGETS geoconv

# unit tests
if (CATKIN_ENABLE_TESTING)
message("-- ${PROJECT_NAME} unit testing enabled")

catkin_add_gtest(test_wgs84 tests/test_wgs84.cpp)
target_link_libraries(test_wgs84 ${catkin_LIBRARIES})
Expand All @@ -52,8 +51,6 @@ if (CATKIN_ENABLE_TESTING)
catkin_add_nosetests(tests/test_bounding_box.py)
catkin_add_nosetests(tests/test_props.py)
catkin_add_nosetests(tests/test_utm.py)
catkin_add_nosetests(tests/test_uuid.py)
catkin_add_nosetests(tests/test_wu_point.py)
else ()
message("-- ${PROJECT_NAME} unit testing disabled")

endif (CATKIN_ENABLE_TESTING)
2 changes: 1 addition & 1 deletion geodesy/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_static_path = []

# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
Expand Down
20 changes: 18 additions & 2 deletions geodesy/geodesy.gen_uuid.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
geodesy.gen_uuid
----------------

.. automodule:: geodesy.gen_uuid
:members:
.. module:: geodesy.gen_uuid

Generate UUIDs for Geographic Information messages.

.. deprecated:: 0.2.2

*This module was removed in ROS Indigo.*

Instead, use the `unique_id`_ package, which has been stable and
available since ROS Fuerte:

* ``geodesy.gen_uuid.generate(url, id)`` becomes
``unique_id.fromURL(url+str(id))``

* ``geodesy.gen_uuid.makeUniqueID(url, id)`` becomes
``unique_id.toMsg(unique_id.fromURL(url+str(id)))``

.. _`unique_id`: http://wiki.ros.org/unique_id
1 change: 1 addition & 0 deletions geodesy/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Contents:
:glob:

geodesy.*
CHANGELOG

Indices and tables
==================
Expand Down
99 changes: 0 additions & 99 deletions geodesy/src/geodesy/gen_uuid.py

This file was deleted.

83 changes: 0 additions & 83 deletions geodesy/tests/test_uuid.py

This file was deleted.

0 comments on commit e7d48ea

Please sign in to comment.