Public Member Functions | Public Attributes | Private Member Functions | Static Private Attributes
sr_robot_msgs.msg._MotorSystemControls.MotorSystemControls Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 decrease_sgl_tracking
 decrease_sgr_tracking
 enable_backlash_compensation
 increase_sgl_tracking
 increase_sgr_tracking
 initiate_jiggling
 motor_id
 write_config_to_eeprom

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['motor_id','enable_backlash_compensation','increase_sgl_tracking','decrease_sgl_tracking','increase_sgr_tracking','decrease_sgr_tracking','initiate_jiggling','write_config_to_eeprom']
string _full_text
 _has_header = False
string _md5sum = "0686822f46acfde0133711bd613a20f1"
list _slot_types = ['int8','bool','bool','bool','bool','bool','bool','bool']
string _type = "sr_robot_msgs/MotorSystemControls"

Detailed Description

Definition at line 8 of file _MotorSystemControls.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:
   motor_id,enable_backlash_compensation,increase_sgl_tracking,decrease_sgl_tracking,increase_sgr_tracking,decrease_sgr_tracking,initiate_jiggling,write_config_to_eeprom

: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 25 of file _MotorSystemControls.py.


Member Function Documentation

internal API method

Definition at line 68 of file _MotorSystemControls.py.

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

Definition at line 85 of file _MotorSystemControls.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 120 of file _MotorSystemControls.py.

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

Definition at line 74 of file _MotorSystemControls.py.

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

Definition at line 108 of file _MotorSystemControls.py.


Member Data Documentation

Definition at line 22 of file _MotorSystemControls.py.

Initial value:
"""int8 motor_id                     # the id of the motor you want to control

bool enable_backlash_compensation # switch on/off backlash compensation at the motor level
bool increase_sgl_tracking        # increment the tracking value for the left gauge
bool decrease_sgl_tracking        # decrement the tracking value for the left gauge
bool increase_sgr_tracking        # increment the tracking value for the right gauge
bool decrease_sgr_tracking        # decrement the tracking value for the right gauge
bool initiate_jiggling            # starts jiggling the given motor
bool write_config_to_eeprom       # write the current configuration to the eeprom
"""

Definition at line 12 of file _MotorSystemControls.py.

Definition at line 11 of file _MotorSystemControls.py.

string sr_robot_msgs::msg::_MotorSystemControls.MotorSystemControls::_md5sum = "0686822f46acfde0133711bd613a20f1" [static, private]

Definition at line 9 of file _MotorSystemControls.py.

list sr_robot_msgs::msg::_MotorSystemControls.MotorSystemControls::_slot_types = ['int8','bool','bool','bool','bool','bool','bool','bool'] [static, private]

Definition at line 23 of file _MotorSystemControls.py.

Definition at line 10 of file _MotorSystemControls.py.

Definition at line 37 of file _MotorSystemControls.py.

Definition at line 37 of file _MotorSystemControls.py.

Definition at line 37 of file _MotorSystemControls.py.

Definition at line 37 of file _MotorSystemControls.py.

Definition at line 37 of file _MotorSystemControls.py.

Definition at line 37 of file _MotorSystemControls.py.

Definition at line 37 of file _MotorSystemControls.py.

Definition at line 37 of file _MotorSystemControls.py.


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


sr_robot_msgs
Author(s): Ugo Cupcic/ugo@shadowrobot.com
autogenerated on Mon Oct 6 2014 07:40:08