Package eddiebot_node :: Package msg :: Module _Turtle :: Class Turtle
[frames] | no frames]

Class Turtle

source code

           object --+    
                    |    
genpy.message.Message --+
                        |
                       Turtle

Instance Methods
 
__init__(self, *args, **kwds)
Constructor.
source code
 
serialize(self, buff)
serialize message into buffer :param buff: buffer, ``StringIO``
source code
 
deserialize(self, str)
unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str``
source code
 
serialize_numpy(self, buff, numpy)
serialize message with numpy array types into buffer :param buff: buffer, ``StringIO`` :param numpy: numpy python module
source code
 
deserialize_numpy(self, str, numpy)
unpack serialized message in str into this message instance using numpy for array types :param str: byte array of serialized message, ``str`` :param numpy: numpy python module
source code

Inherited from genpy.message.Message: __eq__, __getstate__, __repr__, __setstate__, __str__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties
  angular
  linear

Inherited from object: __class__

Method Details

__init__(self, *args, **kwds)
(Constructor)

source code 

Constructor. Any message fields that are implicitly/explicitly
set to None will be assigned a default value. The recommend
use is keyword arguments as this is more robust to future message
changes.  You cannot mix in-order arguments and keyword arguments.

The available fields are:
   linear,angular

:param args: complete set of field values, in .msg order
:param kwds: use keyword arguments corresponding to message field names
to set specific fields.

Overrides: object.__init__

serialize(self, buff)

source code 

serialize message into buffer :param buff: buffer, ``StringIO``

Overrides: genpy.message.Message.serialize

deserialize(self, str)

source code 

unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str``

Overrides: genpy.message.Message.deserialize