Package eddiebot_node :: Package msg :: Module _EddiebotSensorState :: Class EddiebotSensorState
[frames] | no frames]

Class EddiebotSensorState

source code

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

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
  OI_MODE_OFF = 0
  OI_MODE_PASSIVE = 1
  OI_MODE_SAFE = 2
  OI_MODE_FULL = 3
  REMOTE_LEFT = 129
  REMOTE_FORWARD = 130
  REMOTE_RIGHT = 131
  REMOTE_SPOT = 132
  REMOTE_MAX = 133
  REMOTE_SMALL = 134
  REMOTE_MEDIUM = 135
  REMOTE_LARGE = 136
  REMOTE_CLEAN = 136
  REMOTE_PAUSE = 137
  REMOTE_POWER = 138
  REMOTE_ARC_LEFT = 139
  REMOTE_ARC_RIGHT = 140
  REMOTE_DRIVE_STOP = 141
  REMOTE_SEND_ALL = 142
  REMOTE_SEEK_DOCK = 143
  REMOTE_RESERVED = 240
  REMOTE_FORCE_FIELD = 242
  REMOTE_GREEN_BUOY = 244
  REMOTE_GREEN_BUOY_AND_FORCE_FIELD = 246
  REMOTE_RED_BUOY = 248
  REMOTE_RED_BUOY_AND_FORCE_FIELD = 250
  REMOTE_RED_BUOY_AND_GREEN_BUOY = 252
  REMOTE_RED_BUOY_AND_GREEN_BUOY_AND_FORCE_FIELD = 254
  REMOTE_NONE = 255
  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_sources_available
  charging_state
  cliff_front_left
  cliff_front_left_signal
  cliff_front_right
  cliff_front_right_signal
  cliff_left
  cliff_left_signal
  cliff_right
  cliff_right_signal
  current
  dirt_detector_left
  dirt_detector_right
  distance
  header
  motor_overcurrents
  number_of_stream_packets
  oi_mode
  remote_opcode
  requested_left_velocity
  requested_radius
  requested_right_velocity
  requested_velocity
  song_number
  song_playing
  temperature
  user_analog_input
  user_digital_inputs
  user_digital_outputs
  virtual_wall
  voltage
  wall
  wall_signal

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,wall_signal,cliff_left_signal,cliff_front_left_signal,cliff_front_right_signal,cliff_right_signal,user_digital_outputs,user_digital_inputs,user_analog_input,charging_sources_available,oi_mode,song_number,song_playing,number_of_stream_packets,requested_velocity,requested_radius,requested_right_velocity,requested_left_velocity

: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