$search

art_msgs::msg::_PilotBehavior::PilotBehavior 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 N_behaviors = 3
int Off = 2
int Pause = 1
int Run = 0

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['value']
string _full_text
 _has_header = False
string _md5sum = "ee280e8dd8b427f32f9742e8b4885525"
list _slot_types = ['uint8']
string _type = "art_msgs/PilotBehavior"

Detailed Description

Definition at line 6 of file _PilotBehavior.py.


Member Function Documentation

def art_msgs::msg::_PilotBehavior::PilotBehavior::__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 41 of file _PilotBehavior.py.

def art_msgs::msg::_PilotBehavior::PilotBehavior::_get_types (   self  )  [private]
internal API method

Definition at line 63 of file _PilotBehavior.py.

def art_msgs::msg::_PilotBehavior::PilotBehavior::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 80 of file _PilotBehavior.py.

def art_msgs::msg::_PilotBehavior::PilotBehavior::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 109 of file _PilotBehavior.py.

def art_msgs::msg::_PilotBehavior::PilotBehavior::serialize (   self,
  buff 
)
serialize message into buffer
@param buff: buffer
@type  buff: StringIO

Definition at line 69 of file _PilotBehavior.py.

def art_msgs::msg::_PilotBehavior::PilotBehavior::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 96 of file _PilotBehavior.py.


Member Data Documentation

Definition at line 38 of file _PilotBehavior.py.

Initial value:
"""# ART autonomous vehicle pilot node behaviors.
#
# Normally, the pilot node does Run, continually sending commands to
# the servo device actuators and monitoring their state.  With Pause,
# the pilot becomes passive, allowing a learning algorithm or human
# controller direct access to those devices.  In the Off state,
# various devices are shut down: the transmission in Park, the brake
# released, the throttle at idle.  The engine is not turned off, but
# it could be.

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

# Behavior value
uint8 value

# Behavior numbers:
uint8 Run = 0                   # normal driving
uint8 Pause = 1                 # stop issuing servo commands
uint8 Off = 2                   # turn off devices
uint8 N_behaviors = 3

"""

Definition at line 10 of file _PilotBehavior.py.

Definition at line 9 of file _PilotBehavior.py.

string art_msgs::msg::_PilotBehavior::PilotBehavior::_md5sum = "ee280e8dd8b427f32f9742e8b4885525" [static, private]

Definition at line 7 of file _PilotBehavior.py.

Definition at line 39 of file _PilotBehavior.py.

Definition at line 8 of file _PilotBehavior.py.

Definition at line 36 of file _PilotBehavior.py.

Definition at line 35 of file _PilotBehavior.py.

Definition at line 34 of file _PilotBehavior.py.

Definition at line 33 of file _PilotBehavior.py.

Definition at line 59 of file _PilotBehavior.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 Fri Mar 1 14:11:59 2013