# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: linear.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


import common_msgs_pb2 as common__msgs__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='linear.proto',
  package='Nrmk.IndyFramework',
  syntax='proto3',
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x0clinear.proto\x12\x12Nrmk.IndyFramework\x1a\x11\x63ommon_msgs.proto\"\x7f\n\x0cLinearTarget\x12\x10\n\x08start_mm\x18\x01 \x03(\x02\x12\x11\n\ttarget_mm\x18\x02 \x03(\x02\x12\x0e\n\x06vel_mm\x18\x03 \x01(\x02\x12\x0e\n\x06\x61\x63\x63_mm\x18\x04 \x01(\x02\x12\x13\n\x0bis_absolute\x18\x05 \x01(\x08\x12\x15\n\rteaching_mode\x18\n \x01(\x08\"\x89\x04\n\x08\x41xesInfo\x12\x0e\n\x06\x61\x63tive\x18\x01 \x03(\x08\x12\x0e\n\x06pos_mm\x18\x02 \x03(\x02\x12\x0e\n\x06vel_mm\x18\x03 \x03(\x02\x12\x11\n\tdespos_mm\x18\x04 \x03(\x02\x12\x11\n\tdesvel_mm\x18\x05 \x03(\x02\x12\x11\n\tdesacc_mm\x18\x06 \x03(\x02\x12\x10\n\x08num_axes\x18\n \x01(\r\x12\x36\n\x08op_state\x18\x0b \x01(\x0e\x32$.Nrmk.IndyFramework.AxesInfo.OpState\x12:\n\ntraj_state\x18\x0c \x01(\x0e\x32&.Nrmk.IndyFramework.AxesInfo.TrajState\"o\n\x07OpState\x12\x0e\n\nSYSTEM_OFF\x10\x00\x12\r\n\tSYSTEM_ON\x10\x01\x12\x0b\n\x07VIOLATE\x10\x02\x12\x10\n\x0cRECOVER_HARD\x10\x03\x12\x10\n\x0cRECOVER_SOFT\x10\x04\x12\x08\n\x04IDLE\x10\x05\x12\n\n\x06MOVING\x10\x06\"\x9c\x01\n\tTrajState\x12\r\n\tTRAJ_NONE\x10\x00\x12\r\n\tTRAJ_INIT\x10\x01\x12\r\n\tTRAJ_CALC\x10\x02\x12\r\n\tTRAJ_STBY\x10\x03\x12\x0c\n\x08TRAJ_ACC\x10\x04\x12\x0c\n\x08TRAJ_CRZ\x10\x05\x12\x0c\n\x08TRAJ_DEC\x10\x06\x12\r\n\tTRAJ_CANC\x10\x07\x12\x0c\n\x08TRAJ_FIN\x10\x08\x12\x0c\n\x08TRAJ_ERR\x10\t2\xd6\x03\n\rLinearControl\x12H\n\x0bSetServoAll\x12\x19.Nrmk.IndyFramework.State\x1a\x1c.Nrmk.IndyFramework.Response\"\x00\x12N\n\nMoveLinear\x12 .Nrmk.IndyFramework.LinearTarget\x1a\x1c.Nrmk.IndyFramework.Response\"\x00\x12I\n\nStopMotion\x12\x1b.Nrmk.IndyFramework.StopCat\x1a\x1c.Nrmk.IndyFramework.Response\"\x00\x12K\n\x0bPauseMotion\x12\x1c.Nrmk.IndyFramework.PauseCat\x1a\x1c.Nrmk.IndyFramework.Response\"\x00\x12I\n\x0cResumeMotion\x12\x19.Nrmk.IndyFramework.Empty\x1a\x1c.Nrmk.IndyFramework.Response\"\x00\x12H\n\x0bGetAxesInfo\x12\x19.Nrmk.IndyFramework.Empty\x1a\x1c.Nrmk.IndyFramework.AxesInfo\"\x00\x62\x06proto3'
  ,
  dependencies=[common__msgs__pb2.DESCRIPTOR,])



_AXESINFO_OPSTATE = _descriptor.EnumDescriptor(
  name='OpState',
  full_name='Nrmk.IndyFramework.AxesInfo.OpState',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='SYSTEM_OFF', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='SYSTEM_ON', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='VIOLATE', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='RECOVER_HARD', index=3, number=3,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='RECOVER_SOFT', index=4, number=4,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='IDLE', index=5, number=5,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='MOVING', index=6, number=6,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=436,
  serialized_end=547,
)
_sym_db.RegisterEnumDescriptor(_AXESINFO_OPSTATE)

_AXESINFO_TRAJSTATE = _descriptor.EnumDescriptor(
  name='TrajState',
  full_name='Nrmk.IndyFramework.AxesInfo.TrajState',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='TRAJ_NONE', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='TRAJ_INIT', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='TRAJ_CALC', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='TRAJ_STBY', index=3, number=3,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='TRAJ_ACC', index=4, number=4,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='TRAJ_CRZ', index=5, number=5,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='TRAJ_DEC', index=6, number=6,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='TRAJ_CANC', index=7, number=7,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='TRAJ_FIN', index=8, number=8,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='TRAJ_ERR', index=9, number=9,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=550,
  serialized_end=706,
)
_sym_db.RegisterEnumDescriptor(_AXESINFO_TRAJSTATE)


_LINEARTARGET = _descriptor.Descriptor(
  name='LinearTarget',
  full_name='Nrmk.IndyFramework.LinearTarget',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='start_mm', full_name='Nrmk.IndyFramework.LinearTarget.start_mm', index=0,
      number=1, type=2, cpp_type=6, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='target_mm', full_name='Nrmk.IndyFramework.LinearTarget.target_mm', index=1,
      number=2, type=2, cpp_type=6, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='vel_mm', full_name='Nrmk.IndyFramework.LinearTarget.vel_mm', index=2,
      number=3, type=2, cpp_type=6, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='acc_mm', full_name='Nrmk.IndyFramework.LinearTarget.acc_mm', index=3,
      number=4, type=2, cpp_type=6, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='is_absolute', full_name='Nrmk.IndyFramework.LinearTarget.is_absolute', index=4,
      number=5, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='teaching_mode', full_name='Nrmk.IndyFramework.LinearTarget.teaching_mode', index=5,
      number=10, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=55,
  serialized_end=182,
)


_AXESINFO = _descriptor.Descriptor(
  name='AxesInfo',
  full_name='Nrmk.IndyFramework.AxesInfo',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='active', full_name='Nrmk.IndyFramework.AxesInfo.active', index=0,
      number=1, type=8, cpp_type=7, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='pos_mm', full_name='Nrmk.IndyFramework.AxesInfo.pos_mm', index=1,
      number=2, type=2, cpp_type=6, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='vel_mm', full_name='Nrmk.IndyFramework.AxesInfo.vel_mm', index=2,
      number=3, type=2, cpp_type=6, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='despos_mm', full_name='Nrmk.IndyFramework.AxesInfo.despos_mm', index=3,
      number=4, type=2, cpp_type=6, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='desvel_mm', full_name='Nrmk.IndyFramework.AxesInfo.desvel_mm', index=4,
      number=5, type=2, cpp_type=6, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='desacc_mm', full_name='Nrmk.IndyFramework.AxesInfo.desacc_mm', index=5,
      number=6, type=2, cpp_type=6, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='num_axes', full_name='Nrmk.IndyFramework.AxesInfo.num_axes', index=6,
      number=10, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='op_state', full_name='Nrmk.IndyFramework.AxesInfo.op_state', index=7,
      number=11, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='traj_state', full_name='Nrmk.IndyFramework.AxesInfo.traj_state', index=8,
      number=12, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _AXESINFO_OPSTATE,
    _AXESINFO_TRAJSTATE,
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=185,
  serialized_end=706,
)

_AXESINFO.fields_by_name['op_state'].enum_type = _AXESINFO_OPSTATE
_AXESINFO.fields_by_name['traj_state'].enum_type = _AXESINFO_TRAJSTATE
_AXESINFO_OPSTATE.containing_type = _AXESINFO
_AXESINFO_TRAJSTATE.containing_type = _AXESINFO
DESCRIPTOR.message_types_by_name['LinearTarget'] = _LINEARTARGET
DESCRIPTOR.message_types_by_name['AxesInfo'] = _AXESINFO
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

LinearTarget = _reflection.GeneratedProtocolMessageType('LinearTarget', (_message.Message,), {
  'DESCRIPTOR' : _LINEARTARGET,
  '__module__' : 'linear_pb2'
  # @@protoc_insertion_point(class_scope:Nrmk.IndyFramework.LinearTarget)
  })
_sym_db.RegisterMessage(LinearTarget)

AxesInfo = _reflection.GeneratedProtocolMessageType('AxesInfo', (_message.Message,), {
  'DESCRIPTOR' : _AXESINFO,
  '__module__' : 'linear_pb2'
  # @@protoc_insertion_point(class_scope:Nrmk.IndyFramework.AxesInfo)
  })
_sym_db.RegisterMessage(AxesInfo)



_LINEARCONTROL = _descriptor.ServiceDescriptor(
  name='LinearControl',
  full_name='Nrmk.IndyFramework.LinearControl',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=709,
  serialized_end=1179,
  methods=[
  _descriptor.MethodDescriptor(
    name='SetServoAll',
    full_name='Nrmk.IndyFramework.LinearControl.SetServoAll',
    index=0,
    containing_service=None,
    input_type=common__msgs__pb2._STATE,
    output_type=common__msgs__pb2._RESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='MoveLinear',
    full_name='Nrmk.IndyFramework.LinearControl.MoveLinear',
    index=1,
    containing_service=None,
    input_type=_LINEARTARGET,
    output_type=common__msgs__pb2._RESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='StopMotion',
    full_name='Nrmk.IndyFramework.LinearControl.StopMotion',
    index=2,
    containing_service=None,
    input_type=common__msgs__pb2._STOPCAT,
    output_type=common__msgs__pb2._RESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='PauseMotion',
    full_name='Nrmk.IndyFramework.LinearControl.PauseMotion',
    index=3,
    containing_service=None,
    input_type=common__msgs__pb2._PAUSECAT,
    output_type=common__msgs__pb2._RESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='ResumeMotion',
    full_name='Nrmk.IndyFramework.LinearControl.ResumeMotion',
    index=4,
    containing_service=None,
    input_type=common__msgs__pb2._EMPTY,
    output_type=common__msgs__pb2._RESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='GetAxesInfo',
    full_name='Nrmk.IndyFramework.LinearControl.GetAxesInfo',
    index=5,
    containing_service=None,
    input_type=common__msgs__pb2._EMPTY,
    output_type=_AXESINFO,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_LINEARCONTROL)

DESCRIPTOR.services_by_name['LinearControl'] = _LINEARCONTROL

# @@protoc_insertion_point(module_scope)
