# generated from rosidl_generator_py/resource/_idl.py.em
# with input from turtlesim:action/RotateAbsolute.idl
# generated code does not contain a copyright notice


# Import statements for member types

import rosidl_parser.definition  # noqa: E402, I100


class Metaclass_RotateAbsolute_Goal(type):
    """Metaclass of message 'RotateAbsolute_Goal'."""

    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None

    __constants = {
    }

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_Goal')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = module.create_ros_message_msg__action__rotate_absolute__goal
            cls._CONVERT_FROM_PY = module.convert_from_py_msg__action__rotate_absolute__goal
            cls._CONVERT_TO_PY = module.convert_to_py_msg__action__rotate_absolute__goal
            cls._TYPE_SUPPORT = module.type_support_msg__action__rotate_absolute__goal
            cls._DESTROY_ROS_MESSAGE = module.destroy_ros_message_msg__action__rotate_absolute__goal

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        # list constant names here so that they appear in the help text of
        # the message class under "Data and other attributes defined here:"
        # as well as populate each message instance
        return {
        }


class RotateAbsolute_Goal(metaclass=Metaclass_RotateAbsolute_Goal):
    """Message class 'RotateAbsolute_Goal'."""

    __slots__ = [
        '_theta',
    ]

    _fields_and_field_types = {
        'theta': 'float',
    }

    SLOT_TYPES = (
        rosidl_parser.definition.BasicType('float'),  # noqa: E501
    )

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()), \
            'Invalid arguments passed to constructor: %s' % \
            ', '.join(sorted(k for k in kwargs.keys() if '_' + k not in self.__slots__))
        self.theta = kwargs.get('theta', float())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            # We use Python array type for fields that can be directly stored
            # in them, and "normal" sequences for everything else.  If it is
            # a type that we store in an array, strip off the 'array' portion.
            if (
                isinstance(t, rosidl_parser.definition.AbstractSequence) and
                isinstance(t.value_type, rosidl_parser.definition.BasicType) and
                t.value_type.typename in ['float', 'double', 'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32', 'int64', 'uint64']
            ):
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.theta != other.theta:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def theta(self):
        """Message field 'theta'."""
        return self._theta

    @theta.setter
    def theta(self, value):
        if __debug__:
            assert \
                isinstance(value, float), \
                "The 'theta' field must be of type 'float'"
        self._theta = value


# Import statements for member types

# already imported above
# import rosidl_parser.definition


class Metaclass_RotateAbsolute_Result(type):
    """Metaclass of message 'RotateAbsolute_Result'."""

    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None

    __constants = {
    }

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_Result')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = module.create_ros_message_msg__action__rotate_absolute__result
            cls._CONVERT_FROM_PY = module.convert_from_py_msg__action__rotate_absolute__result
            cls._CONVERT_TO_PY = module.convert_to_py_msg__action__rotate_absolute__result
            cls._TYPE_SUPPORT = module.type_support_msg__action__rotate_absolute__result
            cls._DESTROY_ROS_MESSAGE = module.destroy_ros_message_msg__action__rotate_absolute__result

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        # list constant names here so that they appear in the help text of
        # the message class under "Data and other attributes defined here:"
        # as well as populate each message instance
        return {
        }


class RotateAbsolute_Result(metaclass=Metaclass_RotateAbsolute_Result):
    """Message class 'RotateAbsolute_Result'."""

    __slots__ = [
        '_delta',
    ]

    _fields_and_field_types = {
        'delta': 'float',
    }

    SLOT_TYPES = (
        rosidl_parser.definition.BasicType('float'),  # noqa: E501
    )

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()), \
            'Invalid arguments passed to constructor: %s' % \
            ', '.join(sorted(k for k in kwargs.keys() if '_' + k not in self.__slots__))
        self.delta = kwargs.get('delta', float())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            # We use Python array type for fields that can be directly stored
            # in them, and "normal" sequences for everything else.  If it is
            # a type that we store in an array, strip off the 'array' portion.
            if (
                isinstance(t, rosidl_parser.definition.AbstractSequence) and
                isinstance(t.value_type, rosidl_parser.definition.BasicType) and
                t.value_type.typename in ['float', 'double', 'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32', 'int64', 'uint64']
            ):
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.delta != other.delta:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def delta(self):
        """Message field 'delta'."""
        return self._delta

    @delta.setter
    def delta(self, value):
        if __debug__:
            assert \
                isinstance(value, float), \
                "The 'delta' field must be of type 'float'"
        self._delta = value


# Import statements for member types

# already imported above
# import rosidl_parser.definition


class Metaclass_RotateAbsolute_Feedback(type):
    """Metaclass of message 'RotateAbsolute_Feedback'."""

    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None

    __constants = {
    }

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_Feedback')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = module.create_ros_message_msg__action__rotate_absolute__feedback
            cls._CONVERT_FROM_PY = module.convert_from_py_msg__action__rotate_absolute__feedback
            cls._CONVERT_TO_PY = module.convert_to_py_msg__action__rotate_absolute__feedback
            cls._TYPE_SUPPORT = module.type_support_msg__action__rotate_absolute__feedback
            cls._DESTROY_ROS_MESSAGE = module.destroy_ros_message_msg__action__rotate_absolute__feedback

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        # list constant names here so that they appear in the help text of
        # the message class under "Data and other attributes defined here:"
        # as well as populate each message instance
        return {
        }


class RotateAbsolute_Feedback(metaclass=Metaclass_RotateAbsolute_Feedback):
    """Message class 'RotateAbsolute_Feedback'."""

    __slots__ = [
        '_remaining',
    ]

    _fields_and_field_types = {
        'remaining': 'float',
    }

    SLOT_TYPES = (
        rosidl_parser.definition.BasicType('float'),  # noqa: E501
    )

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()), \
            'Invalid arguments passed to constructor: %s' % \
            ', '.join(sorted(k for k in kwargs.keys() if '_' + k not in self.__slots__))
        self.remaining = kwargs.get('remaining', float())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            # We use Python array type for fields that can be directly stored
            # in them, and "normal" sequences for everything else.  If it is
            # a type that we store in an array, strip off the 'array' portion.
            if (
                isinstance(t, rosidl_parser.definition.AbstractSequence) and
                isinstance(t.value_type, rosidl_parser.definition.BasicType) and
                t.value_type.typename in ['float', 'double', 'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32', 'int64', 'uint64']
            ):
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.remaining != other.remaining:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def remaining(self):
        """Message field 'remaining'."""
        return self._remaining

    @remaining.setter
    def remaining(self, value):
        if __debug__:
            assert \
                isinstance(value, float), \
                "The 'remaining' field must be of type 'float'"
        self._remaining = value


# Import statements for member types

# already imported above
# import rosidl_parser.definition


class Metaclass_RotateAbsolute_SendGoal_Request(type):
    """Metaclass of message 'RotateAbsolute_SendGoal_Request'."""

    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None

    __constants = {
    }

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_SendGoal_Request')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = module.create_ros_message_msg__action__rotate_absolute__send_goal__request
            cls._CONVERT_FROM_PY = module.convert_from_py_msg__action__rotate_absolute__send_goal__request
            cls._CONVERT_TO_PY = module.convert_to_py_msg__action__rotate_absolute__send_goal__request
            cls._TYPE_SUPPORT = module.type_support_msg__action__rotate_absolute__send_goal__request
            cls._DESTROY_ROS_MESSAGE = module.destroy_ros_message_msg__action__rotate_absolute__send_goal__request

            from turtlesim.action import RotateAbsolute
            if RotateAbsolute.Goal.__class__._TYPE_SUPPORT is None:
                RotateAbsolute.Goal.__class__.__import_type_support__()

            from unique_identifier_msgs.msg import UUID
            if UUID.__class__._TYPE_SUPPORT is None:
                UUID.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        # list constant names here so that they appear in the help text of
        # the message class under "Data and other attributes defined here:"
        # as well as populate each message instance
        return {
        }


class RotateAbsolute_SendGoal_Request(metaclass=Metaclass_RotateAbsolute_SendGoal_Request):
    """Message class 'RotateAbsolute_SendGoal_Request'."""

    __slots__ = [
        '_goal_id',
        '_goal',
    ]

    _fields_and_field_types = {
        'goal_id': 'unique_identifier_msgs/UUID',
        'goal': 'turtlesim/RotateAbsolute_Goal',
    }

    SLOT_TYPES = (
        rosidl_parser.definition.NamespacedType(['unique_identifier_msgs', 'msg'], 'UUID'),  # noqa: E501
        rosidl_parser.definition.NamespacedType(['turtlesim', 'action'], 'RotateAbsolute_Goal'),  # noqa: E501
    )

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()), \
            'Invalid arguments passed to constructor: %s' % \
            ', '.join(sorted(k for k in kwargs.keys() if '_' + k not in self.__slots__))
        from unique_identifier_msgs.msg import UUID
        self.goal_id = kwargs.get('goal_id', UUID())
        from turtlesim.action._rotate_absolute import RotateAbsolute_Goal
        self.goal = kwargs.get('goal', RotateAbsolute_Goal())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            # We use Python array type for fields that can be directly stored
            # in them, and "normal" sequences for everything else.  If it is
            # a type that we store in an array, strip off the 'array' portion.
            if (
                isinstance(t, rosidl_parser.definition.AbstractSequence) and
                isinstance(t.value_type, rosidl_parser.definition.BasicType) and
                t.value_type.typename in ['float', 'double', 'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32', 'int64', 'uint64']
            ):
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.goal_id != other.goal_id:
            return False
        if self.goal != other.goal:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def goal_id(self):
        """Message field 'goal_id'."""
        return self._goal_id

    @goal_id.setter
    def goal_id(self, value):
        if __debug__:
            from unique_identifier_msgs.msg import UUID
            assert \
                isinstance(value, UUID), \
                "The 'goal_id' field must be a sub message of type 'UUID'"
        self._goal_id = value

    @property
    def goal(self):
        """Message field 'goal'."""
        return self._goal

    @goal.setter
    def goal(self, value):
        if __debug__:
            from turtlesim.action._rotate_absolute import RotateAbsolute_Goal
            assert \
                isinstance(value, RotateAbsolute_Goal), \
                "The 'goal' field must be a sub message of type 'RotateAbsolute_Goal'"
        self._goal = value


# Import statements for member types

# already imported above
# import rosidl_parser.definition


class Metaclass_RotateAbsolute_SendGoal_Response(type):
    """Metaclass of message 'RotateAbsolute_SendGoal_Response'."""

    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None

    __constants = {
    }

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_SendGoal_Response')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = module.create_ros_message_msg__action__rotate_absolute__send_goal__response
            cls._CONVERT_FROM_PY = module.convert_from_py_msg__action__rotate_absolute__send_goal__response
            cls._CONVERT_TO_PY = module.convert_to_py_msg__action__rotate_absolute__send_goal__response
            cls._TYPE_SUPPORT = module.type_support_msg__action__rotate_absolute__send_goal__response
            cls._DESTROY_ROS_MESSAGE = module.destroy_ros_message_msg__action__rotate_absolute__send_goal__response

            from builtin_interfaces.msg import Time
            if Time.__class__._TYPE_SUPPORT is None:
                Time.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        # list constant names here so that they appear in the help text of
        # the message class under "Data and other attributes defined here:"
        # as well as populate each message instance
        return {
        }


class RotateAbsolute_SendGoal_Response(metaclass=Metaclass_RotateAbsolute_SendGoal_Response):
    """Message class 'RotateAbsolute_SendGoal_Response'."""

    __slots__ = [
        '_accepted',
        '_stamp',
    ]

    _fields_and_field_types = {
        'accepted': 'boolean',
        'stamp': 'builtin_interfaces/Time',
    }

    SLOT_TYPES = (
        rosidl_parser.definition.BasicType('boolean'),  # noqa: E501
        rosidl_parser.definition.NamespacedType(['builtin_interfaces', 'msg'], 'Time'),  # noqa: E501
    )

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()), \
            'Invalid arguments passed to constructor: %s' % \
            ', '.join(sorted(k for k in kwargs.keys() if '_' + k not in self.__slots__))
        self.accepted = kwargs.get('accepted', bool())
        from builtin_interfaces.msg import Time
        self.stamp = kwargs.get('stamp', Time())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            # We use Python array type for fields that can be directly stored
            # in them, and "normal" sequences for everything else.  If it is
            # a type that we store in an array, strip off the 'array' portion.
            if (
                isinstance(t, rosidl_parser.definition.AbstractSequence) and
                isinstance(t.value_type, rosidl_parser.definition.BasicType) and
                t.value_type.typename in ['float', 'double', 'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32', 'int64', 'uint64']
            ):
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.accepted != other.accepted:
            return False
        if self.stamp != other.stamp:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def accepted(self):
        """Message field 'accepted'."""
        return self._accepted

    @accepted.setter
    def accepted(self, value):
        if __debug__:
            assert \
                isinstance(value, bool), \
                "The 'accepted' field must be of type 'bool'"
        self._accepted = value

    @property
    def stamp(self):
        """Message field 'stamp'."""
        return self._stamp

    @stamp.setter
    def stamp(self, value):
        if __debug__:
            from builtin_interfaces.msg import Time
            assert \
                isinstance(value, Time), \
                "The 'stamp' field must be a sub message of type 'Time'"
        self._stamp = value


class Metaclass_RotateAbsolute_SendGoal(type):
    """Metaclass of service 'RotateAbsolute_SendGoal'."""

    _TYPE_SUPPORT = None

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_SendGoal')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._TYPE_SUPPORT = module.type_support_srv__action__rotate_absolute__send_goal

            from turtlesim.action import _rotate_absolute
            if _rotate_absolute.Metaclass_RotateAbsolute_SendGoal_Request._TYPE_SUPPORT is None:
                _rotate_absolute.Metaclass_RotateAbsolute_SendGoal_Request.__import_type_support__()
            if _rotate_absolute.Metaclass_RotateAbsolute_SendGoal_Response._TYPE_SUPPORT is None:
                _rotate_absolute.Metaclass_RotateAbsolute_SendGoal_Response.__import_type_support__()


class RotateAbsolute_SendGoal(metaclass=Metaclass_RotateAbsolute_SendGoal):
    from turtlesim.action._rotate_absolute import RotateAbsolute_SendGoal_Request as Request
    from turtlesim.action._rotate_absolute import RotateAbsolute_SendGoal_Response as Response

    def __init__(self):
        raise NotImplementedError('Service classes can not be instantiated')


# Import statements for member types

# already imported above
# import rosidl_parser.definition


class Metaclass_RotateAbsolute_GetResult_Request(type):
    """Metaclass of message 'RotateAbsolute_GetResult_Request'."""

    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None

    __constants = {
    }

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_GetResult_Request')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = module.create_ros_message_msg__action__rotate_absolute__get_result__request
            cls._CONVERT_FROM_PY = module.convert_from_py_msg__action__rotate_absolute__get_result__request
            cls._CONVERT_TO_PY = module.convert_to_py_msg__action__rotate_absolute__get_result__request
            cls._TYPE_SUPPORT = module.type_support_msg__action__rotate_absolute__get_result__request
            cls._DESTROY_ROS_MESSAGE = module.destroy_ros_message_msg__action__rotate_absolute__get_result__request

            from unique_identifier_msgs.msg import UUID
            if UUID.__class__._TYPE_SUPPORT is None:
                UUID.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        # list constant names here so that they appear in the help text of
        # the message class under "Data and other attributes defined here:"
        # as well as populate each message instance
        return {
        }


class RotateAbsolute_GetResult_Request(metaclass=Metaclass_RotateAbsolute_GetResult_Request):
    """Message class 'RotateAbsolute_GetResult_Request'."""

    __slots__ = [
        '_goal_id',
    ]

    _fields_and_field_types = {
        'goal_id': 'unique_identifier_msgs/UUID',
    }

    SLOT_TYPES = (
        rosidl_parser.definition.NamespacedType(['unique_identifier_msgs', 'msg'], 'UUID'),  # noqa: E501
    )

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()), \
            'Invalid arguments passed to constructor: %s' % \
            ', '.join(sorted(k for k in kwargs.keys() if '_' + k not in self.__slots__))
        from unique_identifier_msgs.msg import UUID
        self.goal_id = kwargs.get('goal_id', UUID())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            # We use Python array type for fields that can be directly stored
            # in them, and "normal" sequences for everything else.  If it is
            # a type that we store in an array, strip off the 'array' portion.
            if (
                isinstance(t, rosidl_parser.definition.AbstractSequence) and
                isinstance(t.value_type, rosidl_parser.definition.BasicType) and
                t.value_type.typename in ['float', 'double', 'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32', 'int64', 'uint64']
            ):
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.goal_id != other.goal_id:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def goal_id(self):
        """Message field 'goal_id'."""
        return self._goal_id

    @goal_id.setter
    def goal_id(self, value):
        if __debug__:
            from unique_identifier_msgs.msg import UUID
            assert \
                isinstance(value, UUID), \
                "The 'goal_id' field must be a sub message of type 'UUID'"
        self._goal_id = value


# Import statements for member types

# already imported above
# import rosidl_parser.definition


class Metaclass_RotateAbsolute_GetResult_Response(type):
    """Metaclass of message 'RotateAbsolute_GetResult_Response'."""

    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None

    __constants = {
    }

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_GetResult_Response')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = module.create_ros_message_msg__action__rotate_absolute__get_result__response
            cls._CONVERT_FROM_PY = module.convert_from_py_msg__action__rotate_absolute__get_result__response
            cls._CONVERT_TO_PY = module.convert_to_py_msg__action__rotate_absolute__get_result__response
            cls._TYPE_SUPPORT = module.type_support_msg__action__rotate_absolute__get_result__response
            cls._DESTROY_ROS_MESSAGE = module.destroy_ros_message_msg__action__rotate_absolute__get_result__response

            from turtlesim.action import RotateAbsolute
            if RotateAbsolute.Result.__class__._TYPE_SUPPORT is None:
                RotateAbsolute.Result.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        # list constant names here so that they appear in the help text of
        # the message class under "Data and other attributes defined here:"
        # as well as populate each message instance
        return {
        }


class RotateAbsolute_GetResult_Response(metaclass=Metaclass_RotateAbsolute_GetResult_Response):
    """Message class 'RotateAbsolute_GetResult_Response'."""

    __slots__ = [
        '_status',
        '_result',
    ]

    _fields_and_field_types = {
        'status': 'int8',
        'result': 'turtlesim/RotateAbsolute_Result',
    }

    SLOT_TYPES = (
        rosidl_parser.definition.BasicType('int8'),  # noqa: E501
        rosidl_parser.definition.NamespacedType(['turtlesim', 'action'], 'RotateAbsolute_Result'),  # noqa: E501
    )

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()), \
            'Invalid arguments passed to constructor: %s' % \
            ', '.join(sorted(k for k in kwargs.keys() if '_' + k not in self.__slots__))
        self.status = kwargs.get('status', int())
        from turtlesim.action._rotate_absolute import RotateAbsolute_Result
        self.result = kwargs.get('result', RotateAbsolute_Result())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            # We use Python array type for fields that can be directly stored
            # in them, and "normal" sequences for everything else.  If it is
            # a type that we store in an array, strip off the 'array' portion.
            if (
                isinstance(t, rosidl_parser.definition.AbstractSequence) and
                isinstance(t.value_type, rosidl_parser.definition.BasicType) and
                t.value_type.typename in ['float', 'double', 'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32', 'int64', 'uint64']
            ):
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.status != other.status:
            return False
        if self.result != other.result:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def status(self):
        """Message field 'status'."""
        return self._status

    @status.setter
    def status(self, value):
        if __debug__:
            assert \
                isinstance(value, int), \
                "The 'status' field must be of type 'int'"
            assert value >= -128 and value < 128, \
                "The 'status' field must be an integer in [-128, 127]"
        self._status = value

    @property
    def result(self):
        """Message field 'result'."""
        return self._result

    @result.setter
    def result(self, value):
        if __debug__:
            from turtlesim.action._rotate_absolute import RotateAbsolute_Result
            assert \
                isinstance(value, RotateAbsolute_Result), \
                "The 'result' field must be a sub message of type 'RotateAbsolute_Result'"
        self._result = value


class Metaclass_RotateAbsolute_GetResult(type):
    """Metaclass of service 'RotateAbsolute_GetResult'."""

    _TYPE_SUPPORT = None

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_GetResult')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._TYPE_SUPPORT = module.type_support_srv__action__rotate_absolute__get_result

            from turtlesim.action import _rotate_absolute
            if _rotate_absolute.Metaclass_RotateAbsolute_GetResult_Request._TYPE_SUPPORT is None:
                _rotate_absolute.Metaclass_RotateAbsolute_GetResult_Request.__import_type_support__()
            if _rotate_absolute.Metaclass_RotateAbsolute_GetResult_Response._TYPE_SUPPORT is None:
                _rotate_absolute.Metaclass_RotateAbsolute_GetResult_Response.__import_type_support__()


class RotateAbsolute_GetResult(metaclass=Metaclass_RotateAbsolute_GetResult):
    from turtlesim.action._rotate_absolute import RotateAbsolute_GetResult_Request as Request
    from turtlesim.action._rotate_absolute import RotateAbsolute_GetResult_Response as Response

    def __init__(self):
        raise NotImplementedError('Service classes can not be instantiated')


# Import statements for member types

# already imported above
# import rosidl_parser.definition


class Metaclass_RotateAbsolute_FeedbackMessage(type):
    """Metaclass of message 'RotateAbsolute_FeedbackMessage'."""

    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None

    __constants = {
    }

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_FeedbackMessage')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = module.create_ros_message_msg__action__rotate_absolute__feedback_message
            cls._CONVERT_FROM_PY = module.convert_from_py_msg__action__rotate_absolute__feedback_message
            cls._CONVERT_TO_PY = module.convert_to_py_msg__action__rotate_absolute__feedback_message
            cls._TYPE_SUPPORT = module.type_support_msg__action__rotate_absolute__feedback_message
            cls._DESTROY_ROS_MESSAGE = module.destroy_ros_message_msg__action__rotate_absolute__feedback_message

            from turtlesim.action import RotateAbsolute
            if RotateAbsolute.Feedback.__class__._TYPE_SUPPORT is None:
                RotateAbsolute.Feedback.__class__.__import_type_support__()

            from unique_identifier_msgs.msg import UUID
            if UUID.__class__._TYPE_SUPPORT is None:
                UUID.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        # list constant names here so that they appear in the help text of
        # the message class under "Data and other attributes defined here:"
        # as well as populate each message instance
        return {
        }


class RotateAbsolute_FeedbackMessage(metaclass=Metaclass_RotateAbsolute_FeedbackMessage):
    """Message class 'RotateAbsolute_FeedbackMessage'."""

    __slots__ = [
        '_goal_id',
        '_feedback',
    ]

    _fields_and_field_types = {
        'goal_id': 'unique_identifier_msgs/UUID',
        'feedback': 'turtlesim/RotateAbsolute_Feedback',
    }

    SLOT_TYPES = (
        rosidl_parser.definition.NamespacedType(['unique_identifier_msgs', 'msg'], 'UUID'),  # noqa: E501
        rosidl_parser.definition.NamespacedType(['turtlesim', 'action'], 'RotateAbsolute_Feedback'),  # noqa: E501
    )

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()), \
            'Invalid arguments passed to constructor: %s' % \
            ', '.join(sorted(k for k in kwargs.keys() if '_' + k not in self.__slots__))
        from unique_identifier_msgs.msg import UUID
        self.goal_id = kwargs.get('goal_id', UUID())
        from turtlesim.action._rotate_absolute import RotateAbsolute_Feedback
        self.feedback = kwargs.get('feedback', RotateAbsolute_Feedback())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            # We use Python array type for fields that can be directly stored
            # in them, and "normal" sequences for everything else.  If it is
            # a type that we store in an array, strip off the 'array' portion.
            if (
                isinstance(t, rosidl_parser.definition.AbstractSequence) and
                isinstance(t.value_type, rosidl_parser.definition.BasicType) and
                t.value_type.typename in ['float', 'double', 'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32', 'int64', 'uint64']
            ):
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.goal_id != other.goal_id:
            return False
        if self.feedback != other.feedback:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def goal_id(self):
        """Message field 'goal_id'."""
        return self._goal_id

    @goal_id.setter
    def goal_id(self, value):
        if __debug__:
            from unique_identifier_msgs.msg import UUID
            assert \
                isinstance(value, UUID), \
                "The 'goal_id' field must be a sub message of type 'UUID'"
        self._goal_id = value

    @property
    def feedback(self):
        """Message field 'feedback'."""
        return self._feedback

    @feedback.setter
    def feedback(self, value):
        if __debug__:
            from turtlesim.action._rotate_absolute import RotateAbsolute_Feedback
            assert \
                isinstance(value, RotateAbsolute_Feedback), \
                "The 'feedback' field must be a sub message of type 'RotateAbsolute_Feedback'"
        self._feedback = value


class Metaclass_RotateAbsolute(type):
    """Metaclass of action 'RotateAbsolute'."""

    _TYPE_SUPPORT = None

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._TYPE_SUPPORT = module.type_support_action__action__rotate_absolute

            from action_msgs.msg import _goal_status_array
            if _goal_status_array.Metaclass_GoalStatusArray._TYPE_SUPPORT is None:
                _goal_status_array.Metaclass_GoalStatusArray.__import_type_support__()
            from action_msgs.srv import _cancel_goal
            if _cancel_goal.Metaclass_CancelGoal._TYPE_SUPPORT is None:
                _cancel_goal.Metaclass_CancelGoal.__import_type_support__()

            from turtlesim.action import _rotate_absolute
            if _rotate_absolute.Metaclass_RotateAbsolute_SendGoal._TYPE_SUPPORT is None:
                _rotate_absolute.Metaclass_RotateAbsolute_SendGoal.__import_type_support__()
            if _rotate_absolute.Metaclass_RotateAbsolute_GetResult._TYPE_SUPPORT is None:
                _rotate_absolute.Metaclass_RotateAbsolute_GetResult.__import_type_support__()
            if _rotate_absolute.Metaclass_RotateAbsolute_FeedbackMessage._TYPE_SUPPORT is None:
                _rotate_absolute.Metaclass_RotateAbsolute_FeedbackMessage.__import_type_support__()


class RotateAbsolute(metaclass=Metaclass_RotateAbsolute):

    # The goal message defined in the action definition.
    from turtlesim.action._rotate_absolute import RotateAbsolute_Goal as Goal
    # The result message defined in the action definition.
    from turtlesim.action._rotate_absolute import RotateAbsolute_Result as Result
    # The feedback message defined in the action definition.
    from turtlesim.action._rotate_absolute import RotateAbsolute_Feedback as Feedback

    class Impl:

        # The send_goal service using a wrapped version of the goal message as a request.
        from turtlesim.action._rotate_absolute import RotateAbsolute_SendGoal as SendGoalService
        # The get_result service using a wrapped version of the result message as a response.
        from turtlesim.action._rotate_absolute import RotateAbsolute_GetResult as GetResultService
        # The feedback message with generic fields which wraps the feedback message.
        from turtlesim.action._rotate_absolute import RotateAbsolute_FeedbackMessage as FeedbackMessage

        # The generic service to cancel a goal.
        from action_msgs.srv._cancel_goal import CancelGoal as CancelGoalService
        # The generic message for get the status of a goal.
        from action_msgs.msg._goal_status_array import GoalStatusArray as GoalStatusMessage

    def __init__(self):
        raise NotImplementedError('Action classes can not be instantiated')

f55d887128fda6f2ad3180fe79c3c54d9648d3e4
<mask token>


class Metaclass_RotateAbsolute_GetResult_Request(type):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        return {}


class RotateAbsolute_GetResult_Request(metaclass=
    Metaclass_RotateAbsolute_GetResult_Request):
    """Message class 'RotateAbsolute_GetResult_Request'."""
    __slots__ = ['_goal_id']
    _fields_and_field_types = {'goal_id': 'unique_identifier_msgs/UUID'}
    SLOT_TYPES = rosidl_parser.definition.NamespacedType([
        'unique_identifier_msgs', 'msg'], 'UUID'),

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()
            ), 'Invalid arguments passed to constructor: %s' % ', '.join(sorted
            (k for k in kwargs.keys() if '_' + k not in self.__slots__))
        from unique_identifier_msgs.msg import UUID
        self.goal_id = kwargs.get('goal_id', UUID())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            if isinstance(t, rosidl_parser.definition.AbstractSequence
                ) and isinstance(t.value_type, rosidl_parser.definition.
                BasicType) and t.value_type.typename in ['float', 'double',
                'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32',
                'int64', 'uint64']:
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.goal_id != other.goal_id:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def goal_id(self):
        """Message field 'goal_id'."""
        return self._goal_id

    @goal_id.setter
    def goal_id(self, value):
        if __debug__:
            from unique_identifier_msgs.msg import UUID
            assert isinstance(value, UUID
                ), "The 'goal_id' field must be a sub message of type 'UUID'"
        self._goal_id = value


class Metaclass_RotateAbsolute_GetResult_Response(type):
    """Metaclass of message 'RotateAbsolute_GetResult_Response'."""
    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None
    __constants = {}

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_GetResult_Response')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = (module.
                create_ros_message_msg__action__rotate_absolute__get_result__response
                )
            cls._CONVERT_FROM_PY = (module.
                convert_from_py_msg__action__rotate_absolute__get_result__response
                )
            cls._CONVERT_TO_PY = (module.
                convert_to_py_msg__action__rotate_absolute__get_result__response
                )
            cls._TYPE_SUPPORT = (module.
                type_support_msg__action__rotate_absolute__get_result__response
                )
            cls._DESTROY_ROS_MESSAGE = (module.
                destroy_ros_message_msg__action__rotate_absolute__get_result__response
                )
            from turtlesim.action import RotateAbsolute
            if RotateAbsolute.Result.__class__._TYPE_SUPPORT is None:
                RotateAbsolute.Result.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        return {}


class RotateAbsolute_GetResult_Response(metaclass=
    Metaclass_RotateAbsolute_GetResult_Response):
    """Message class 'RotateAbsolute_GetResult_Response'."""
    __slots__ = ['_status', '_result']
    _fields_and_field_types = {'status': 'int8', 'result':
        'turtlesim/RotateAbsolute_Result'}
    SLOT_TYPES = rosidl_parser.definition.BasicType('int8'
        ), rosidl_parser.definition.NamespacedType(['turtlesim', 'action'],
        'RotateAbsolute_Result')

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()
            ), 'Invalid arguments passed to constructor: %s' % ', '.join(sorted
            (k for k in kwargs.keys() if '_' + k not in self.__slots__))
        self.status = kwargs.get('status', int())
        from turtlesim.action._rotate_absolute import RotateAbsolute_Result
        self.result = kwargs.get('result', RotateAbsolute_Result())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            if isinstance(t, rosidl_parser.definition.AbstractSequence
                ) and isinstance(t.value_type, rosidl_parser.definition.
                BasicType) and t.value_type.typename in ['float', 'double',
                'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32',
                'int64', 'uint64']:
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.status != other.status:
            return False
        if self.result != other.result:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def status(self):
        """Message field 'status'."""
        return self._status

    @status.setter
    def status(self, value):
        if __debug__:
            assert isinstance(value, int
                ), "The 'status' field must be of type 'int'"
            assert value >= -128 and value < 128, "The 'status' field must be an integer in [-128, 127]"
        self._status = value

    @property
    def result(self):
        """Message field 'result'."""
        return self._result

    @result.setter
    def result(self, value):
        if __debug__:
            from turtlesim.action._rotate_absolute import RotateAbsolute_Result
            assert isinstance(value, RotateAbsolute_Result
                ), "The 'result' field must be a sub message of type 'RotateAbsolute_Result'"
        self._result = value


class Metaclass_RotateAbsolute_GetResult(type):
    """Metaclass of service 'RotateAbsolute_GetResult'."""
    _TYPE_SUPPORT = None

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_GetResult')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._TYPE_SUPPORT = (module.
                type_support_srv__action__rotate_absolute__get_result)
            from turtlesim.action import _rotate_absolute
            if (_rotate_absolute.Metaclass_RotateAbsolute_GetResult_Request
                ._TYPE_SUPPORT is None):
                _rotate_absolute.Metaclass_RotateAbsolute_GetResult_Request.__import_type_support__(
                    )
            if (_rotate_absolute.
                Metaclass_RotateAbsolute_GetResult_Response._TYPE_SUPPORT is
                None):
                _rotate_absolute.Metaclass_RotateAbsolute_GetResult_Response.__import_type_support__(
                    )


class RotateAbsolute_GetResult(metaclass=Metaclass_RotateAbsolute_GetResult):
    from turtlesim.action._rotate_absolute import RotateAbsolute_GetResult_Request as Request
    from turtlesim.action._rotate_absolute import RotateAbsolute_GetResult_Response as Response

    def __init__(self):
        raise NotImplementedError('Service classes can not be instantiated')


class Metaclass_RotateAbsolute_FeedbackMessage(type):
    """Metaclass of message 'RotateAbsolute_FeedbackMessage'."""
    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None
    __constants = {}

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_FeedbackMessage')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = (module.
                create_ros_message_msg__action__rotate_absolute__feedback_message
                )
            cls._CONVERT_FROM_PY = (module.
                convert_from_py_msg__action__rotate_absolute__feedback_message)
            cls._CONVERT_TO_PY = (module.
                convert_to_py_msg__action__rotate_absolute__feedback_message)
            cls._TYPE_SUPPORT = (module.
                type_support_msg__action__rotate_absolute__feedback_message)
            cls._DESTROY_ROS_MESSAGE = (module.
                destroy_ros_message_msg__action__rotate_absolute__feedback_message
                )
            from turtlesim.action import RotateAbsolute
            if RotateAbsolute.Feedback.__class__._TYPE_SUPPORT is None:
                RotateAbsolute.Feedback.__class__.__import_type_support__()
            from unique_identifier_msgs.msg import UUID
            if UUID.__class__._TYPE_SUPPORT is None:
                UUID.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        return {}


class RotateAbsolute_FeedbackMessage(metaclass=
    Metaclass_RotateAbsolute_FeedbackMessage):
    """Message class 'RotateAbsolute_FeedbackMessage'."""
    __slots__ = ['_goal_id', '_feedback']
    _fields_and_field_types = {'goal_id': 'unique_identifier_msgs/UUID',
        'feedback': 'turtlesim/RotateAbsolute_Feedback'}
    SLOT_TYPES = rosidl_parser.definition.NamespacedType([
        'unique_identifier_msgs', 'msg'], 'UUID'
        ), rosidl_parser.definition.NamespacedType(['turtlesim', 'action'],
        'RotateAbsolute_Feedback')

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()
            ), 'Invalid arguments passed to constructor: %s' % ', '.join(sorted
            (k for k in kwargs.keys() if '_' + k not in self.__slots__))
        from unique_identifier_msgs.msg import UUID
        self.goal_id = kwargs.get('goal_id', UUID())
        from turtlesim.action._rotate_absolute import RotateAbsolute_Feedback
        self.feedback = kwargs.get('feedback', RotateAbsolute_Feedback())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            if isinstance(t, rosidl_parser.definition.AbstractSequence
                ) and isinstance(t.value_type, rosidl_parser.definition.
                BasicType) and t.value_type.typename in ['float', 'double',
                'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32',
                'int64', 'uint64']:
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.goal_id != other.goal_id:
            return False
        if self.feedback != other.feedback:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def goal_id(self):
        """Message field 'goal_id'."""
        return self._goal_id

    @goal_id.setter
    def goal_id(self, value):
        if __debug__:
            from unique_identifier_msgs.msg import UUID
            assert isinstance(value, UUID
                ), "The 'goal_id' field must be a sub message of type 'UUID'"
        self._goal_id = value

    @property
    def feedback(self):
        """Message field 'feedback'."""
        return self._feedback

    @feedback.setter
    def feedback(self, value):
        if __debug__:
            from turtlesim.action._rotate_absolute import RotateAbsolute_Feedback
            assert isinstance(value, RotateAbsolute_Feedback
                ), "The 'feedback' field must be a sub message of type 'RotateAbsolute_Feedback'"
        self._feedback = value


class Metaclass_RotateAbsolute(type):
    """Metaclass of action 'RotateAbsolute'."""
    _TYPE_SUPPORT = None

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger('turtlesim.action.RotateAbsolute')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._TYPE_SUPPORT = (module.
                type_support_action__action__rotate_absolute)
            from action_msgs.msg import _goal_status_array
            if (_goal_status_array.Metaclass_GoalStatusArray._TYPE_SUPPORT is
                None):
                _goal_status_array.Metaclass_GoalStatusArray.__import_type_support__(
                    )
            from action_msgs.srv import _cancel_goal
            if _cancel_goal.Metaclass_CancelGoal._TYPE_SUPPORT is None:
                _cancel_goal.Metaclass_CancelGoal.__import_type_support__()
            from turtlesim.action import _rotate_absolute
            if (_rotate_absolute.Metaclass_RotateAbsolute_SendGoal.
                _TYPE_SUPPORT is None):
                _rotate_absolute.Metaclass_RotateAbsolute_SendGoal.__import_type_support__(
                    )
            if (_rotate_absolute.Metaclass_RotateAbsolute_GetResult.
                _TYPE_SUPPORT is None):
                _rotate_absolute.Metaclass_RotateAbsolute_GetResult.__import_type_support__(
                    )
            if (_rotate_absolute.Metaclass_RotateAbsolute_FeedbackMessage.
                _TYPE_SUPPORT is None):
                _rotate_absolute.Metaclass_RotateAbsolute_FeedbackMessage.__import_type_support__(
                    )


class RotateAbsolute(metaclass=Metaclass_RotateAbsolute):
    from turtlesim.action._rotate_absolute import RotateAbsolute_Goal as Goal
    from turtlesim.action._rotate_absolute import RotateAbsolute_Result as Result
    from turtlesim.action._rotate_absolute import RotateAbsolute_Feedback as Feedback


    class Impl:
        from turtlesim.action._rotate_absolute import RotateAbsolute_SendGoal as SendGoalService
        from turtlesim.action._rotate_absolute import RotateAbsolute_GetResult as GetResultService
        from turtlesim.action._rotate_absolute import RotateAbsolute_FeedbackMessage as FeedbackMessage
        from action_msgs.srv._cancel_goal import CancelGoal as CancelGoalService
        from action_msgs.msg._goal_status_array import GoalStatusArray as GoalStatusMessage

    def __init__(self):
        raise NotImplementedError('Action classes can not be instantiated')

<mask token>


class RotateAbsolute_Feedback(metaclass=Metaclass_RotateAbsolute_Feedback):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            if isinstance(t, rosidl_parser.definition.AbstractSequence
                ) and isinstance(t.value_type, rosidl_parser.definition.
                BasicType) and t.value_type.typename in ['float', 'double',
                'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32',
                'int64', 'uint64']:
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.remaining != other.remaining:
            return False
        return True
    <mask token>

    @property
    def remaining(self):
        """Message field 'remaining'."""
        return self._remaining

    @remaining.setter
    def remaining(self, value):
        if __debug__:
            assert isinstance(value, float
                ), "The 'remaining' field must be of type 'float'"
        self._remaining = value


class Metaclass_RotateAbsolute_SendGoal_Request(type):
    """Metaclass of message 'RotateAbsolute_SendGoal_Request'."""
    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None
    __constants = {}

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_SendGoal_Request')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = (module.
                create_ros_message_msg__action__rotate_absolute__send_goal__request
                )
            cls._CONVERT_FROM_PY = (module.
                convert_from_py_msg__action__rotate_absolute__send_goal__request
                )
            cls._CONVERT_TO_PY = (module.
                convert_to_py_msg__action__rotate_absolute__send_goal__request)
            cls._TYPE_SUPPORT = (module.
                type_support_msg__action__rotate_absolute__send_goal__request)
            cls._DESTROY_ROS_MESSAGE = (module.
                destroy_ros_message_msg__action__rotate_absolute__send_goal__request
                )
            from turtlesim.action import RotateAbsolute
            if RotateAbsolute.Goal.__class__._TYPE_SUPPORT is None:
                RotateAbsolute.Goal.__class__.__import_type_support__()
            from unique_identifier_msgs.msg import UUID
            if UUID.__class__._TYPE_SUPPORT is None:
                UUID.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        return {}


class RotateAbsolute_SendGoal_Request(metaclass=
    Metaclass_RotateAbsolute_SendGoal_Request):
    """Message class 'RotateAbsolute_SendGoal_Request'."""
    __slots__ = ['_goal_id', '_goal']
    _fields_and_field_types = {'goal_id': 'unique_identifier_msgs/UUID',
        'goal': 'turtlesim/RotateAbsolute_Goal'}
    SLOT_TYPES = rosidl_parser.definition.NamespacedType([
        'unique_identifier_msgs', 'msg'], 'UUID'
        ), rosidl_parser.definition.NamespacedType(['turtlesim', 'action'],
        'RotateAbsolute_Goal')

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()
            ), 'Invalid arguments passed to constructor: %s' % ', '.join(sorted
            (k for k in kwargs.keys() if '_' + k not in self.__slots__))
        from unique_identifier_msgs.msg import UUID
        self.goal_id = kwargs.get('goal_id', UUID())
        from turtlesim.action._rotate_absolute import RotateAbsolute_Goal
        self.goal = kwargs.get('goal', RotateAbsolute_Goal())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            if isinstance(t, rosidl_parser.definition.AbstractSequence
                ) and isinstance(t.value_type, rosidl_parser.definition.
                BasicType) and t.value_type.typename in ['float', 'double',
                'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32',
                'int64', 'uint64']:
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.goal_id != other.goal_id:
            return False
        if self.goal != other.goal:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def goal_id(self):
        """Message field 'goal_id'."""
        return self._goal_id

    @goal_id.setter
    def goal_id(self, value):
        if __debug__:
            from unique_identifier_msgs.msg import UUID
            assert isinstance(value, UUID
                ), "The 'goal_id' field must be a sub message of type 'UUID'"
        self._goal_id = value

    @property
    def goal(self):
        """Message field 'goal'."""
        return self._goal

    @goal.setter
    def goal(self, value):
        if __debug__:
            from turtlesim.action._rotate_absolute import RotateAbsolute_Goal
            assert isinstance(value, RotateAbsolute_Goal
                ), "The 'goal' field must be a sub message of type 'RotateAbsolute_Goal'"
        self._goal = value


class Metaclass_RotateAbsolute_SendGoal_Response(type):
    """Metaclass of message 'RotateAbsolute_SendGoal_Response'."""
    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None
    __constants = {}

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_SendGoal_Response')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = (module.
                create_ros_message_msg__action__rotate_absolute__send_goal__response
                )
            cls._CONVERT_FROM_PY = (module.
                convert_from_py_msg__action__rotate_absolute__send_goal__response
                )
            cls._CONVERT_TO_PY = (module.
                convert_to_py_msg__action__rotate_absolute__send_goal__response
                )
            cls._TYPE_SUPPORT = (module.
                type_support_msg__action__rotate_absolute__send_goal__response)
            cls._DESTROY_ROS_MESSAGE = (module.
                destroy_ros_message_msg__action__rotate_absolute__send_goal__response
                )
            from builtin_interfaces.msg import Time
            if Time.__class__._TYPE_SUPPORT is None:
                Time.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        return {}


class RotateAbsolute_SendGoal_Response(metaclass=
    Metaclass_RotateAbsolute_SendGoal_Response):
    """Message class 'RotateAbsolute_SendGoal_Response'."""
    __slots__ = ['_accepted', '_stamp']
    _fields_and_field_types = {'accepted': 'boolean', 'stamp':
        'builtin_interfaces/Time'}
    SLOT_TYPES = rosidl_parser.definition.BasicType('boolean'
        ), rosidl_parser.definition.NamespacedType(['builtin_interfaces',
        'msg'], 'Time')

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()
            ), 'Invalid arguments passed to constructor: %s' % ', '.join(sorted
            (k for k in kwargs.keys() if '_' + k not in self.__slots__))
        self.accepted = kwargs.get('accepted', bool())
        from builtin_interfaces.msg import Time
        self.stamp = kwargs.get('stamp', Time())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            if isinstance(t, rosidl_parser.definition.AbstractSequence
                ) and isinstance(t.value_type, rosidl_parser.definition.
                BasicType) and t.value_type.typename in ['float', 'double',
                'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32',
                'int64', 'uint64']:
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.accepted != other.accepted:
            return False
        if self.stamp != other.stamp:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def accepted(self):
        """Message field 'accepted'."""
        return self._accepted

    @accepted.setter
    def accepted(self, value):
        if __debug__:
            assert isinstance(value, bool
                ), "The 'accepted' field must be of type 'bool'"
        self._accepted = value

    @property
    def stamp(self):
        """Message field 'stamp'."""
        return self._stamp

    @stamp.setter
    def stamp(self, value):
        if __debug__:
            from builtin_interfaces.msg import Time
            assert isinstance(value, Time
                ), "The 'stamp' field must be a sub message of type 'Time'"
        self._stamp = value


class Metaclass_RotateAbsolute_SendGoal(type):
    """Metaclass of service 'RotateAbsolute_SendGoal'."""
    _TYPE_SUPPORT = None

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_SendGoal')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._TYPE_SUPPORT = (module.
                type_support_srv__action__rotate_absolute__send_goal)
            from turtlesim.action import _rotate_absolute
            if (_rotate_absolute.Metaclass_RotateAbsolute_SendGoal_Request.
                _TYPE_SUPPORT is None):
                _rotate_absolute.Metaclass_RotateAbsolute_SendGoal_Request.__import_type_support__(
                    )
            if (_rotate_absolute.Metaclass_RotateAbsolute_SendGoal_Response
                ._TYPE_SUPPORT is None):
                _rotate_absolute.Metaclass_RotateAbsolute_SendGoal_Response.__import_type_support__(
                    )


class RotateAbsolute_SendGoal(metaclass=Metaclass_RotateAbsolute_SendGoal):
    from turtlesim.action._rotate_absolute import RotateAbsolute_SendGoal_Request as Request
    from turtlesim.action._rotate_absolute import RotateAbsolute_SendGoal_Response as Response

    def __init__(self):
        raise NotImplementedError('Service classes can not be instantiated')


class Metaclass_RotateAbsolute_GetResult_Request(type):
    """Metaclass of message 'RotateAbsolute_GetResult_Request'."""
    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None
    __constants = {}

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_GetResult_Request')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = (module.
                create_ros_message_msg__action__rotate_absolute__get_result__request
                )
            cls._CONVERT_FROM_PY = (module.
                convert_from_py_msg__action__rotate_absolute__get_result__request
                )
            cls._CONVERT_TO_PY = (module.
                convert_to_py_msg__action__rotate_absolute__get_result__request
                )
            cls._TYPE_SUPPORT = (module.
                type_support_msg__action__rotate_absolute__get_result__request)
            cls._DESTROY_ROS_MESSAGE = (module.
                destroy_ros_message_msg__action__rotate_absolute__get_result__request
                )
            from unique_identifier_msgs.msg import UUID
            if UUID.__class__._TYPE_SUPPORT is None:
                UUID.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        return {}


class RotateAbsolute_GetResult_Request(metaclass=
    Metaclass_RotateAbsolute_GetResult_Request):
    """Message class 'RotateAbsolute_GetResult_Request'."""
    __slots__ = ['_goal_id']
    _fields_and_field_types = {'goal_id': 'unique_identifier_msgs/UUID'}
    SLOT_TYPES = rosidl_parser.definition.NamespacedType([
        'unique_identifier_msgs', 'msg'], 'UUID'),

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()
            ), 'Invalid arguments passed to constructor: %s' % ', '.join(sorted
            (k for k in kwargs.keys() if '_' + k not in self.__slots__))
        from unique_identifier_msgs.msg import UUID
        self.goal_id = kwargs.get('goal_id', UUID())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            if isinstance(t, rosidl_parser.definition.AbstractSequence
                ) and isinstance(t.value_type, rosidl_parser.definition.
                BasicType) and t.value_type.typename in ['float', 'double',
                'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32',
                'int64', 'uint64']:
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.goal_id != other.goal_id:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def goal_id(self):
        """Message field 'goal_id'."""
        return self._goal_id

    @goal_id.setter
    def goal_id(self, value):
        if __debug__:
            from unique_identifier_msgs.msg import UUID
            assert isinstance(value, UUID
                ), "The 'goal_id' field must be a sub message of type 'UUID'"
        self._goal_id = value


class Metaclass_RotateAbsolute_GetResult_Response(type):
    """Metaclass of message 'RotateAbsolute_GetResult_Response'."""
    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None
    __constants = {}

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_GetResult_Response')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = (module.
                create_ros_message_msg__action__rotate_absolute__get_result__response
                )
            cls._CONVERT_FROM_PY = (module.
                convert_from_py_msg__action__rotate_absolute__get_result__response
                )
            cls._CONVERT_TO_PY = (module.
                convert_to_py_msg__action__rotate_absolute__get_result__response
                )
            cls._TYPE_SUPPORT = (module.
                type_support_msg__action__rotate_absolute__get_result__response
                )
            cls._DESTROY_ROS_MESSAGE = (module.
                destroy_ros_message_msg__action__rotate_absolute__get_result__response
                )
            from turtlesim.action import RotateAbsolute
            if RotateAbsolute.Result.__class__._TYPE_SUPPORT is None:
                RotateAbsolute.Result.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        return {}


class RotateAbsolute_GetResult_Response(metaclass=
    Metaclass_RotateAbsolute_GetResult_Response):
    """Message class 'RotateAbsolute_GetResult_Response'."""
    __slots__ = ['_status', '_result']
    _fields_and_field_types = {'status': 'int8', 'result':
        'turtlesim/RotateAbsolute_Result'}
    SLOT_TYPES = rosidl_parser.definition.BasicType('int8'
        ), rosidl_parser.definition.NamespacedType(['turtlesim', 'action'],
        'RotateAbsolute_Result')

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()
            ), 'Invalid arguments passed to constructor: %s' % ', '.join(sorted
            (k for k in kwargs.keys() if '_' + k not in self.__slots__))
        self.status = kwargs.get('status', int())
        from turtlesim.action._rotate_absolute import RotateAbsolute_Result
        self.result = kwargs.get('result', RotateAbsolute_Result())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            if isinstance(t, rosidl_parser.definition.AbstractSequence
                ) and isinstance(t.value_type, rosidl_parser.definition.
                BasicType) and t.value_type.typename in ['float', 'double',
                'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32',
                'int64', 'uint64']:
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.status != other.status:
            return False
        if self.result != other.result:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def status(self):
        """Message field 'status'."""
        return self._status

    @status.setter
    def status(self, value):
        if __debug__:
            assert isinstance(value, int
                ), "The 'status' field must be of type 'int'"
            assert value >= -128 and value < 128, "The 'status' field must be an integer in [-128, 127]"
        self._status = value

    @property
    def result(self):
        """Message field 'result'."""
        return self._result

    @result.setter
    def result(self, value):
        if __debug__:
            from turtlesim.action._rotate_absolute import RotateAbsolute_Result
            assert isinstance(value, RotateAbsolute_Result
                ), "The 'result' field must be a sub message of type 'RotateAbsolute_Result'"
        self._result = value


class Metaclass_RotateAbsolute_GetResult(type):
    """Metaclass of service 'RotateAbsolute_GetResult'."""
    _TYPE_SUPPORT = None

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_GetResult')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._TYPE_SUPPORT = (module.
                type_support_srv__action__rotate_absolute__get_result)
            from turtlesim.action import _rotate_absolute
            if (_rotate_absolute.Metaclass_RotateAbsolute_GetResult_Request
                ._TYPE_SUPPORT is None):
                _rotate_absolute.Metaclass_RotateAbsolute_GetResult_Request.__import_type_support__(
                    )
            if (_rotate_absolute.
                Metaclass_RotateAbsolute_GetResult_Response._TYPE_SUPPORT is
                None):
                _rotate_absolute.Metaclass_RotateAbsolute_GetResult_Response.__import_type_support__(
                    )


class RotateAbsolute_GetResult(metaclass=Metaclass_RotateAbsolute_GetResult):
    from turtlesim.action._rotate_absolute import RotateAbsolute_GetResult_Request as Request
    from turtlesim.action._rotate_absolute import RotateAbsolute_GetResult_Response as Response

    def __init__(self):
        raise NotImplementedError('Service classes can not be instantiated')


class Metaclass_RotateAbsolute_FeedbackMessage(type):
    """Metaclass of message 'RotateAbsolute_FeedbackMessage'."""
    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None
    __constants = {}

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_FeedbackMessage')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = (module.
                create_ros_message_msg__action__rotate_absolute__feedback_message
                )
            cls._CONVERT_FROM_PY = (module.
                convert_from_py_msg__action__rotate_absolute__feedback_message)
            cls._CONVERT_TO_PY = (module.
                convert_to_py_msg__action__rotate_absolute__feedback_message)
            cls._TYPE_SUPPORT = (module.
                type_support_msg__action__rotate_absolute__feedback_message)
            cls._DESTROY_ROS_MESSAGE = (module.
                destroy_ros_message_msg__action__rotate_absolute__feedback_message
                )
            from turtlesim.action import RotateAbsolute
            if RotateAbsolute.Feedback.__class__._TYPE_SUPPORT is None:
                RotateAbsolute.Feedback.__class__.__import_type_support__()
            from unique_identifier_msgs.msg import UUID
            if UUID.__class__._TYPE_SUPPORT is None:
                UUID.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        return {}


class RotateAbsolute_FeedbackMessage(metaclass=
    Metaclass_RotateAbsolute_FeedbackMessage):
    """Message class 'RotateAbsolute_FeedbackMessage'."""
    __slots__ = ['_goal_id', '_feedback']
    _fields_and_field_types = {'goal_id': 'unique_identifier_msgs/UUID',
        'feedback': 'turtlesim/RotateAbsolute_Feedback'}
    SLOT_TYPES = rosidl_parser.definition.NamespacedType([
        'unique_identifier_msgs', 'msg'], 'UUID'
        ), rosidl_parser.definition.NamespacedType(['turtlesim', 'action'],
        'RotateAbsolute_Feedback')

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()
            ), 'Invalid arguments passed to constructor: %s' % ', '.join(sorted
            (k for k in kwargs.keys() if '_' + k not in self.__slots__))
        from unique_identifier_msgs.msg import UUID
        self.goal_id = kwargs.get('goal_id', UUID())
        from turtlesim.action._rotate_absolute import RotateAbsolute_Feedback
        self.feedback = kwargs.get('feedback', RotateAbsolute_Feedback())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            if isinstance(t, rosidl_parser.definition.AbstractSequence
                ) and isinstance(t.value_type, rosidl_parser.definition.
                BasicType) and t.value_type.typename in ['float', 'double',
                'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32',
                'int64', 'uint64']:
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.goal_id != other.goal_id:
            return False
        if self.feedback != other.feedback:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def goal_id(self):
        """Message field 'goal_id'."""
        return self._goal_id

    @goal_id.setter
    def goal_id(self, value):
        if __debug__:
            from unique_identifier_msgs.msg import UUID
            assert isinstance(value, UUID
                ), "The 'goal_id' field must be a sub message of type 'UUID'"
        self._goal_id = value

    @property
    def feedback(self):
        """Message field 'feedback'."""
        return self._feedback

    @feedback.setter
    def feedback(self, value):
        if __debug__:
            from turtlesim.action._rotate_absolute import RotateAbsolute_Feedback
            assert isinstance(value, RotateAbsolute_Feedback
                ), "The 'feedback' field must be a sub message of type 'RotateAbsolute_Feedback'"
        self._feedback = value


class Metaclass_RotateAbsolute(type):
    """Metaclass of action 'RotateAbsolute'."""
    _TYPE_SUPPORT = None

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger('turtlesim.action.RotateAbsolute')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._TYPE_SUPPORT = (module.
                type_support_action__action__rotate_absolute)
            from action_msgs.msg import _goal_status_array
            if (_goal_status_array.Metaclass_GoalStatusArray._TYPE_SUPPORT is
                None):
                _goal_status_array.Metaclass_GoalStatusArray.__import_type_support__(
                    )
            from action_msgs.srv import _cancel_goal
            if _cancel_goal.Metaclass_CancelGoal._TYPE_SUPPORT is None:
                _cancel_goal.Metaclass_CancelGoal.__import_type_support__()
            from turtlesim.action import _rotate_absolute
            if (_rotate_absolute.Metaclass_RotateAbsolute_SendGoal.
                _TYPE_SUPPORT is None):
                _rotate_absolute.Metaclass_RotateAbsolute_SendGoal.__import_type_support__(
                    )
            if (_rotate_absolute.Metaclass_RotateAbsolute_GetResult.
                _TYPE_SUPPORT is None):
                _rotate_absolute.Metaclass_RotateAbsolute_GetResult.__import_type_support__(
                    )
            if (_rotate_absolute.Metaclass_RotateAbsolute_FeedbackMessage.
                _TYPE_SUPPORT is None):
                _rotate_absolute.Metaclass_RotateAbsolute_FeedbackMessage.__import_type_support__(
                    )


class RotateAbsolute(metaclass=Metaclass_RotateAbsolute):
    from turtlesim.action._rotate_absolute import RotateAbsolute_Goal as Goal
    from turtlesim.action._rotate_absolute import RotateAbsolute_Result as Result
    from turtlesim.action._rotate_absolute import RotateAbsolute_Feedback as Feedback


    class Impl:
        from turtlesim.action._rotate_absolute import RotateAbsolute_SendGoal as SendGoalService
        from turtlesim.action._rotate_absolute import RotateAbsolute_GetResult as GetResultService
        from turtlesim.action._rotate_absolute import RotateAbsolute_FeedbackMessage as FeedbackMessage
        from action_msgs.srv._cancel_goal import CancelGoal as CancelGoalService
        from action_msgs.msg._goal_status_array import GoalStatusArray as GoalStatusMessage

    def __init__(self):
        raise NotImplementedError('Action classes can not be instantiated')

<mask token>


class Metaclass_RotateAbsolute_Feedback(type):
    """Metaclass of message 'RotateAbsolute_Feedback'."""
    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None
    __constants = {}

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_Feedback')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = (module.
                create_ros_message_msg__action__rotate_absolute__feedback)
            cls._CONVERT_FROM_PY = (module.
                convert_from_py_msg__action__rotate_absolute__feedback)
            cls._CONVERT_TO_PY = (module.
                convert_to_py_msg__action__rotate_absolute__feedback)
            cls._TYPE_SUPPORT = (module.
                type_support_msg__action__rotate_absolute__feedback)
            cls._DESTROY_ROS_MESSAGE = (module.
                destroy_ros_message_msg__action__rotate_absolute__feedback)

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        return {}


class RotateAbsolute_Feedback(metaclass=Metaclass_RotateAbsolute_Feedback):
    """Message class 'RotateAbsolute_Feedback'."""
    __slots__ = ['_remaining']
    _fields_and_field_types = {'remaining': 'float'}
    SLOT_TYPES = rosidl_parser.definition.BasicType('float'),

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()
            ), 'Invalid arguments passed to constructor: %s' % ', '.join(sorted
            (k for k in kwargs.keys() if '_' + k not in self.__slots__))
        self.remaining = kwargs.get('remaining', float())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            if isinstance(t, rosidl_parser.definition.AbstractSequence
                ) and isinstance(t.value_type, rosidl_parser.definition.
                BasicType) and t.value_type.typename in ['float', 'double',
                'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32',
                'int64', 'uint64']:
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.remaining != other.remaining:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def remaining(self):
        """Message field 'remaining'."""
        return self._remaining

    @remaining.setter
    def remaining(self, value):
        if __debug__:
            assert isinstance(value, float
                ), "The 'remaining' field must be of type 'float'"
        self._remaining = value


class Metaclass_RotateAbsolute_SendGoal_Request(type):
    """Metaclass of message 'RotateAbsolute_SendGoal_Request'."""
    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None
    __constants = {}

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_SendGoal_Request')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = (module.
                create_ros_message_msg__action__rotate_absolute__send_goal__request
                )
            cls._CONVERT_FROM_PY = (module.
                convert_from_py_msg__action__rotate_absolute__send_goal__request
                )
            cls._CONVERT_TO_PY = (module.
                convert_to_py_msg__action__rotate_absolute__send_goal__request)
            cls._TYPE_SUPPORT = (module.
                type_support_msg__action__rotate_absolute__send_goal__request)
            cls._DESTROY_ROS_MESSAGE = (module.
                destroy_ros_message_msg__action__rotate_absolute__send_goal__request
                )
            from turtlesim.action import RotateAbsolute
            if RotateAbsolute.Goal.__class__._TYPE_SUPPORT is None:
                RotateAbsolute.Goal.__class__.__import_type_support__()
            from unique_identifier_msgs.msg import UUID
            if UUID.__class__._TYPE_SUPPORT is None:
                UUID.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        return {}


class RotateAbsolute_SendGoal_Request(metaclass=
    Metaclass_RotateAbsolute_SendGoal_Request):
    """Message class 'RotateAbsolute_SendGoal_Request'."""
    __slots__ = ['_goal_id', '_goal']
    _fields_and_field_types = {'goal_id': 'unique_identifier_msgs/UUID',
        'goal': 'turtlesim/RotateAbsolute_Goal'}
    SLOT_TYPES = rosidl_parser.definition.NamespacedType([
        'unique_identifier_msgs', 'msg'], 'UUID'
        ), rosidl_parser.definition.NamespacedType(['turtlesim', 'action'],
        'RotateAbsolute_Goal')

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()
            ), 'Invalid arguments passed to constructor: %s' % ', '.join(sorted
            (k for k in kwargs.keys() if '_' + k not in self.__slots__))
        from unique_identifier_msgs.msg import UUID
        self.goal_id = kwargs.get('goal_id', UUID())
        from turtlesim.action._rotate_absolute import RotateAbsolute_Goal
        self.goal = kwargs.get('goal', RotateAbsolute_Goal())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            if isinstance(t, rosidl_parser.definition.AbstractSequence
                ) and isinstance(t.value_type, rosidl_parser.definition.
                BasicType) and t.value_type.typename in ['float', 'double',
                'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32',
                'int64', 'uint64']:
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.goal_id != other.goal_id:
            return False
        if self.goal != other.goal:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def goal_id(self):
        """Message field 'goal_id'."""
        return self._goal_id

    @goal_id.setter
    def goal_id(self, value):
        if __debug__:
            from unique_identifier_msgs.msg import UUID
            assert isinstance(value, UUID
                ), "The 'goal_id' field must be a sub message of type 'UUID'"
        self._goal_id = value

    @property
    def goal(self):
        """Message field 'goal'."""
        return self._goal

    @goal.setter
    def goal(self, value):
        if __debug__:
            from turtlesim.action._rotate_absolute import RotateAbsolute_Goal
            assert isinstance(value, RotateAbsolute_Goal
                ), "The 'goal' field must be a sub message of type 'RotateAbsolute_Goal'"
        self._goal = value


class Metaclass_RotateAbsolute_SendGoal_Response(type):
    """Metaclass of message 'RotateAbsolute_SendGoal_Response'."""
    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None
    __constants = {}

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_SendGoal_Response')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = (module.
                create_ros_message_msg__action__rotate_absolute__send_goal__response
                )
            cls._CONVERT_FROM_PY = (module.
                convert_from_py_msg__action__rotate_absolute__send_goal__response
                )
            cls._CONVERT_TO_PY = (module.
                convert_to_py_msg__action__rotate_absolute__send_goal__response
                )
            cls._TYPE_SUPPORT = (module.
                type_support_msg__action__rotate_absolute__send_goal__response)
            cls._DESTROY_ROS_MESSAGE = (module.
                destroy_ros_message_msg__action__rotate_absolute__send_goal__response
                )
            from builtin_interfaces.msg import Time
            if Time.__class__._TYPE_SUPPORT is None:
                Time.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        return {}


class RotateAbsolute_SendGoal_Response(metaclass=
    Metaclass_RotateAbsolute_SendGoal_Response):
    """Message class 'RotateAbsolute_SendGoal_Response'."""
    __slots__ = ['_accepted', '_stamp']
    _fields_and_field_types = {'accepted': 'boolean', 'stamp':
        'builtin_interfaces/Time'}
    SLOT_TYPES = rosidl_parser.definition.BasicType('boolean'
        ), rosidl_parser.definition.NamespacedType(['builtin_interfaces',
        'msg'], 'Time')

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()
            ), 'Invalid arguments passed to constructor: %s' % ', '.join(sorted
            (k for k in kwargs.keys() if '_' + k not in self.__slots__))
        self.accepted = kwargs.get('accepted', bool())
        from builtin_interfaces.msg import Time
        self.stamp = kwargs.get('stamp', Time())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            if isinstance(t, rosidl_parser.definition.AbstractSequence
                ) and isinstance(t.value_type, rosidl_parser.definition.
                BasicType) and t.value_type.typename in ['float', 'double',
                'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32',
                'int64', 'uint64']:
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.accepted != other.accepted:
            return False
        if self.stamp != other.stamp:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def accepted(self):
        """Message field 'accepted'."""
        return self._accepted

    @accepted.setter
    def accepted(self, value):
        if __debug__:
            assert isinstance(value, bool
                ), "The 'accepted' field must be of type 'bool'"
        self._accepted = value

    @property
    def stamp(self):
        """Message field 'stamp'."""
        return self._stamp

    @stamp.setter
    def stamp(self, value):
        if __debug__:
            from builtin_interfaces.msg import Time
            assert isinstance(value, Time
                ), "The 'stamp' field must be a sub message of type 'Time'"
        self._stamp = value


class Metaclass_RotateAbsolute_SendGoal(type):
    """Metaclass of service 'RotateAbsolute_SendGoal'."""
    _TYPE_SUPPORT = None

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_SendGoal')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._TYPE_SUPPORT = (module.
                type_support_srv__action__rotate_absolute__send_goal)
            from turtlesim.action import _rotate_absolute
            if (_rotate_absolute.Metaclass_RotateAbsolute_SendGoal_Request.
                _TYPE_SUPPORT is None):
                _rotate_absolute.Metaclass_RotateAbsolute_SendGoal_Request.__import_type_support__(
                    )
            if (_rotate_absolute.Metaclass_RotateAbsolute_SendGoal_Response
                ._TYPE_SUPPORT is None):
                _rotate_absolute.Metaclass_RotateAbsolute_SendGoal_Response.__import_type_support__(
                    )


class RotateAbsolute_SendGoal(metaclass=Metaclass_RotateAbsolute_SendGoal):
    from turtlesim.action._rotate_absolute import RotateAbsolute_SendGoal_Request as Request
    from turtlesim.action._rotate_absolute import RotateAbsolute_SendGoal_Response as Response

    def __init__(self):
        raise NotImplementedError('Service classes can not be instantiated')


class Metaclass_RotateAbsolute_GetResult_Request(type):
    """Metaclass of message 'RotateAbsolute_GetResult_Request'."""
    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None
    __constants = {}

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_GetResult_Request')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = (module.
                create_ros_message_msg__action__rotate_absolute__get_result__request
                )
            cls._CONVERT_FROM_PY = (module.
                convert_from_py_msg__action__rotate_absolute__get_result__request
                )
            cls._CONVERT_TO_PY = (module.
                convert_to_py_msg__action__rotate_absolute__get_result__request
                )
            cls._TYPE_SUPPORT = (module.
                type_support_msg__action__rotate_absolute__get_result__request)
            cls._DESTROY_ROS_MESSAGE = (module.
                destroy_ros_message_msg__action__rotate_absolute__get_result__request
                )
            from unique_identifier_msgs.msg import UUID
            if UUID.__class__._TYPE_SUPPORT is None:
                UUID.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        return {}


class RotateAbsolute_GetResult_Request(metaclass=
    Metaclass_RotateAbsolute_GetResult_Request):
    """Message class 'RotateAbsolute_GetResult_Request'."""
    __slots__ = ['_goal_id']
    _fields_and_field_types = {'goal_id': 'unique_identifier_msgs/UUID'}
    SLOT_TYPES = rosidl_parser.definition.NamespacedType([
        'unique_identifier_msgs', 'msg'], 'UUID'),

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()
            ), 'Invalid arguments passed to constructor: %s' % ', '.join(sorted
            (k for k in kwargs.keys() if '_' + k not in self.__slots__))
        from unique_identifier_msgs.msg import UUID
        self.goal_id = kwargs.get('goal_id', UUID())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            if isinstance(t, rosidl_parser.definition.AbstractSequence
                ) and isinstance(t.value_type, rosidl_parser.definition.
                BasicType) and t.value_type.typename in ['float', 'double',
                'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32',
                'int64', 'uint64']:
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.goal_id != other.goal_id:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def goal_id(self):
        """Message field 'goal_id'."""
        return self._goal_id

    @goal_id.setter
    def goal_id(self, value):
        if __debug__:
            from unique_identifier_msgs.msg import UUID
            assert isinstance(value, UUID
                ), "The 'goal_id' field must be a sub message of type 'UUID'"
        self._goal_id = value


class Metaclass_RotateAbsolute_GetResult_Response(type):
    """Metaclass of message 'RotateAbsolute_GetResult_Response'."""
    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None
    __constants = {}

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_GetResult_Response')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = (module.
                create_ros_message_msg__action__rotate_absolute__get_result__response
                )
            cls._CONVERT_FROM_PY = (module.
                convert_from_py_msg__action__rotate_absolute__get_result__response
                )
            cls._CONVERT_TO_PY = (module.
                convert_to_py_msg__action__rotate_absolute__get_result__response
                )
            cls._TYPE_SUPPORT = (module.
                type_support_msg__action__rotate_absolute__get_result__response
                )
            cls._DESTROY_ROS_MESSAGE = (module.
                destroy_ros_message_msg__action__rotate_absolute__get_result__response
                )
            from turtlesim.action import RotateAbsolute
            if RotateAbsolute.Result.__class__._TYPE_SUPPORT is None:
                RotateAbsolute.Result.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        return {}


class RotateAbsolute_GetResult_Response(metaclass=
    Metaclass_RotateAbsolute_GetResult_Response):
    """Message class 'RotateAbsolute_GetResult_Response'."""
    __slots__ = ['_status', '_result']
    _fields_and_field_types = {'status': 'int8', 'result':
        'turtlesim/RotateAbsolute_Result'}
    SLOT_TYPES = rosidl_parser.definition.BasicType('int8'
        ), rosidl_parser.definition.NamespacedType(['turtlesim', 'action'],
        'RotateAbsolute_Result')

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()
            ), 'Invalid arguments passed to constructor: %s' % ', '.join(sorted
            (k for k in kwargs.keys() if '_' + k not in self.__slots__))
        self.status = kwargs.get('status', int())
        from turtlesim.action._rotate_absolute import RotateAbsolute_Result
        self.result = kwargs.get('result', RotateAbsolute_Result())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            if isinstance(t, rosidl_parser.definition.AbstractSequence
                ) and isinstance(t.value_type, rosidl_parser.definition.
                BasicType) and t.value_type.typename in ['float', 'double',
                'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32',
                'int64', 'uint64']:
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.status != other.status:
            return False
        if self.result != other.result:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def status(self):
        """Message field 'status'."""
        return self._status

    @status.setter
    def status(self, value):
        if __debug__:
            assert isinstance(value, int
                ), "The 'status' field must be of type 'int'"
            assert value >= -128 and value < 128, "The 'status' field must be an integer in [-128, 127]"
        self._status = value

    @property
    def result(self):
        """Message field 'result'."""
        return self._result

    @result.setter
    def result(self, value):
        if __debug__:
            from turtlesim.action._rotate_absolute import RotateAbsolute_Result
            assert isinstance(value, RotateAbsolute_Result
                ), "The 'result' field must be a sub message of type 'RotateAbsolute_Result'"
        self._result = value


class Metaclass_RotateAbsolute_GetResult(type):
    """Metaclass of service 'RotateAbsolute_GetResult'."""
    _TYPE_SUPPORT = None

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_GetResult')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._TYPE_SUPPORT = (module.
                type_support_srv__action__rotate_absolute__get_result)
            from turtlesim.action import _rotate_absolute
            if (_rotate_absolute.Metaclass_RotateAbsolute_GetResult_Request
                ._TYPE_SUPPORT is None):
                _rotate_absolute.Metaclass_RotateAbsolute_GetResult_Request.__import_type_support__(
                    )
            if (_rotate_absolute.
                Metaclass_RotateAbsolute_GetResult_Response._TYPE_SUPPORT is
                None):
                _rotate_absolute.Metaclass_RotateAbsolute_GetResult_Response.__import_type_support__(
                    )


class RotateAbsolute_GetResult(metaclass=Metaclass_RotateAbsolute_GetResult):
    from turtlesim.action._rotate_absolute import RotateAbsolute_GetResult_Request as Request
    from turtlesim.action._rotate_absolute import RotateAbsolute_GetResult_Response as Response

    def __init__(self):
        raise NotImplementedError('Service classes can not be instantiated')


class Metaclass_RotateAbsolute_FeedbackMessage(type):
    """Metaclass of message 'RotateAbsolute_FeedbackMessage'."""
    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None
    __constants = {}

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_FeedbackMessage')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = (module.
                create_ros_message_msg__action__rotate_absolute__feedback_message
                )
            cls._CONVERT_FROM_PY = (module.
                convert_from_py_msg__action__rotate_absolute__feedback_message)
            cls._CONVERT_TO_PY = (module.
                convert_to_py_msg__action__rotate_absolute__feedback_message)
            cls._TYPE_SUPPORT = (module.
                type_support_msg__action__rotate_absolute__feedback_message)
            cls._DESTROY_ROS_MESSAGE = (module.
                destroy_ros_message_msg__action__rotate_absolute__feedback_message
                )
            from turtlesim.action import RotateAbsolute
            if RotateAbsolute.Feedback.__class__._TYPE_SUPPORT is None:
                RotateAbsolute.Feedback.__class__.__import_type_support__()
            from unique_identifier_msgs.msg import UUID
            if UUID.__class__._TYPE_SUPPORT is None:
                UUID.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        return {}


class RotateAbsolute_FeedbackMessage(metaclass=
    Metaclass_RotateAbsolute_FeedbackMessage):
    """Message class 'RotateAbsolute_FeedbackMessage'."""
    __slots__ = ['_goal_id', '_feedback']
    _fields_and_field_types = {'goal_id': 'unique_identifier_msgs/UUID',
        'feedback': 'turtlesim/RotateAbsolute_Feedback'}
    SLOT_TYPES = rosidl_parser.definition.NamespacedType([
        'unique_identifier_msgs', 'msg'], 'UUID'
        ), rosidl_parser.definition.NamespacedType(['turtlesim', 'action'],
        'RotateAbsolute_Feedback')

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()
            ), 'Invalid arguments passed to constructor: %s' % ', '.join(sorted
            (k for k in kwargs.keys() if '_' + k not in self.__slots__))
        from unique_identifier_msgs.msg import UUID
        self.goal_id = kwargs.get('goal_id', UUID())
        from turtlesim.action._rotate_absolute import RotateAbsolute_Feedback
        self.feedback = kwargs.get('feedback', RotateAbsolute_Feedback())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            if isinstance(t, rosidl_parser.definition.AbstractSequence
                ) and isinstance(t.value_type, rosidl_parser.definition.
                BasicType) and t.value_type.typename in ['float', 'double',
                'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32',
                'int64', 'uint64']:
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.goal_id != other.goal_id:
            return False
        if self.feedback != other.feedback:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def goal_id(self):
        """Message field 'goal_id'."""
        return self._goal_id

    @goal_id.setter
    def goal_id(self, value):
        if __debug__:
            from unique_identifier_msgs.msg import UUID
            assert isinstance(value, UUID
                ), "The 'goal_id' field must be a sub message of type 'UUID'"
        self._goal_id = value

    @property
    def feedback(self):
        """Message field 'feedback'."""
        return self._feedback

    @feedback.setter
    def feedback(self, value):
        if __debug__:
            from turtlesim.action._rotate_absolute import RotateAbsolute_Feedback
            assert isinstance(value, RotateAbsolute_Feedback
                ), "The 'feedback' field must be a sub message of type 'RotateAbsolute_Feedback'"
        self._feedback = value


class Metaclass_RotateAbsolute(type):
    """Metaclass of action 'RotateAbsolute'."""
    _TYPE_SUPPORT = None

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger('turtlesim.action.RotateAbsolute')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._TYPE_SUPPORT = (module.
                type_support_action__action__rotate_absolute)
            from action_msgs.msg import _goal_status_array
            if (_goal_status_array.Metaclass_GoalStatusArray._TYPE_SUPPORT is
                None):
                _goal_status_array.Metaclass_GoalStatusArray.__import_type_support__(
                    )
            from action_msgs.srv import _cancel_goal
            if _cancel_goal.Metaclass_CancelGoal._TYPE_SUPPORT is None:
                _cancel_goal.Metaclass_CancelGoal.__import_type_support__()
            from turtlesim.action import _rotate_absolute
            if (_rotate_absolute.Metaclass_RotateAbsolute_SendGoal.
                _TYPE_SUPPORT is None):
                _rotate_absolute.Metaclass_RotateAbsolute_SendGoal.__import_type_support__(
                    )
            if (_rotate_absolute.Metaclass_RotateAbsolute_GetResult.
                _TYPE_SUPPORT is None):
                _rotate_absolute.Metaclass_RotateAbsolute_GetResult.__import_type_support__(
                    )
            if (_rotate_absolute.Metaclass_RotateAbsolute_FeedbackMessage.
                _TYPE_SUPPORT is None):
                _rotate_absolute.Metaclass_RotateAbsolute_FeedbackMessage.__import_type_support__(
                    )


class RotateAbsolute(metaclass=Metaclass_RotateAbsolute):
    from turtlesim.action._rotate_absolute import RotateAbsolute_Goal as Goal
    from turtlesim.action._rotate_absolute import RotateAbsolute_Result as Result
    from turtlesim.action._rotate_absolute import RotateAbsolute_Feedback as Feedback


    class Impl:
        from turtlesim.action._rotate_absolute import RotateAbsolute_SendGoal as SendGoalService
        from turtlesim.action._rotate_absolute import RotateAbsolute_GetResult as GetResultService
        from turtlesim.action._rotate_absolute import RotateAbsolute_FeedbackMessage as FeedbackMessage
        from action_msgs.srv._cancel_goal import CancelGoal as CancelGoalService
        from action_msgs.msg._goal_status_array import GoalStatusArray as GoalStatusMessage

    def __init__(self):
        raise NotImplementedError('Action classes can not be instantiated')

<mask token>


class Metaclass_RotateAbsolute_Result(type):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>


class RotateAbsolute_Result(metaclass=Metaclass_RotateAbsolute_Result):
    """Message class 'RotateAbsolute_Result'."""
    __slots__ = ['_delta']
    _fields_and_field_types = {'delta': 'float'}
    SLOT_TYPES = rosidl_parser.definition.BasicType('float'),

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()
            ), 'Invalid arguments passed to constructor: %s' % ', '.join(sorted
            (k for k in kwargs.keys() if '_' + k not in self.__slots__))
        self.delta = kwargs.get('delta', float())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            if isinstance(t, rosidl_parser.definition.AbstractSequence
                ) and isinstance(t.value_type, rosidl_parser.definition.
                BasicType) and t.value_type.typename in ['float', 'double',
                'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32',
                'int64', 'uint64']:
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.delta != other.delta:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def delta(self):
        """Message field 'delta'."""
        return self._delta

    @delta.setter
    def delta(self, value):
        if __debug__:
            assert isinstance(value, float
                ), "The 'delta' field must be of type 'float'"
        self._delta = value


class Metaclass_RotateAbsolute_Feedback(type):
    """Metaclass of message 'RotateAbsolute_Feedback'."""
    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None
    __constants = {}

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_Feedback')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = (module.
                create_ros_message_msg__action__rotate_absolute__feedback)
            cls._CONVERT_FROM_PY = (module.
                convert_from_py_msg__action__rotate_absolute__feedback)
            cls._CONVERT_TO_PY = (module.
                convert_to_py_msg__action__rotate_absolute__feedback)
            cls._TYPE_SUPPORT = (module.
                type_support_msg__action__rotate_absolute__feedback)
            cls._DESTROY_ROS_MESSAGE = (module.
                destroy_ros_message_msg__action__rotate_absolute__feedback)

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        return {}


class RotateAbsolute_Feedback(metaclass=Metaclass_RotateAbsolute_Feedback):
    """Message class 'RotateAbsolute_Feedback'."""
    __slots__ = ['_remaining']
    _fields_and_field_types = {'remaining': 'float'}
    SLOT_TYPES = rosidl_parser.definition.BasicType('float'),

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()
            ), 'Invalid arguments passed to constructor: %s' % ', '.join(sorted
            (k for k in kwargs.keys() if '_' + k not in self.__slots__))
        self.remaining = kwargs.get('remaining', float())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            if isinstance(t, rosidl_parser.definition.AbstractSequence
                ) and isinstance(t.value_type, rosidl_parser.definition.
                BasicType) and t.value_type.typename in ['float', 'double',
                'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32',
                'int64', 'uint64']:
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.remaining != other.remaining:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def remaining(self):
        """Message field 'remaining'."""
        return self._remaining

    @remaining.setter
    def remaining(self, value):
        if __debug__:
            assert isinstance(value, float
                ), "The 'remaining' field must be of type 'float'"
        self._remaining = value


class Metaclass_RotateAbsolute_SendGoal_Request(type):
    """Metaclass of message 'RotateAbsolute_SendGoal_Request'."""
    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None
    __constants = {}

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_SendGoal_Request')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = (module.
                create_ros_message_msg__action__rotate_absolute__send_goal__request
                )
            cls._CONVERT_FROM_PY = (module.
                convert_from_py_msg__action__rotate_absolute__send_goal__request
                )
            cls._CONVERT_TO_PY = (module.
                convert_to_py_msg__action__rotate_absolute__send_goal__request)
            cls._TYPE_SUPPORT = (module.
                type_support_msg__action__rotate_absolute__send_goal__request)
            cls._DESTROY_ROS_MESSAGE = (module.
                destroy_ros_message_msg__action__rotate_absolute__send_goal__request
                )
            from turtlesim.action import RotateAbsolute
            if RotateAbsolute.Goal.__class__._TYPE_SUPPORT is None:
                RotateAbsolute.Goal.__class__.__import_type_support__()
            from unique_identifier_msgs.msg import UUID
            if UUID.__class__._TYPE_SUPPORT is None:
                UUID.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        return {}


class RotateAbsolute_SendGoal_Request(metaclass=
    Metaclass_RotateAbsolute_SendGoal_Request):
    """Message class 'RotateAbsolute_SendGoal_Request'."""
    __slots__ = ['_goal_id', '_goal']
    _fields_and_field_types = {'goal_id': 'unique_identifier_msgs/UUID',
        'goal': 'turtlesim/RotateAbsolute_Goal'}
    SLOT_TYPES = rosidl_parser.definition.NamespacedType([
        'unique_identifier_msgs', 'msg'], 'UUID'
        ), rosidl_parser.definition.NamespacedType(['turtlesim', 'action'],
        'RotateAbsolute_Goal')

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()
            ), 'Invalid arguments passed to constructor: %s' % ', '.join(sorted
            (k for k in kwargs.keys() if '_' + k not in self.__slots__))
        from unique_identifier_msgs.msg import UUID
        self.goal_id = kwargs.get('goal_id', UUID())
        from turtlesim.action._rotate_absolute import RotateAbsolute_Goal
        self.goal = kwargs.get('goal', RotateAbsolute_Goal())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            if isinstance(t, rosidl_parser.definition.AbstractSequence
                ) and isinstance(t.value_type, rosidl_parser.definition.
                BasicType) and t.value_type.typename in ['float', 'double',
                'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32',
                'int64', 'uint64']:
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.goal_id != other.goal_id:
            return False
        if self.goal != other.goal:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def goal_id(self):
        """Message field 'goal_id'."""
        return self._goal_id

    @goal_id.setter
    def goal_id(self, value):
        if __debug__:
            from unique_identifier_msgs.msg import UUID
            assert isinstance(value, UUID
                ), "The 'goal_id' field must be a sub message of type 'UUID'"
        self._goal_id = value

    @property
    def goal(self):
        """Message field 'goal'."""
        return self._goal

    @goal.setter
    def goal(self, value):
        if __debug__:
            from turtlesim.action._rotate_absolute import RotateAbsolute_Goal
            assert isinstance(value, RotateAbsolute_Goal
                ), "The 'goal' field must be a sub message of type 'RotateAbsolute_Goal'"
        self._goal = value


class Metaclass_RotateAbsolute_SendGoal_Response(type):
    """Metaclass of message 'RotateAbsolute_SendGoal_Response'."""
    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None
    __constants = {}

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_SendGoal_Response')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = (module.
                create_ros_message_msg__action__rotate_absolute__send_goal__response
                )
            cls._CONVERT_FROM_PY = (module.
                convert_from_py_msg__action__rotate_absolute__send_goal__response
                )
            cls._CONVERT_TO_PY = (module.
                convert_to_py_msg__action__rotate_absolute__send_goal__response
                )
            cls._TYPE_SUPPORT = (module.
                type_support_msg__action__rotate_absolute__send_goal__response)
            cls._DESTROY_ROS_MESSAGE = (module.
                destroy_ros_message_msg__action__rotate_absolute__send_goal__response
                )
            from builtin_interfaces.msg import Time
            if Time.__class__._TYPE_SUPPORT is None:
                Time.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        return {}


class RotateAbsolute_SendGoal_Response(metaclass=
    Metaclass_RotateAbsolute_SendGoal_Response):
    """Message class 'RotateAbsolute_SendGoal_Response'."""
    __slots__ = ['_accepted', '_stamp']
    _fields_and_field_types = {'accepted': 'boolean', 'stamp':
        'builtin_interfaces/Time'}
    SLOT_TYPES = rosidl_parser.definition.BasicType('boolean'
        ), rosidl_parser.definition.NamespacedType(['builtin_interfaces',
        'msg'], 'Time')

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()
            ), 'Invalid arguments passed to constructor: %s' % ', '.join(sorted
            (k for k in kwargs.keys() if '_' + k not in self.__slots__))
        self.accepted = kwargs.get('accepted', bool())
        from builtin_interfaces.msg import Time
        self.stamp = kwargs.get('stamp', Time())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            if isinstance(t, rosidl_parser.definition.AbstractSequence
                ) and isinstance(t.value_type, rosidl_parser.definition.
                BasicType) and t.value_type.typename in ['float', 'double',
                'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32',
                'int64', 'uint64']:
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.accepted != other.accepted:
            return False
        if self.stamp != other.stamp:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def accepted(self):
        """Message field 'accepted'."""
        return self._accepted

    @accepted.setter
    def accepted(self, value):
        if __debug__:
            assert isinstance(value, bool
                ), "The 'accepted' field must be of type 'bool'"
        self._accepted = value

    @property
    def stamp(self):
        """Message field 'stamp'."""
        return self._stamp

    @stamp.setter
    def stamp(self, value):
        if __debug__:
            from builtin_interfaces.msg import Time
            assert isinstance(value, Time
                ), "The 'stamp' field must be a sub message of type 'Time'"
        self._stamp = value


class Metaclass_RotateAbsolute_SendGoal(type):
    """Metaclass of service 'RotateAbsolute_SendGoal'."""
    _TYPE_SUPPORT = None

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_SendGoal')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._TYPE_SUPPORT = (module.
                type_support_srv__action__rotate_absolute__send_goal)
            from turtlesim.action import _rotate_absolute
            if (_rotate_absolute.Metaclass_RotateAbsolute_SendGoal_Request.
                _TYPE_SUPPORT is None):
                _rotate_absolute.Metaclass_RotateAbsolute_SendGoal_Request.__import_type_support__(
                    )
            if (_rotate_absolute.Metaclass_RotateAbsolute_SendGoal_Response
                ._TYPE_SUPPORT is None):
                _rotate_absolute.Metaclass_RotateAbsolute_SendGoal_Response.__import_type_support__(
                    )


class RotateAbsolute_SendGoal(metaclass=Metaclass_RotateAbsolute_SendGoal):
    from turtlesim.action._rotate_absolute import RotateAbsolute_SendGoal_Request as Request
    from turtlesim.action._rotate_absolute import RotateAbsolute_SendGoal_Response as Response

    def __init__(self):
        raise NotImplementedError('Service classes can not be instantiated')


class Metaclass_RotateAbsolute_GetResult_Request(type):
    """Metaclass of message 'RotateAbsolute_GetResult_Request'."""
    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None
    __constants = {}

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_GetResult_Request')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = (module.
                create_ros_message_msg__action__rotate_absolute__get_result__request
                )
            cls._CONVERT_FROM_PY = (module.
                convert_from_py_msg__action__rotate_absolute__get_result__request
                )
            cls._CONVERT_TO_PY = (module.
                convert_to_py_msg__action__rotate_absolute__get_result__request
                )
            cls._TYPE_SUPPORT = (module.
                type_support_msg__action__rotate_absolute__get_result__request)
            cls._DESTROY_ROS_MESSAGE = (module.
                destroy_ros_message_msg__action__rotate_absolute__get_result__request
                )
            from unique_identifier_msgs.msg import UUID
            if UUID.__class__._TYPE_SUPPORT is None:
                UUID.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        return {}


class RotateAbsolute_GetResult_Request(metaclass=
    Metaclass_RotateAbsolute_GetResult_Request):
    """Message class 'RotateAbsolute_GetResult_Request'."""
    __slots__ = ['_goal_id']
    _fields_and_field_types = {'goal_id': 'unique_identifier_msgs/UUID'}
    SLOT_TYPES = rosidl_parser.definition.NamespacedType([
        'unique_identifier_msgs', 'msg'], 'UUID'),

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()
            ), 'Invalid arguments passed to constructor: %s' % ', '.join(sorted
            (k for k in kwargs.keys() if '_' + k not in self.__slots__))
        from unique_identifier_msgs.msg import UUID
        self.goal_id = kwargs.get('goal_id', UUID())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            if isinstance(t, rosidl_parser.definition.AbstractSequence
                ) and isinstance(t.value_type, rosidl_parser.definition.
                BasicType) and t.value_type.typename in ['float', 'double',
                'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32',
                'int64', 'uint64']:
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.goal_id != other.goal_id:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def goal_id(self):
        """Message field 'goal_id'."""
        return self._goal_id

    @goal_id.setter
    def goal_id(self, value):
        if __debug__:
            from unique_identifier_msgs.msg import UUID
            assert isinstance(value, UUID
                ), "The 'goal_id' field must be a sub message of type 'UUID'"
        self._goal_id = value


class Metaclass_RotateAbsolute_GetResult_Response(type):
    """Metaclass of message 'RotateAbsolute_GetResult_Response'."""
    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None
    __constants = {}

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_GetResult_Response')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = (module.
                create_ros_message_msg__action__rotate_absolute__get_result__response
                )
            cls._CONVERT_FROM_PY = (module.
                convert_from_py_msg__action__rotate_absolute__get_result__response
                )
            cls._CONVERT_TO_PY = (module.
                convert_to_py_msg__action__rotate_absolute__get_result__response
                )
            cls._TYPE_SUPPORT = (module.
                type_support_msg__action__rotate_absolute__get_result__response
                )
            cls._DESTROY_ROS_MESSAGE = (module.
                destroy_ros_message_msg__action__rotate_absolute__get_result__response
                )
            from turtlesim.action import RotateAbsolute
            if RotateAbsolute.Result.__class__._TYPE_SUPPORT is None:
                RotateAbsolute.Result.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        return {}


class RotateAbsolute_GetResult_Response(metaclass=
    Metaclass_RotateAbsolute_GetResult_Response):
    """Message class 'RotateAbsolute_GetResult_Response'."""
    __slots__ = ['_status', '_result']
    _fields_and_field_types = {'status': 'int8', 'result':
        'turtlesim/RotateAbsolute_Result'}
    SLOT_TYPES = rosidl_parser.definition.BasicType('int8'
        ), rosidl_parser.definition.NamespacedType(['turtlesim', 'action'],
        'RotateAbsolute_Result')

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()
            ), 'Invalid arguments passed to constructor: %s' % ', '.join(sorted
            (k for k in kwargs.keys() if '_' + k not in self.__slots__))
        self.status = kwargs.get('status', int())
        from turtlesim.action._rotate_absolute import RotateAbsolute_Result
        self.result = kwargs.get('result', RotateAbsolute_Result())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            if isinstance(t, rosidl_parser.definition.AbstractSequence
                ) and isinstance(t.value_type, rosidl_parser.definition.
                BasicType) and t.value_type.typename in ['float', 'double',
                'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32',
                'int64', 'uint64']:
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.status != other.status:
            return False
        if self.result != other.result:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def status(self):
        """Message field 'status'."""
        return self._status

    @status.setter
    def status(self, value):
        if __debug__:
            assert isinstance(value, int
                ), "The 'status' field must be of type 'int'"
            assert value >= -128 and value < 128, "The 'status' field must be an integer in [-128, 127]"
        self._status = value

    @property
    def result(self):
        """Message field 'result'."""
        return self._result

    @result.setter
    def result(self, value):
        if __debug__:
            from turtlesim.action._rotate_absolute import RotateAbsolute_Result
            assert isinstance(value, RotateAbsolute_Result
                ), "The 'result' field must be a sub message of type 'RotateAbsolute_Result'"
        self._result = value


class Metaclass_RotateAbsolute_GetResult(type):
    """Metaclass of service 'RotateAbsolute_GetResult'."""
    _TYPE_SUPPORT = None

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_GetResult')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._TYPE_SUPPORT = (module.
                type_support_srv__action__rotate_absolute__get_result)
            from turtlesim.action import _rotate_absolute
            if (_rotate_absolute.Metaclass_RotateAbsolute_GetResult_Request
                ._TYPE_SUPPORT is None):
                _rotate_absolute.Metaclass_RotateAbsolute_GetResult_Request.__import_type_support__(
                    )
            if (_rotate_absolute.
                Metaclass_RotateAbsolute_GetResult_Response._TYPE_SUPPORT is
                None):
                _rotate_absolute.Metaclass_RotateAbsolute_GetResult_Response.__import_type_support__(
                    )


class RotateAbsolute_GetResult(metaclass=Metaclass_RotateAbsolute_GetResult):
    from turtlesim.action._rotate_absolute import RotateAbsolute_GetResult_Request as Request
    from turtlesim.action._rotate_absolute import RotateAbsolute_GetResult_Response as Response

    def __init__(self):
        raise NotImplementedError('Service classes can not be instantiated')


class Metaclass_RotateAbsolute_FeedbackMessage(type):
    """Metaclass of message 'RotateAbsolute_FeedbackMessage'."""
    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None
    __constants = {}

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_FeedbackMessage')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = (module.
                create_ros_message_msg__action__rotate_absolute__feedback_message
                )
            cls._CONVERT_FROM_PY = (module.
                convert_from_py_msg__action__rotate_absolute__feedback_message)
            cls._CONVERT_TO_PY = (module.
                convert_to_py_msg__action__rotate_absolute__feedback_message)
            cls._TYPE_SUPPORT = (module.
                type_support_msg__action__rotate_absolute__feedback_message)
            cls._DESTROY_ROS_MESSAGE = (module.
                destroy_ros_message_msg__action__rotate_absolute__feedback_message
                )
            from turtlesim.action import RotateAbsolute
            if RotateAbsolute.Feedback.__class__._TYPE_SUPPORT is None:
                RotateAbsolute.Feedback.__class__.__import_type_support__()
            from unique_identifier_msgs.msg import UUID
            if UUID.__class__._TYPE_SUPPORT is None:
                UUID.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        return {}


class RotateAbsolute_FeedbackMessage(metaclass=
    Metaclass_RotateAbsolute_FeedbackMessage):
    """Message class 'RotateAbsolute_FeedbackMessage'."""
    __slots__ = ['_goal_id', '_feedback']
    _fields_and_field_types = {'goal_id': 'unique_identifier_msgs/UUID',
        'feedback': 'turtlesim/RotateAbsolute_Feedback'}
    SLOT_TYPES = rosidl_parser.definition.NamespacedType([
        'unique_identifier_msgs', 'msg'], 'UUID'
        ), rosidl_parser.definition.NamespacedType(['turtlesim', 'action'],
        'RotateAbsolute_Feedback')

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()
            ), 'Invalid arguments passed to constructor: %s' % ', '.join(sorted
            (k for k in kwargs.keys() if '_' + k not in self.__slots__))
        from unique_identifier_msgs.msg import UUID
        self.goal_id = kwargs.get('goal_id', UUID())
        from turtlesim.action._rotate_absolute import RotateAbsolute_Feedback
        self.feedback = kwargs.get('feedback', RotateAbsolute_Feedback())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            if isinstance(t, rosidl_parser.definition.AbstractSequence
                ) and isinstance(t.value_type, rosidl_parser.definition.
                BasicType) and t.value_type.typename in ['float', 'double',
                'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32',
                'int64', 'uint64']:
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.goal_id != other.goal_id:
            return False
        if self.feedback != other.feedback:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def goal_id(self):
        """Message field 'goal_id'."""
        return self._goal_id

    @goal_id.setter
    def goal_id(self, value):
        if __debug__:
            from unique_identifier_msgs.msg import UUID
            assert isinstance(value, UUID
                ), "The 'goal_id' field must be a sub message of type 'UUID'"
        self._goal_id = value

    @property
    def feedback(self):
        """Message field 'feedback'."""
        return self._feedback

    @feedback.setter
    def feedback(self, value):
        if __debug__:
            from turtlesim.action._rotate_absolute import RotateAbsolute_Feedback
            assert isinstance(value, RotateAbsolute_Feedback
                ), "The 'feedback' field must be a sub message of type 'RotateAbsolute_Feedback'"
        self._feedback = value


class Metaclass_RotateAbsolute(type):
    """Metaclass of action 'RotateAbsolute'."""
    _TYPE_SUPPORT = None

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger('turtlesim.action.RotateAbsolute')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._TYPE_SUPPORT = (module.
                type_support_action__action__rotate_absolute)
            from action_msgs.msg import _goal_status_array
            if (_goal_status_array.Metaclass_GoalStatusArray._TYPE_SUPPORT is
                None):
                _goal_status_array.Metaclass_GoalStatusArray.__import_type_support__(
                    )
            from action_msgs.srv import _cancel_goal
            if _cancel_goal.Metaclass_CancelGoal._TYPE_SUPPORT is None:
                _cancel_goal.Metaclass_CancelGoal.__import_type_support__()
            from turtlesim.action import _rotate_absolute
            if (_rotate_absolute.Metaclass_RotateAbsolute_SendGoal.
                _TYPE_SUPPORT is None):
                _rotate_absolute.Metaclass_RotateAbsolute_SendGoal.__import_type_support__(
                    )
            if (_rotate_absolute.Metaclass_RotateAbsolute_GetResult.
                _TYPE_SUPPORT is None):
                _rotate_absolute.Metaclass_RotateAbsolute_GetResult.__import_type_support__(
                    )
            if (_rotate_absolute.Metaclass_RotateAbsolute_FeedbackMessage.
                _TYPE_SUPPORT is None):
                _rotate_absolute.Metaclass_RotateAbsolute_FeedbackMessage.__import_type_support__(
                    )


class RotateAbsolute(metaclass=Metaclass_RotateAbsolute):
    from turtlesim.action._rotate_absolute import RotateAbsolute_Goal as Goal
    from turtlesim.action._rotate_absolute import RotateAbsolute_Result as Result
    from turtlesim.action._rotate_absolute import RotateAbsolute_Feedback as Feedback


    class Impl:
        from turtlesim.action._rotate_absolute import RotateAbsolute_SendGoal as SendGoalService
        from turtlesim.action._rotate_absolute import RotateAbsolute_GetResult as GetResultService
        from turtlesim.action._rotate_absolute import RotateAbsolute_FeedbackMessage as FeedbackMessage
        from action_msgs.srv._cancel_goal import CancelGoal as CancelGoalService
        from action_msgs.msg._goal_status_array import GoalStatusArray as GoalStatusMessage

    def __init__(self):
        raise NotImplementedError('Action classes can not be instantiated')

# generated from rosidl_generator_py/resource/_idl.py.em
# with input from turtlesim:action/RotateAbsolute.idl
# generated code does not contain a copyright notice


# Import statements for member types

import rosidl_parser.definition  # noqa: E402, I100


class Metaclass_RotateAbsolute_Goal(type):
    """Metaclass of message 'RotateAbsolute_Goal'."""

    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None

    __constants = {
    }

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_Goal')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = module.create_ros_message_msg__action__rotate_absolute__goal
            cls._CONVERT_FROM_PY = module.convert_from_py_msg__action__rotate_absolute__goal
            cls._CONVERT_TO_PY = module.convert_to_py_msg__action__rotate_absolute__goal
            cls._TYPE_SUPPORT = module.type_support_msg__action__rotate_absolute__goal
            cls._DESTROY_ROS_MESSAGE = module.destroy_ros_message_msg__action__rotate_absolute__goal

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        # list constant names here so that they appear in the help text of
        # the message class under "Data and other attributes defined here:"
        # as well as populate each message instance
        return {
        }


class RotateAbsolute_Goal(metaclass=Metaclass_RotateAbsolute_Goal):
    """Message class 'RotateAbsolute_Goal'."""

    __slots__ = [
        '_theta',
    ]

    _fields_and_field_types = {
        'theta': 'float',
    }

    SLOT_TYPES = (
        rosidl_parser.definition.BasicType('float'),  # noqa: E501
    )

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()), \
            'Invalid arguments passed to constructor: %s' % \
            ', '.join(sorted(k for k in kwargs.keys() if '_' + k not in self.__slots__))
        self.theta = kwargs.get('theta', float())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            # We use Python array type for fields that can be directly stored
            # in them, and "normal" sequences for everything else.  If it is
            # a type that we store in an array, strip off the 'array' portion.
            if (
                isinstance(t, rosidl_parser.definition.AbstractSequence) and
                isinstance(t.value_type, rosidl_parser.definition.BasicType) and
                t.value_type.typename in ['float', 'double', 'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32', 'int64', 'uint64']
            ):
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.theta != other.theta:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def theta(self):
        """Message field 'theta'."""
        return self._theta

    @theta.setter
    def theta(self, value):
        if __debug__:
            assert \
                isinstance(value, float), \
                "The 'theta' field must be of type 'float'"
        self._theta = value


# Import statements for member types

# already imported above
# import rosidl_parser.definition


class Metaclass_RotateAbsolute_Result(type):
    """Metaclass of message 'RotateAbsolute_Result'."""

    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None

    __constants = {
    }

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_Result')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = module.create_ros_message_msg__action__rotate_absolute__result
            cls._CONVERT_FROM_PY = module.convert_from_py_msg__action__rotate_absolute__result
            cls._CONVERT_TO_PY = module.convert_to_py_msg__action__rotate_absolute__result
            cls._TYPE_SUPPORT = module.type_support_msg__action__rotate_absolute__result
            cls._DESTROY_ROS_MESSAGE = module.destroy_ros_message_msg__action__rotate_absolute__result

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        # list constant names here so that they appear in the help text of
        # the message class under "Data and other attributes defined here:"
        # as well as populate each message instance
        return {
        }


class RotateAbsolute_Result(metaclass=Metaclass_RotateAbsolute_Result):
    """Message class 'RotateAbsolute_Result'."""

    __slots__ = [
        '_delta',
    ]

    _fields_and_field_types = {
        'delta': 'float',
    }

    SLOT_TYPES = (
        rosidl_parser.definition.BasicType('float'),  # noqa: E501
    )

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()), \
            'Invalid arguments passed to constructor: %s' % \
            ', '.join(sorted(k for k in kwargs.keys() if '_' + k not in self.__slots__))
        self.delta = kwargs.get('delta', float())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            # We use Python array type for fields that can be directly stored
            # in them, and "normal" sequences for everything else.  If it is
            # a type that we store in an array, strip off the 'array' portion.
            if (
                isinstance(t, rosidl_parser.definition.AbstractSequence) and
                isinstance(t.value_type, rosidl_parser.definition.BasicType) and
                t.value_type.typename in ['float', 'double', 'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32', 'int64', 'uint64']
            ):
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.delta != other.delta:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def delta(self):
        """Message field 'delta'."""
        return self._delta

    @delta.setter
    def delta(self, value):
        if __debug__:
            assert \
                isinstance(value, float), \
                "The 'delta' field must be of type 'float'"
        self._delta = value


# Import statements for member types

# already imported above
# import rosidl_parser.definition


class Metaclass_RotateAbsolute_Feedback(type):
    """Metaclass of message 'RotateAbsolute_Feedback'."""

    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None

    __constants = {
    }

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_Feedback')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = module.create_ros_message_msg__action__rotate_absolute__feedback
            cls._CONVERT_FROM_PY = module.convert_from_py_msg__action__rotate_absolute__feedback
            cls._CONVERT_TO_PY = module.convert_to_py_msg__action__rotate_absolute__feedback
            cls._TYPE_SUPPORT = module.type_support_msg__action__rotate_absolute__feedback
            cls._DESTROY_ROS_MESSAGE = module.destroy_ros_message_msg__action__rotate_absolute__feedback

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        # list constant names here so that they appear in the help text of
        # the message class under "Data and other attributes defined here:"
        # as well as populate each message instance
        return {
        }


class RotateAbsolute_Feedback(metaclass=Metaclass_RotateAbsolute_Feedback):
    """Message class 'RotateAbsolute_Feedback'."""

    __slots__ = [
        '_remaining',
    ]

    _fields_and_field_types = {
        'remaining': 'float',
    }

    SLOT_TYPES = (
        rosidl_parser.definition.BasicType('float'),  # noqa: E501
    )

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()), \
            'Invalid arguments passed to constructor: %s' % \
            ', '.join(sorted(k for k in kwargs.keys() if '_' + k not in self.__slots__))
        self.remaining = kwargs.get('remaining', float())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            # We use Python array type for fields that can be directly stored
            # in them, and "normal" sequences for everything else.  If it is
            # a type that we store in an array, strip off the 'array' portion.
            if (
                isinstance(t, rosidl_parser.definition.AbstractSequence) and
                isinstance(t.value_type, rosidl_parser.definition.BasicType) and
                t.value_type.typename in ['float', 'double', 'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32', 'int64', 'uint64']
            ):
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.remaining != other.remaining:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def remaining(self):
        """Message field 'remaining'."""
        return self._remaining

    @remaining.setter
    def remaining(self, value):
        if __debug__:
            assert \
                isinstance(value, float), \
                "The 'remaining' field must be of type 'float'"
        self._remaining = value


# Import statements for member types

# already imported above
# import rosidl_parser.definition


class Metaclass_RotateAbsolute_SendGoal_Request(type):
    """Metaclass of message 'RotateAbsolute_SendGoal_Request'."""

    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None

    __constants = {
    }

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_SendGoal_Request')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = module.create_ros_message_msg__action__rotate_absolute__send_goal__request
            cls._CONVERT_FROM_PY = module.convert_from_py_msg__action__rotate_absolute__send_goal__request
            cls._CONVERT_TO_PY = module.convert_to_py_msg__action__rotate_absolute__send_goal__request
            cls._TYPE_SUPPORT = module.type_support_msg__action__rotate_absolute__send_goal__request
            cls._DESTROY_ROS_MESSAGE = module.destroy_ros_message_msg__action__rotate_absolute__send_goal__request

            from turtlesim.action import RotateAbsolute
            if RotateAbsolute.Goal.__class__._TYPE_SUPPORT is None:
                RotateAbsolute.Goal.__class__.__import_type_support__()

            from unique_identifier_msgs.msg import UUID
            if UUID.__class__._TYPE_SUPPORT is None:
                UUID.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        # list constant names here so that they appear in the help text of
        # the message class under "Data and other attributes defined here:"
        # as well as populate each message instance
        return {
        }


class RotateAbsolute_SendGoal_Request(metaclass=Metaclass_RotateAbsolute_SendGoal_Request):
    """Message class 'RotateAbsolute_SendGoal_Request'."""

    __slots__ = [
        '_goal_id',
        '_goal',
    ]

    _fields_and_field_types = {
        'goal_id': 'unique_identifier_msgs/UUID',
        'goal': 'turtlesim/RotateAbsolute_Goal',
    }

    SLOT_TYPES = (
        rosidl_parser.definition.NamespacedType(['unique_identifier_msgs', 'msg'], 'UUID'),  # noqa: E501
        rosidl_parser.definition.NamespacedType(['turtlesim', 'action'], 'RotateAbsolute_Goal'),  # noqa: E501
    )

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()), \
            'Invalid arguments passed to constructor: %s' % \
            ', '.join(sorted(k for k in kwargs.keys() if '_' + k not in self.__slots__))
        from unique_identifier_msgs.msg import UUID
        self.goal_id = kwargs.get('goal_id', UUID())
        from turtlesim.action._rotate_absolute import RotateAbsolute_Goal
        self.goal = kwargs.get('goal', RotateAbsolute_Goal())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            # We use Python array type for fields that can be directly stored
            # in them, and "normal" sequences for everything else.  If it is
            # a type that we store in an array, strip off the 'array' portion.
            if (
                isinstance(t, rosidl_parser.definition.AbstractSequence) and
                isinstance(t.value_type, rosidl_parser.definition.BasicType) and
                t.value_type.typename in ['float', 'double', 'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32', 'int64', 'uint64']
            ):
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.goal_id != other.goal_id:
            return False
        if self.goal != other.goal:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def goal_id(self):
        """Message field 'goal_id'."""
        return self._goal_id

    @goal_id.setter
    def goal_id(self, value):
        if __debug__:
            from unique_identifier_msgs.msg import UUID
            assert \
                isinstance(value, UUID), \
                "The 'goal_id' field must be a sub message of type 'UUID'"
        self._goal_id = value

    @property
    def goal(self):
        """Message field 'goal'."""
        return self._goal

    @goal.setter
    def goal(self, value):
        if __debug__:
            from turtlesim.action._rotate_absolute import RotateAbsolute_Goal
            assert \
                isinstance(value, RotateAbsolute_Goal), \
                "The 'goal' field must be a sub message of type 'RotateAbsolute_Goal'"
        self._goal = value


# Import statements for member types

# already imported above
# import rosidl_parser.definition


class Metaclass_RotateAbsolute_SendGoal_Response(type):
    """Metaclass of message 'RotateAbsolute_SendGoal_Response'."""

    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None

    __constants = {
    }

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_SendGoal_Response')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = module.create_ros_message_msg__action__rotate_absolute__send_goal__response
            cls._CONVERT_FROM_PY = module.convert_from_py_msg__action__rotate_absolute__send_goal__response
            cls._CONVERT_TO_PY = module.convert_to_py_msg__action__rotate_absolute__send_goal__response
            cls._TYPE_SUPPORT = module.type_support_msg__action__rotate_absolute__send_goal__response
            cls._DESTROY_ROS_MESSAGE = module.destroy_ros_message_msg__action__rotate_absolute__send_goal__response

            from builtin_interfaces.msg import Time
            if Time.__class__._TYPE_SUPPORT is None:
                Time.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        # list constant names here so that they appear in the help text of
        # the message class under "Data and other attributes defined here:"
        # as well as populate each message instance
        return {
        }


class RotateAbsolute_SendGoal_Response(metaclass=Metaclass_RotateAbsolute_SendGoal_Response):
    """Message class 'RotateAbsolute_SendGoal_Response'."""

    __slots__ = [
        '_accepted',
        '_stamp',
    ]

    _fields_and_field_types = {
        'accepted': 'boolean',
        'stamp': 'builtin_interfaces/Time',
    }

    SLOT_TYPES = (
        rosidl_parser.definition.BasicType('boolean'),  # noqa: E501
        rosidl_parser.definition.NamespacedType(['builtin_interfaces', 'msg'], 'Time'),  # noqa: E501
    )

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()), \
            'Invalid arguments passed to constructor: %s' % \
            ', '.join(sorted(k for k in kwargs.keys() if '_' + k not in self.__slots__))
        self.accepted = kwargs.get('accepted', bool())
        from builtin_interfaces.msg import Time
        self.stamp = kwargs.get('stamp', Time())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            # We use Python array type for fields that can be directly stored
            # in them, and "normal" sequences for everything else.  If it is
            # a type that we store in an array, strip off the 'array' portion.
            if (
                isinstance(t, rosidl_parser.definition.AbstractSequence) and
                isinstance(t.value_type, rosidl_parser.definition.BasicType) and
                t.value_type.typename in ['float', 'double', 'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32', 'int64', 'uint64']
            ):
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.accepted != other.accepted:
            return False
        if self.stamp != other.stamp:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def accepted(self):
        """Message field 'accepted'."""
        return self._accepted

    @accepted.setter
    def accepted(self, value):
        if __debug__:
            assert \
                isinstance(value, bool), \
                "The 'accepted' field must be of type 'bool'"
        self._accepted = value

    @property
    def stamp(self):
        """Message field 'stamp'."""
        return self._stamp

    @stamp.setter
    def stamp(self, value):
        if __debug__:
            from builtin_interfaces.msg import Time
            assert \
                isinstance(value, Time), \
                "The 'stamp' field must be a sub message of type 'Time'"
        self._stamp = value


class Metaclass_RotateAbsolute_SendGoal(type):
    """Metaclass of service 'RotateAbsolute_SendGoal'."""

    _TYPE_SUPPORT = None

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_SendGoal')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._TYPE_SUPPORT = module.type_support_srv__action__rotate_absolute__send_goal

            from turtlesim.action import _rotate_absolute
            if _rotate_absolute.Metaclass_RotateAbsolute_SendGoal_Request._TYPE_SUPPORT is None:
                _rotate_absolute.Metaclass_RotateAbsolute_SendGoal_Request.__import_type_support__()
            if _rotate_absolute.Metaclass_RotateAbsolute_SendGoal_Response._TYPE_SUPPORT is None:
                _rotate_absolute.Metaclass_RotateAbsolute_SendGoal_Response.__import_type_support__()


class RotateAbsolute_SendGoal(metaclass=Metaclass_RotateAbsolute_SendGoal):
    from turtlesim.action._rotate_absolute import RotateAbsolute_SendGoal_Request as Request
    from turtlesim.action._rotate_absolute import RotateAbsolute_SendGoal_Response as Response

    def __init__(self):
        raise NotImplementedError('Service classes can not be instantiated')


# Import statements for member types

# already imported above
# import rosidl_parser.definition


class Metaclass_RotateAbsolute_GetResult_Request(type):
    """Metaclass of message 'RotateAbsolute_GetResult_Request'."""

    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None

    __constants = {
    }

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_GetResult_Request')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = module.create_ros_message_msg__action__rotate_absolute__get_result__request
            cls._CONVERT_FROM_PY = module.convert_from_py_msg__action__rotate_absolute__get_result__request
            cls._CONVERT_TO_PY = module.convert_to_py_msg__action__rotate_absolute__get_result__request
            cls._TYPE_SUPPORT = module.type_support_msg__action__rotate_absolute__get_result__request
            cls._DESTROY_ROS_MESSAGE = module.destroy_ros_message_msg__action__rotate_absolute__get_result__request

            from unique_identifier_msgs.msg import UUID
            if UUID.__class__._TYPE_SUPPORT is None:
                UUID.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        # list constant names here so that they appear in the help text of
        # the message class under "Data and other attributes defined here:"
        # as well as populate each message instance
        return {
        }


class RotateAbsolute_GetResult_Request(metaclass=Metaclass_RotateAbsolute_GetResult_Request):
    """Message class 'RotateAbsolute_GetResult_Request'."""

    __slots__ = [
        '_goal_id',
    ]

    _fields_and_field_types = {
        'goal_id': 'unique_identifier_msgs/UUID',
    }

    SLOT_TYPES = (
        rosidl_parser.definition.NamespacedType(['unique_identifier_msgs', 'msg'], 'UUID'),  # noqa: E501
    )

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()), \
            'Invalid arguments passed to constructor: %s' % \
            ', '.join(sorted(k for k in kwargs.keys() if '_' + k not in self.__slots__))
        from unique_identifier_msgs.msg import UUID
        self.goal_id = kwargs.get('goal_id', UUID())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            # We use Python array type for fields that can be directly stored
            # in them, and "normal" sequences for everything else.  If it is
            # a type that we store in an array, strip off the 'array' portion.
            if (
                isinstance(t, rosidl_parser.definition.AbstractSequence) and
                isinstance(t.value_type, rosidl_parser.definition.BasicType) and
                t.value_type.typename in ['float', 'double', 'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32', 'int64', 'uint64']
            ):
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.goal_id != other.goal_id:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def goal_id(self):
        """Message field 'goal_id'."""
        return self._goal_id

    @goal_id.setter
    def goal_id(self, value):
        if __debug__:
            from unique_identifier_msgs.msg import UUID
            assert \
                isinstance(value, UUID), \
                "The 'goal_id' field must be a sub message of type 'UUID'"
        self._goal_id = value


# Import statements for member types

# already imported above
# import rosidl_parser.definition


class Metaclass_RotateAbsolute_GetResult_Response(type):
    """Metaclass of message 'RotateAbsolute_GetResult_Response'."""

    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None

    __constants = {
    }

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_GetResult_Response')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = module.create_ros_message_msg__action__rotate_absolute__get_result__response
            cls._CONVERT_FROM_PY = module.convert_from_py_msg__action__rotate_absolute__get_result__response
            cls._CONVERT_TO_PY = module.convert_to_py_msg__action__rotate_absolute__get_result__response
            cls._TYPE_SUPPORT = module.type_support_msg__action__rotate_absolute__get_result__response
            cls._DESTROY_ROS_MESSAGE = module.destroy_ros_message_msg__action__rotate_absolute__get_result__response

            from turtlesim.action import RotateAbsolute
            if RotateAbsolute.Result.__class__._TYPE_SUPPORT is None:
                RotateAbsolute.Result.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        # list constant names here so that they appear in the help text of
        # the message class under "Data and other attributes defined here:"
        # as well as populate each message instance
        return {
        }


class RotateAbsolute_GetResult_Response(metaclass=Metaclass_RotateAbsolute_GetResult_Response):
    """Message class 'RotateAbsolute_GetResult_Response'."""

    __slots__ = [
        '_status',
        '_result',
    ]

    _fields_and_field_types = {
        'status': 'int8',
        'result': 'turtlesim/RotateAbsolute_Result',
    }

    SLOT_TYPES = (
        rosidl_parser.definition.BasicType('int8'),  # noqa: E501
        rosidl_parser.definition.NamespacedType(['turtlesim', 'action'], 'RotateAbsolute_Result'),  # noqa: E501
    )

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()), \
            'Invalid arguments passed to constructor: %s' % \
            ', '.join(sorted(k for k in kwargs.keys() if '_' + k not in self.__slots__))
        self.status = kwargs.get('status', int())
        from turtlesim.action._rotate_absolute import RotateAbsolute_Result
        self.result = kwargs.get('result', RotateAbsolute_Result())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            # We use Python array type for fields that can be directly stored
            # in them, and "normal" sequences for everything else.  If it is
            # a type that we store in an array, strip off the 'array' portion.
            if (
                isinstance(t, rosidl_parser.definition.AbstractSequence) and
                isinstance(t.value_type, rosidl_parser.definition.BasicType) and
                t.value_type.typename in ['float', 'double', 'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32', 'int64', 'uint64']
            ):
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.status != other.status:
            return False
        if self.result != other.result:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def status(self):
        """Message field 'status'."""
        return self._status

    @status.setter
    def status(self, value):
        if __debug__:
            assert \
                isinstance(value, int), \
                "The 'status' field must be of type 'int'"
            assert value >= -128 and value < 128, \
                "The 'status' field must be an integer in [-128, 127]"
        self._status = value

    @property
    def result(self):
        """Message field 'result'."""
        return self._result

    @result.setter
    def result(self, value):
        if __debug__:
            from turtlesim.action._rotate_absolute import RotateAbsolute_Result
            assert \
                isinstance(value, RotateAbsolute_Result), \
                "The 'result' field must be a sub message of type 'RotateAbsolute_Result'"
        self._result = value


class Metaclass_RotateAbsolute_GetResult(type):
    """Metaclass of service 'RotateAbsolute_GetResult'."""

    _TYPE_SUPPORT = None

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_GetResult')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._TYPE_SUPPORT = module.type_support_srv__action__rotate_absolute__get_result

            from turtlesim.action import _rotate_absolute
            if _rotate_absolute.Metaclass_RotateAbsolute_GetResult_Request._TYPE_SUPPORT is None:
                _rotate_absolute.Metaclass_RotateAbsolute_GetResult_Request.__import_type_support__()
            if _rotate_absolute.Metaclass_RotateAbsolute_GetResult_Response._TYPE_SUPPORT is None:
                _rotate_absolute.Metaclass_RotateAbsolute_GetResult_Response.__import_type_support__()


class RotateAbsolute_GetResult(metaclass=Metaclass_RotateAbsolute_GetResult):
    from turtlesim.action._rotate_absolute import RotateAbsolute_GetResult_Request as Request
    from turtlesim.action._rotate_absolute import RotateAbsolute_GetResult_Response as Response

    def __init__(self):
        raise NotImplementedError('Service classes can not be instantiated')


# Import statements for member types

# already imported above
# import rosidl_parser.definition


class Metaclass_RotateAbsolute_FeedbackMessage(type):
    """Metaclass of message 'RotateAbsolute_FeedbackMessage'."""

    _CREATE_ROS_MESSAGE = None
    _CONVERT_FROM_PY = None
    _CONVERT_TO_PY = None
    _DESTROY_ROS_MESSAGE = None
    _TYPE_SUPPORT = None

    __constants = {
    }

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute_FeedbackMessage')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._CREATE_ROS_MESSAGE = module.create_ros_message_msg__action__rotate_absolute__feedback_message
            cls._CONVERT_FROM_PY = module.convert_from_py_msg__action__rotate_absolute__feedback_message
            cls._CONVERT_TO_PY = module.convert_to_py_msg__action__rotate_absolute__feedback_message
            cls._TYPE_SUPPORT = module.type_support_msg__action__rotate_absolute__feedback_message
            cls._DESTROY_ROS_MESSAGE = module.destroy_ros_message_msg__action__rotate_absolute__feedback_message

            from turtlesim.action import RotateAbsolute
            if RotateAbsolute.Feedback.__class__._TYPE_SUPPORT is None:
                RotateAbsolute.Feedback.__class__.__import_type_support__()

            from unique_identifier_msgs.msg import UUID
            if UUID.__class__._TYPE_SUPPORT is None:
                UUID.__class__.__import_type_support__()

    @classmethod
    def __prepare__(cls, name, bases, **kwargs):
        # list constant names here so that they appear in the help text of
        # the message class under "Data and other attributes defined here:"
        # as well as populate each message instance
        return {
        }


class RotateAbsolute_FeedbackMessage(metaclass=Metaclass_RotateAbsolute_FeedbackMessage):
    """Message class 'RotateAbsolute_FeedbackMessage'."""

    __slots__ = [
        '_goal_id',
        '_feedback',
    ]

    _fields_and_field_types = {
        'goal_id': 'unique_identifier_msgs/UUID',
        'feedback': 'turtlesim/RotateAbsolute_Feedback',
    }

    SLOT_TYPES = (
        rosidl_parser.definition.NamespacedType(['unique_identifier_msgs', 'msg'], 'UUID'),  # noqa: E501
        rosidl_parser.definition.NamespacedType(['turtlesim', 'action'], 'RotateAbsolute_Feedback'),  # noqa: E501
    )

    def __init__(self, **kwargs):
        assert all('_' + key in self.__slots__ for key in kwargs.keys()), \
            'Invalid arguments passed to constructor: %s' % \
            ', '.join(sorted(k for k in kwargs.keys() if '_' + k not in self.__slots__))
        from unique_identifier_msgs.msg import UUID
        self.goal_id = kwargs.get('goal_id', UUID())
        from turtlesim.action._rotate_absolute import RotateAbsolute_Feedback
        self.feedback = kwargs.get('feedback', RotateAbsolute_Feedback())

    def __repr__(self):
        typename = self.__class__.__module__.split('.')
        typename.pop()
        typename.append(self.__class__.__name__)
        args = []
        for s, t in zip(self.__slots__, self.SLOT_TYPES):
            field = getattr(self, s)
            fieldstr = repr(field)
            # We use Python array type for fields that can be directly stored
            # in them, and "normal" sequences for everything else.  If it is
            # a type that we store in an array, strip off the 'array' portion.
            if (
                isinstance(t, rosidl_parser.definition.AbstractSequence) and
                isinstance(t.value_type, rosidl_parser.definition.BasicType) and
                t.value_type.typename in ['float', 'double', 'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32', 'int64', 'uint64']
            ):
                if len(field) == 0:
                    fieldstr = '[]'
                else:
                    assert fieldstr.startswith('array(')
                    prefix = "array('X', "
                    suffix = ')'
                    fieldstr = fieldstr[len(prefix):-len(suffix)]
            args.append(s[1:] + '=' + fieldstr)
        return '%s(%s)' % ('.'.join(typename), ', '.join(args))

    def __eq__(self, other):
        if not isinstance(other, self.__class__):
            return False
        if self.goal_id != other.goal_id:
            return False
        if self.feedback != other.feedback:
            return False
        return True

    @classmethod
    def get_fields_and_field_types(cls):
        from copy import copy
        return copy(cls._fields_and_field_types)

    @property
    def goal_id(self):
        """Message field 'goal_id'."""
        return self._goal_id

    @goal_id.setter
    def goal_id(self, value):
        if __debug__:
            from unique_identifier_msgs.msg import UUID
            assert \
                isinstance(value, UUID), \
                "The 'goal_id' field must be a sub message of type 'UUID'"
        self._goal_id = value

    @property
    def feedback(self):
        """Message field 'feedback'."""
        return self._feedback

    @feedback.setter
    def feedback(self, value):
        if __debug__:
            from turtlesim.action._rotate_absolute import RotateAbsolute_Feedback
            assert \
                isinstance(value, RotateAbsolute_Feedback), \
                "The 'feedback' field must be a sub message of type 'RotateAbsolute_Feedback'"
        self._feedback = value


class Metaclass_RotateAbsolute(type):
    """Metaclass of action 'RotateAbsolute'."""

    _TYPE_SUPPORT = None

    @classmethod
    def __import_type_support__(cls):
        try:
            from rosidl_generator_py import import_type_support
            module = import_type_support('turtlesim')
        except ImportError:
            import logging
            import traceback
            logger = logging.getLogger(
                'turtlesim.action.RotateAbsolute')
            logger.debug(
                'Failed to import needed modules for type support:\n' +
                traceback.format_exc())
        else:
            cls._TYPE_SUPPORT = module.type_support_action__action__rotate_absolute

            from action_msgs.msg import _goal_status_array
            if _goal_status_array.Metaclass_GoalStatusArray._TYPE_SUPPORT is None:
                _goal_status_array.Metaclass_GoalStatusArray.__import_type_support__()
            from action_msgs.srv import _cancel_goal
            if _cancel_goal.Metaclass_CancelGoal._TYPE_SUPPORT is None:
                _cancel_goal.Metaclass_CancelGoal.__import_type_support__()

            from turtlesim.action import _rotate_absolute
            if _rotate_absolute.Metaclass_RotateAbsolute_SendGoal._TYPE_SUPPORT is None:
                _rotate_absolute.Metaclass_RotateAbsolute_SendGoal.__import_type_support__()
            if _rotate_absolute.Metaclass_RotateAbsolute_GetResult._TYPE_SUPPORT is None:
                _rotate_absolute.Metaclass_RotateAbsolute_GetResult.__import_type_support__()
            if _rotate_absolute.Metaclass_RotateAbsolute_FeedbackMessage._TYPE_SUPPORT is None:
                _rotate_absolute.Metaclass_RotateAbsolute_FeedbackMessage.__import_type_support__()


class RotateAbsolute(metaclass=Metaclass_RotateAbsolute):

    # The goal message defined in the action definition.
    from turtlesim.action._rotate_absolute import RotateAbsolute_Goal as Goal
    # The result message defined in the action definition.
    from turtlesim.action._rotate_absolute import RotateAbsolute_Result as Result
    # The feedback message defined in the action definition.
    from turtlesim.action._rotate_absolute import RotateAbsolute_Feedback as Feedback

    class Impl:

        # The send_goal service using a wrapped version of the goal message as a request.
        from turtlesim.action._rotate_absolute import RotateAbsolute_SendGoal as SendGoalService
        # The get_result service using a wrapped version of the result message as a response.
        from turtlesim.action._rotate_absolute import RotateAbsolute_GetResult as GetResultService
        # The feedback message with generic fields which wraps the feedback message.
        from turtlesim.action._rotate_absolute import RotateAbsolute_FeedbackMessage as FeedbackMessage

        # The generic service to cancel a goal.
        from action_msgs.srv._cancel_goal import CancelGoal as CancelGoalService
        # The generic message for get the status of a goal.
        from action_msgs.msg._goal_status_array import GoalStatusArray as GoalStatusMessage

    def __init__(self):
        raise NotImplementedError('Action classes can not be instantiated')
