Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Static Private Attributes
industrial_msgs.msg._RobotMode.RobotMode Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 val

Static Public Attributes

int AUTO = 2
int MANUAL = 1
int UNKNOWN = 1

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['val']
string _full_text
 _has_header = False
string _md5sum = "24ac279e988b6b3db836e437e6ed1ba0"
list _slot_types = ['int8']
string _type = "industrial_msgs/RobotMode"

Detailed Description

Definition at line 8 of file _RobotMode.py.


Constructor & Destructor Documentation

def industrial_msgs.msg._RobotMode.RobotMode.__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:
   val

: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 32 of file _RobotMode.py.


Member Function Documentation

internal API method

Definition at line 54 of file _RobotMode.py.

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

Definition at line 70 of file _RobotMode.py.

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 96 of file _RobotMode.py.

serialize message into buffer
:param buff: buffer, ``StringIO``

Definition at line 60 of file _RobotMode.py.

def industrial_msgs.msg._RobotMode.RobotMode.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 85 of file _RobotMode.py.


Member Data Documentation

Definition at line 29 of file _RobotMode.py.

Initial value:
"""# The Robot mode message encapsulates the mode/teach state of the robot
# Typically this is controlled by the pendant key switch, but not always

int8 val

# enumerated values
int8 UNKNOWN=-1                 # Unknown or unavailable         
int8 MANUAL=1                    # Teach OR manual mode
int8 AUTO=2                     # Automatic mode


"""

Definition at line 12 of file _RobotMode.py.

Definition at line 11 of file _RobotMode.py.

string industrial_msgs::msg::_RobotMode.RobotMode::_md5sum = "24ac279e988b6b3db836e437e6ed1ba0" [static, private]

Definition at line 9 of file _RobotMode.py.

Definition at line 30 of file _RobotMode.py.

string industrial_msgs::msg::_RobotMode.RobotMode::_type = "industrial_msgs/RobotMode" [static, private]

Definition at line 10 of file _RobotMode.py.

Definition at line 27 of file _RobotMode.py.

Definition at line 26 of file _RobotMode.py.

Definition at line 25 of file _RobotMode.py.

Definition at line 44 of file _RobotMode.py.


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


industrial_msgs
Author(s): Shaun M. Edwards
autogenerated on Mon Oct 6 2014 00:53:40