Public Member Functions | Public Attributes | Private Member Functions | Static Private Attributes
starmac_msgs.msg._OperatorCommands.OperatorCommands Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 alt_cmd
 motors_on
 pitch_cmd
 roll_cmd
 yaw_cmd

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['roll_cmd','pitch_cmd','yaw_cmd','alt_cmd','motors_on']
string _full_text
 _has_header = False
string _md5sum = "6368ecdaa27b1424d4bcd7569c40402b"
list _slot_types = ['float64','float64','float64','float64','bool']
string _type = "starmac_msgs/OperatorCommands"

Detailed Description

Definition at line 8 of file _OperatorCommands.py.


Constructor & Destructor Documentation

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:
   roll_cmd,pitch_cmd,yaw_cmd,alt_cmd,motors_on

: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 30 of file _OperatorCommands.py.


Member Function Documentation

internal API method

Definition at line 64 of file _OperatorCommands.py.

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

Definition at line 81 of file _OperatorCommands.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 110 of file _OperatorCommands.py.

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

Definition at line 70 of file _OperatorCommands.py.

serialize message with numpy array types into buffer
:param buff: buffer, ``StringIO``
:param numpy: numpy python module

Definition at line 98 of file _OperatorCommands.py.


Member Data Documentation

Definition at line 27 of file _OperatorCommands.py.

Initial value:
"""# This message conveys normalized operator joystick commands, expressed in the
# joystick frame of reference. I.e., roll_cmd = -1.0 corresponds to full left deflection
# of the joystick's roll axis. Any deadbands should already be applied. Any semantic
# interpretation of these commands occurs downstream of this message. E.g., in
# one context yaw_cmd = 0.5 could mean a certain yaw angle is being commanded
# or it could mean a certain yaw rate is commanded. In another context yaw might
# be entirely repurposed.

float64 roll_cmd    # -1.0 .. 1.0
float64 pitch_cmd   # -1.0 .. 1.0
float64 yaw_cmd     # -1.0 .. 1.0
float64 alt_cmd     #  0.0 .. 1.0
bool motors_on      # true if motors should be running

"""

Definition at line 12 of file _OperatorCommands.py.

Definition at line 11 of file _OperatorCommands.py.

string starmac_msgs::msg::_OperatorCommands.OperatorCommands::_md5sum = "6368ecdaa27b1424d4bcd7569c40402b" [static, private]

Definition at line 9 of file _OperatorCommands.py.

list starmac_msgs::msg::_OperatorCommands.OperatorCommands::_slot_types = ['float64','float64','float64','float64','bool'] [static, private]

Definition at line 28 of file _OperatorCommands.py.

Definition at line 10 of file _OperatorCommands.py.

Definition at line 42 of file _OperatorCommands.py.

Definition at line 42 of file _OperatorCommands.py.

Definition at line 42 of file _OperatorCommands.py.

Definition at line 42 of file _OperatorCommands.py.

Definition at line 42 of file _OperatorCommands.py.


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


starmac_msgs
Author(s): bouffard
autogenerated on Sun Jan 5 2014 11:37:37