Package eddiebot_node :: Package msg :: Module _EddieSensorState :: Class EddieSensorState
[frames] | no frames]

Class EddieSensorState

source code

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

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__

Class Variables
  CHARGING_NOT_CHARGING = 0
  CHARGING_CHARGING_RECOVERY = 1
  CHARGING_CHARGING = 2
  CHARGING_TRICKLE_CHARGING = 3
  CHARGING_WAITING = 4
  CHARGING_CHARGING_ERROR = 5
Properties
  angle
  bumps_wheeldrops
  buttons
  capacity
  charge
  charging_state
  cliff_front_left
  cliff_front_right
  cliff_left
  cliff_right
  current
  dirt_detector_left
  dirt_detector_right
  distance
  header
  motor_overcurrents
  remote_opcode
  temperature
  virtual_wall
  voltage
  wall

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:
   header,bumps_wheeldrops,wall,cliff_left,cliff_front_left,cliff_front_right,cliff_right,virtual_wall,motor_overcurrents,dirt_detector_left,dirt_detector_right,remote_opcode,buttons,distance,angle,charging_state,voltage,current,temperature,charge,capacity

: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