All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Static Private Attributes
art_msgs.msg._Gear.Gear Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 value

Static Public Attributes

int Drive = 4
int N_gears = 5
int Naught = 0
int Neutral = 3
int Park = 1
int Reverse = 2

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['value']
string _full_text
 _has_header = False
string _md5sum = "29fb8bb2d87a1850e27a57ff47d6dd35"
list _slot_types = ['uint8']
string _type = "art_msgs/Gear"

Detailed Description

Definition at line 8 of file _Gear.py.


Constructor & Destructor Documentation

def art_msgs.msg._Gear.Gear.__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:
   value

: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 _Gear.py.


Member Function Documentation

def art_msgs.msg._Gear.Gear._get_types (   self) [private]
internal API method

Definition at line 64 of file _Gear.py.

def art_msgs.msg._Gear.Gear.deserialize (   self,
  str 
)
unpack serialized message in str into this message instance
:param str: byte array of serialized message, ``str``

Definition at line 80 of file _Gear.py.

def art_msgs.msg._Gear.Gear.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 106 of file _Gear.py.

def art_msgs.msg._Gear.Gear.serialize (   self,
  buff 
)
serialize message into buffer
:param buff: buffer, ``StringIO``

Definition at line 70 of file _Gear.py.

def art_msgs.msg._Gear.Gear.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 95 of file _Gear.py.


Member Data Documentation

list art_msgs::msg::_Gear.Gear::__slots__ = ['value'] [static, private]

Definition at line 39 of file _Gear.py.

string art_msgs::msg::_Gear.Gear::_full_text [static, private]
Initial value:
"""# ART vehicle transmission gear numbers
#
# Used by several different messages.

# $Id: Gear.msg 1539 2011-05-09 04:09:20Z jack.oquin $

# Gear numbers. 
#
# Naught means: reset all Shifter relays; no change of CarDrive gear.
uint8 Naught = 0
uint8 Park = 1
uint8 Reverse = 2
uint8 Neutral = 3
uint8 Drive = 4
uint8 N_gears = 5

uint8 value             # requested or reported gear number

"""

Definition at line 12 of file _Gear.py.

art_msgs::msg::_Gear.Gear::_has_header = False [static, private]

Definition at line 11 of file _Gear.py.

string art_msgs::msg::_Gear.Gear::_md5sum = "29fb8bb2d87a1850e27a57ff47d6dd35" [static, private]

Definition at line 9 of file _Gear.py.

list art_msgs::msg::_Gear.Gear::_slot_types = ['uint8'] [static, private]

Definition at line 40 of file _Gear.py.

string art_msgs::msg::_Gear.Gear::_type = "art_msgs/Gear" [static, private]

Definition at line 10 of file _Gear.py.

Definition at line 36 of file _Gear.py.

Definition at line 37 of file _Gear.py.

Definition at line 32 of file _Gear.py.

Definition at line 35 of file _Gear.py.

Definition at line 33 of file _Gear.py.

Definition at line 34 of file _Gear.py.

Definition at line 54 of file _Gear.py.


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


art_msgs
Author(s): Jack O'Quin
autogenerated on Tue Sep 24 2013 10:40:46