51 from cStringIO
import StringIO
53 from io
import StringIO
56 self.assertEquals(0, buff.tell())
65 from cStringIO
import StringIO
67 from io
import StringIO
69 import rospy.exceptions
73 m.serialize(StringIO())
74 self.fail(
"AnyMsg should not allow serialization")
75 except rospy.exceptions.ROSException:
78 teststr =
'foostr-%s'%time.time()
79 m.deserialize(teststr)
80 self.assertEquals(teststr, m._buff)
84 m = rospy.AnyMsg(
'foo')
85 self.fail(
"AnyMsg ctor should not allow args")
95 rospy.add_shutdown_hook
96 self.fail(
"add_shutdown_hookshould not longer be top-level API")
97 except AttributeError:
pass 109 rospy.get_published_topics
122 rospy.logdebug_throttle
123 rospy.logerr_throttle
124 rospy.logfatal_throttle
125 rospy.loginfo_throttle
126 rospy.logwarn_throttle
134 rospy.parse_rosrpc_uri
137 rospy.signal_shutdown
140 rospy.wait_for_message
141 rospy.wait_for_service
145 rospy.get_param_names
158 rospy.ROSInternalException
159 rospy.ROSSerializationException
160 rospy.ServiceException
163 rospy.SubscribeListener
166 rospy.TransportException
167 rospy.TransportTerminated
168 rospy.TransportInitError