Public Member Functions | Public Attributes | Private Member Functions | Static Private Attributes
gazebo_msgs.msg._ContactState.ContactState Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 collision1_name
 collision2_name
 contact_normals
 contact_positions
 depths
 info
 total_wrench
 wrenches

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['info','collision1_name','collision2_name','wrenches','total_wrench','contact_positions','contact_normals','depths']
string _full_text
 _has_header = False
string _md5sum = "48c0ffb054b8c444f870cecea1ee50d9"
list _slot_types = ['string','string','string','geometry_msgs/Wrench[]','geometry_msgs/Wrench','geometry_msgs/Vector3[]','geometry_msgs/Vector3[]','float64[]']
string _type = "gazebo_msgs/ContactState"

Detailed Description

Definition at line 9 of file _ContactState.py.


Constructor & Destructor Documentation

def gazebo_msgs.msg._ContactState.ContactState.__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:
   info,collision1_name,collision2_name,wrenches,total_wrench,contact_positions,contact_normals,depths

: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 40 of file _ContactState.py.


Member Function Documentation

internal API method

Definition at line 83 of file _ContactState.py.

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

Definition at line 141 of file _ContactState.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 291 of file _ContactState.py.

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

Definition at line 89 of file _ContactState.py.

def gazebo_msgs.msg._ContactState.ContactState.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 238 of file _ContactState.py.


Member Data Documentation

Definition at line 37 of file _ContactState.py.

Initial value:
"""string info                                   # text info on this contact
string collision1_name                        # name of contact collision1
string collision2_name                        # name of contact collision2
geometry_msgs/Wrench[] wrenches               # list of forces/torques
geometry_msgs/Wrench total_wrench             # sum of forces/torques in every DOF
geometry_msgs/Vector3[] contact_positions     # list of contact position
geometry_msgs/Vector3[] contact_normals       # list of contact normals
float64[] depths                              # list of penetration depths

================================================================================
MSG: geometry_msgs/Wrench
# This represents force in free space, separated into
# its linear and angular parts.
Vector3  force
Vector3  torque

================================================================================
MSG: geometry_msgs/Vector3
# This represents a vector in free space. 

float64 x
float64 y
float64 z
"""

Definition at line 13 of file _ContactState.py.

Definition at line 12 of file _ContactState.py.

string gazebo_msgs::msg::_ContactState.ContactState::_md5sum = "48c0ffb054b8c444f870cecea1ee50d9" [static, private]

Definition at line 10 of file _ContactState.py.

list gazebo_msgs::msg::_ContactState.ContactState::_slot_types = ['string','string','string','geometry_msgs/Wrench[]','geometry_msgs/Wrench','geometry_msgs/Vector3[]','geometry_msgs/Vector3[]','float64[]'] [static, private]

Definition at line 38 of file _ContactState.py.

string gazebo_msgs::msg::_ContactState.ContactState::_type = "gazebo_msgs/ContactState" [static, private]

Definition at line 11 of file _ContactState.py.

Definition at line 52 of file _ContactState.py.

Definition at line 52 of file _ContactState.py.

Definition at line 52 of file _ContactState.py.

Definition at line 52 of file _ContactState.py.

Definition at line 52 of file _ContactState.py.

Definition at line 52 of file _ContactState.py.

Definition at line 52 of file _ContactState.py.

Definition at line 52 of file _ContactState.py.


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


gazebo_msgs
Author(s): John Hsu
autogenerated on Mon Oct 6 2014 12:14:34