From a83128c0277fcc6de9c36a7dd314b3e9055815dd Mon Sep 17 00:00:00 2001 From: Ken Conley Date: Sat, 23 Oct 2010 21:33:30 +0000 Subject: [PATCH] removed get_node_proxy --- core/rospy/src/rospy/__init__.py | 3 +-- core/rospy/src/rospy/client.py | 10 ---------- test/test_rospy/test/test_rospy_api.py | 1 - 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/core/rospy/src/rospy/__init__.py b/core/rospy/src/rospy/__init__.py index db45d0dd..9847ece4 100644 --- a/core/rospy/src/rospy/__init__.py +++ b/core/rospy/src/rospy/__init__.py @@ -51,7 +51,7 @@ from roslib.msg import Header from .client import spin, myargv, init_node, \ get_published_topics, \ wait_for_message, \ - get_master, get_node_proxy,\ + get_master, \ on_shutdown, \ get_param, get_param_names, set_param, delete_param, has_param, search_param,\ sleep, Rate,\ @@ -118,7 +118,6 @@ __all__ = [ 'TransportException', 'TransportTerminated', 'TransportInitError', - 'get_node_proxy', 'AnyMsg', 'Message', 'get_name', 'get_caller_id', diff --git a/core/rospy/src/rospy/client.py b/core/rospy/src/rospy/client.py index 191e0e4a..235e29c5 100644 --- a/core/rospy/src/rospy/client.py +++ b/core/rospy/src/rospy/client.py @@ -77,16 +77,6 @@ _rospy_to_logging_levels = { } -# hide rospy.impl.init implementation from users -def get_node_proxy(): - """ - Retrieve L{NodeProxy} for slave node running on this machine. - - @return: slave node API handle - @rtype: L{rospy.NodeProxy} - """ - return rospy.impl.init.get_node_proxy() - def on_shutdown(h): """ Register function to be called on shutdown. This function will be diff --git a/test/test_rospy/test/test_rospy_api.py b/test/test_rospy/test/test_rospy_api.py index 46cf14b2..982a152b 100644 --- a/test/test_rospy/test/test_rospy_api.py +++ b/test/test_rospy/test/test_rospy_api.py @@ -104,7 +104,6 @@ class TestRospyApi(unittest.TestCase): rospy.get_master rospy.get_namespace rospy.get_published_topics - rospy.get_node_proxy rospy.get_node_uri rospy.get_ros_root rospy.get_time