irobot_create_2_1::msg::_SensorPacket::SensorPacket Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 advance
 angle
 batteryCapacity
 batteryCharge
 batteryTemperature
 bumpLeft
 bumpRight
 chargingState
 cliffFronLeft
 cliffFrontLeftSignal
 cliffFrontRight
 cliffFrontRightSignal
 cliffLeft
 cliffLeftSignal
 cliffRight
 cliffRightSignal
 current
 distance
 header
 homeBase
 infraredByte
 internalCharger
 play
 songNumber
 songPlaying
 virtualWall
 voltage
 wall
 wallSignal
 wheeldropCaster
 wheeldropLeft
 wheeldropRight

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['header','wheeldropCaster','wheeldropLeft','wheeldropRight','bumpLeft','bumpRight','wall','cliffLeft','cliffFronLeft','cliffFrontRight','cliffRight','virtualWall','infraredByte','advance','play','distance','angle','chargingState','voltage','current','batteryTemperature','batteryCharge','batteryCapacity','wallSignal','cliffLeftSignal','cliffFrontLeftSignal','cliffFrontRightSignal','cliffRightSignal','homeBase','internalCharger','songNumber','songPlaying']
string _full_text
 _has_header = True
string _md5sum = "56f92e8d70d283e7e15aa47855e73ea7"
list _slot_types = ['Header','bool','bool','bool','bool','bool','bool','bool','bool','bool','bool','bool','uint8','bool','bool','int16','int16','uint8','uint16','int16','int8','uint16','uint16','uint16','uint16','uint16','uint16','uint16','bool','bool','uint8','uint8']
string _type = "irobot_create_2_1/SensorPacket"

Detailed Description

Definition at line 7 of file _SensorPacket.py.


Member Function Documentation

def irobot_create_2_1::msg::_SensorPacket::SensorPacket::__init__ (   self,
  args,
  kwds 
)
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,wheeldropCaster,wheeldropLeft,wheeldropRight,bumpLeft,bumpRight,wall,cliffLeft,cliffFronLeft,cliffFrontRight,cliffRight,virtualWall,infraredByte,advance,play,distance,angle,chargingState,voltage,current,batteryTemperature,batteryCharge,batteryCapacity,wallSignal,cliffLeftSignal,cliffFrontLeftSignal,cliffFrontRightSignal,cliffRightSignal,homeBase,internalCharger,songNumber,songPlaying

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

Definition at line 66 of file _SensorPacket.py.

def irobot_create_2_1::msg::_SensorPacket::SensorPacket::_get_types (   self  )  [private]
internal API method

Definition at line 181 of file _SensorPacket.py.

def irobot_create_2_1::msg::_SensorPacket::SensorPacket::deserialize (   self,
  str 
)
unpack serialized message in str into this message instance
@param str: byte array of serialized message
@type  str: str

Definition at line 204 of file _SensorPacket.py.

def irobot_create_2_1::msg::_SensorPacket::SensorPacket::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
@type  str: str
@param numpy: numpy python module
@type  numpy: module

Definition at line 267 of file _SensorPacket.py.

def irobot_create_2_1::msg::_SensorPacket::SensorPacket::serialize (   self,
  buff 
)
serialize message into buffer
@param buff: buffer
@type  buff: StringIO

Definition at line 187 of file _SensorPacket.py.

def irobot_create_2_1::msg::_SensorPacket::SensorPacket::serialize_numpy (   self,
  buff,
  numpy 
)
serialize message with numpy array types into buffer
@param buff: buffer
@type  buff: StringIO
@param numpy: numpy python module
@type  numpy module

Definition at line 248 of file _SensorPacket.py.


Member Data Documentation

Definition at line 63 of file _SensorPacket.py.

Definition at line 11 of file _SensorPacket.py.

Definition at line 10 of file _SensorPacket.py.

string irobot_create_2_1::msg::_SensorPacket::SensorPacket::_md5sum = "56f92e8d70d283e7e15aa47855e73ea7" [static, private]

Definition at line 8 of file _SensorPacket.py.

list irobot_create_2_1::msg::_SensorPacket::SensorPacket::_slot_types = ['Header','bool','bool','bool','bool','bool','bool','bool','bool','bool','bool','bool','uint8','bool','bool','int16','int16','uint8','uint16','int16','int8','uint16','uint16','uint16','uint16','uint16','uint16','uint16','bool','bool','uint8','uint8'] [static, private]

Definition at line 64 of file _SensorPacket.py.

string irobot_create_2_1::msg::_SensorPacket::SensorPacket::_type = "irobot_create_2_1/SensorPacket" [static, private]

Definition at line 9 of file _SensorPacket.py.

Definition at line 110 of file _SensorPacket.py.

Definition at line 116 of file _SensorPacket.py.

Definition at line 128 of file _SensorPacket.py.

Definition at line 126 of file _SensorPacket.py.

Definition at line 124 of file _SensorPacket.py.

Definition at line 92 of file _SensorPacket.py.

Definition at line 94 of file _SensorPacket.py.

Definition at line 118 of file _SensorPacket.py.

Definition at line 100 of file _SensorPacket.py.

Definition at line 134 of file _SensorPacket.py.

Definition at line 102 of file _SensorPacket.py.

Definition at line 136 of file _SensorPacket.py.

Definition at line 98 of file _SensorPacket.py.

Definition at line 132 of file _SensorPacket.py.

Definition at line 104 of file _SensorPacket.py.

Definition at line 138 of file _SensorPacket.py.

Definition at line 122 of file _SensorPacket.py.

Definition at line 114 of file _SensorPacket.py.

Definition at line 84 of file _SensorPacket.py.

Definition at line 140 of file _SensorPacket.py.

Definition at line 108 of file _SensorPacket.py.

Definition at line 142 of file _SensorPacket.py.

Definition at line 112 of file _SensorPacket.py.

Definition at line 144 of file _SensorPacket.py.

Definition at line 146 of file _SensorPacket.py.

Definition at line 106 of file _SensorPacket.py.

Definition at line 120 of file _SensorPacket.py.

Definition at line 96 of file _SensorPacket.py.

Definition at line 130 of file _SensorPacket.py.

Definition at line 86 of file _SensorPacket.py.

Definition at line 88 of file _SensorPacket.py.

Definition at line 90 of file _SensorPacket.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs


irobot_create_2_1
Author(s): Graylin Trevor Jay, Brian Thomas
autogenerated on Fri Jan 11 09:52:14 2013