Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Static Private Attributes
kingfisher_msgs.msg._Sense.Sense Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 battery
 current_left
 current_right
 fan_on
 pcb_temperature
 rc
 rc_enable
 rc_rotation
 rc_throttle

Static Public Attributes

int RC_INRANGE = 1
int RC_INUSE = 2

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['battery','current_left','current_right','pcb_temperature','fan_on','rc','rc_throttle','rc_rotation','rc_enable']
string _full_text
 _has_header = False
string _md5sum = "b0209acddc7f26d2e3dc1338d6c4df94"
list _slot_types = ['float32','float32','float32','float32','bool','uint8','uint16','uint16','uint16']
string _type = "kingfisher_msgs/Sense"

Detailed Description

Definition at line 8 of file _Sense.py.


Constructor & Destructor Documentation

def kingfisher_msgs.msg._Sense.Sense.__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:
   battery,current_left,current_right,pcb_temperature,fan_on,rc,rc_throttle,rc_rotation,rc_enable

: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 42 of file _Sense.py.


Member Function Documentation

internal API method

Definition at line 88 of file _Sense.py.

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

Definition at line 105 of file _Sense.py.

def kingfisher_msgs.msg._Sense.Sense.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

Definition at line 134 of file _Sense.py.

def kingfisher_msgs.msg._Sense.Sense.serialize (   self,
  buff 
)
serialize message into buffer
:param buff: buffer, ``StringIO``

Definition at line 94 of file _Sense.py.

def kingfisher_msgs.msg._Sense.Sense.serialize_numpy (   self,
  buff,
  numpy 
)
serialize message with numpy array types into buffer
:param buff: buffer, ``StringIO``
:param numpy: numpy python module

Definition at line 122 of file _Sense.py.


Member Data Documentation

Definition at line 39 of file _Sense.py.

Initial value:
"""# Voltage level of battery, in volts
float32 battery

# Instantaneous current drawn by each motor, in amps.
float32 current_left
float32 current_right

# Temperature of PCB as measured by internal AVR thermometer,
# reported in degrees centigrade.
float32 pcb_temperature
bool fan_on

# Bitfield represents status of hobby R/C override.
uint8 RC_INRANGE=1
uint8 RC_INUSE=2
uint8 rc

# Pulse lengths received from the three R/C channels.
uint16 rc_throttle
uint16 rc_rotation
uint16 rc_enable

"""

Definition at line 12 of file _Sense.py.

Definition at line 11 of file _Sense.py.

string kingfisher_msgs::msg::_Sense.Sense::_md5sum = "b0209acddc7f26d2e3dc1338d6c4df94" [static, private]

Definition at line 9 of file _Sense.py.

list kingfisher_msgs::msg::_Sense.Sense::_slot_types = ['float32','float32','float32','float32','bool','uint8','uint16','uint16','uint16'] [static, private]

Definition at line 40 of file _Sense.py.

string kingfisher_msgs::msg::_Sense.Sense::_type = "kingfisher_msgs/Sense" [static, private]

Definition at line 10 of file _Sense.py.

Definition at line 54 of file _Sense.py.

Definition at line 54 of file _Sense.py.

Definition at line 54 of file _Sense.py.

Definition at line 54 of file _Sense.py.

Definition at line 54 of file _Sense.py.

Definition at line 54 of file _Sense.py.

Definition at line 54 of file _Sense.py.

Definition at line 36 of file _Sense.py.

Definition at line 37 of file _Sense.py.

Definition at line 54 of file _Sense.py.

Definition at line 54 of file _Sense.py.


The documentation for this class was generated from the following file:


kingfisher_msgs
Author(s): Mike Purvis
autogenerated on Sat Dec 28 2013 17:08:01