@@ -186,7 +186,7 @@ class NotImplementedException(Exception):
186
186
subclass of :class:`tf2_ros.buffer_interface.BufferInterface`.
187
187
"""
188
188
def __init__ (self ):
189
- self .errstr = 'CanTransform or LookupTransform not implemented'
189
+ self .errstr = 'CanTransform or LookupTransform is not implemented'
190
190
191
191
192
192
class TransformRegistration ():
@@ -200,7 +200,7 @@ def add(self, key, callback):
200
200
201
201
def get (self , key ):
202
202
if not key in TransformRegistration .__type_map :
203
- raise TypeException ('Type %s if not loaded or supported' % str (key ))
203
+ raise TypeException ('Type %s is not loaded or supported' % str (key ))
204
204
else :
205
205
return TransformRegistration .__type_map [key ]
206
206
@@ -220,19 +220,19 @@ def add_convert(self, key, callback):
220
220
221
221
def get_from_msg (self , key ):
222
222
if not key in ConvertRegistration .__from_msg_map :
223
- raise TypeException ('Type %s if not loaded or supported' % str (key ))
223
+ raise TypeException ('Type %s is not loaded or supported' % str (key ))
224
224
else :
225
225
return ConvertRegistration .__from_msg_map [key ]
226
226
227
227
def get_to_msg (self , key ):
228
228
if not key in ConvertRegistration .__to_msg_map :
229
- raise TypeException ('Type %s if not loaded or supported' % str (key ))
229
+ raise TypeException ('Type %s is not loaded or supported' % str (key ))
230
230
else :
231
231
return ConvertRegistration .__to_msg_map [key ]
232
232
233
233
def get_convert (self , key ):
234
234
if not key in ConvertRegistration .__convert_map :
235
- raise TypeException ("Type %s if not loaded or supported" % str (key ))
235
+ raise TypeException ("Type %s is not loaded or supported" % str (key ))
236
236
else :
237
237
return ConvertRegistration .__convert_map [key ]
238
238
0 commit comments