# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: src/control/messages/longitudinal_debug_state.proto

import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf.internal import enum_type_wrapper
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()


from FireSpark.protos.src.control.messages import pid_debug_state_pb2 as src_dot_control_dot_messages_dot_pid__debug__state__pb2

from FireSpark.protos.src.control.messages.pid_debug_state_pb2 import *

DESCRIPTOR = _descriptor.FileDescriptor(
  name='src/control/messages/longitudinal_debug_state.proto',
  package='avsoftware.control',
  syntax='proto3',
  serialized_options=None,
  serialized_pb=_b('\n3src/control/messages/longitudinal_debug_state.proto\x12\x12\x61vsoftware.control\x1a*src/control/messages/pid_debug_state.proto\"\xfb\x03\n\x16LongitudinalDebugState\x12\x17\n\x0fspeed_error_mps\x18\x01 \x01(\x01\x12\x42\n\x13throttle_brake_mode\x18\x02 \x01(\x0e\x32%.avsoftware.control.ThrottleBrakeMode\x12=\n\x12throttle_pid_state\x18\x03 \x01(\x0b\x32!.avsoftware.control.PIDDebugState\x12:\n\x0f\x62rake_pid_state\x18\x04 \x01(\x0b\x32!.avsoftware.control.PIDDebugState\x12#\n\x1b\x66\x65\x65\x64\x66orward_accel_term_mps2\x18\x05 \x01(\x01\x12\x1f\n\x17\x66\x65\x65\x64\x66orward_pedal_ratio\x18\x06 \x01(\x01\x12\x1f\n\x17speed_error_limited_mps\x18\x07 \x01(\x01\x12\x16\n\x0ethrottle_ratio\x18\x08 \x01(\x01\x12\x1e\n\x16throttle_ratio_limited\x18\t \x01(\x01\x12\x13\n\x0b\x62rake_ratio\x18\n \x01(\x01\x12\x1b\n\x13\x62rake_ratio_limited\x18\x0b \x01(\x01\x12\x17\n\x0fpid_loop_output\x18\x0c \x01(\x01\x12\x1f\n\x17switching_threshold_mps\x18\r \x01(\x01*9\n\x11ThrottleBrakeMode\x12\x0b\n\x07NOT_SET\x10\x00\x12\x0c\n\x08THROTTLE\x10\x01\x12\t\n\x05\x42RAKE\x10\x02P\x00\x62\x06proto3')
  ,
  dependencies=[src_dot_control_dot_messages_dot_pid__debug__state__pb2.DESCRIPTOR,],
  public_dependencies=[src_dot_control_dot_messages_dot_pid__debug__state__pb2.DESCRIPTOR,])

_THROTTLEBRAKEMODE = _descriptor.EnumDescriptor(
  name='ThrottleBrakeMode',
  full_name='avsoftware.control.ThrottleBrakeMode',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='NOT_SET', index=0, number=0,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='THROTTLE', index=1, number=1,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='BRAKE', index=2, number=2,
      serialized_options=None,
      type=None),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=629,
  serialized_end=686,
)
_sym_db.RegisterEnumDescriptor(_THROTTLEBRAKEMODE)

ThrottleBrakeMode = enum_type_wrapper.EnumTypeWrapper(_THROTTLEBRAKEMODE)
NOT_SET = 0
THROTTLE = 1
BRAKE = 2



_LONGITUDINALDEBUGSTATE = _descriptor.Descriptor(
  name='LongitudinalDebugState',
  full_name='avsoftware.control.LongitudinalDebugState',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='speed_error_mps', full_name='avsoftware.control.LongitudinalDebugState.speed_error_mps', index=0,
      number=1, type=1, cpp_type=5, 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),
    _descriptor.FieldDescriptor(
      name='throttle_brake_mode', full_name='avsoftware.control.LongitudinalDebugState.throttle_brake_mode', index=1,
      number=2, 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),
    _descriptor.FieldDescriptor(
      name='throttle_pid_state', full_name='avsoftware.control.LongitudinalDebugState.throttle_pid_state', index=2,
      number=3, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='brake_pid_state', full_name='avsoftware.control.LongitudinalDebugState.brake_pid_state', index=3,
      number=4, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='feedforward_accel_term_mps2', full_name='avsoftware.control.LongitudinalDebugState.feedforward_accel_term_mps2', index=4,
      number=5, type=1, cpp_type=5, 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),
    _descriptor.FieldDescriptor(
      name='feedforward_pedal_ratio', full_name='avsoftware.control.LongitudinalDebugState.feedforward_pedal_ratio', index=5,
      number=6, type=1, cpp_type=5, 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),
    _descriptor.FieldDescriptor(
      name='speed_error_limited_mps', full_name='avsoftware.control.LongitudinalDebugState.speed_error_limited_mps', index=6,
      number=7, type=1, cpp_type=5, 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),
    _descriptor.FieldDescriptor(
      name='throttle_ratio', full_name='avsoftware.control.LongitudinalDebugState.throttle_ratio', index=7,
      number=8, type=1, cpp_type=5, 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),
    _descriptor.FieldDescriptor(
      name='throttle_ratio_limited', full_name='avsoftware.control.LongitudinalDebugState.throttle_ratio_limited', index=8,
      number=9, type=1, cpp_type=5, 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),
    _descriptor.FieldDescriptor(
      name='brake_ratio', full_name='avsoftware.control.LongitudinalDebugState.brake_ratio', index=9,
      number=10, type=1, cpp_type=5, 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),
    _descriptor.FieldDescriptor(
      name='brake_ratio_limited', full_name='avsoftware.control.LongitudinalDebugState.brake_ratio_limited', index=10,
      number=11, type=1, cpp_type=5, 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),
    _descriptor.FieldDescriptor(
      name='pid_loop_output', full_name='avsoftware.control.LongitudinalDebugState.pid_loop_output', index=11,
      number=12, type=1, cpp_type=5, 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),
    _descriptor.FieldDescriptor(
      name='switching_threshold_mps', full_name='avsoftware.control.LongitudinalDebugState.switching_threshold_mps', index=12,
      number=13, type=1, cpp_type=5, 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=120,
  serialized_end=627,
)

_LONGITUDINALDEBUGSTATE.fields_by_name['throttle_brake_mode'].enum_type = _THROTTLEBRAKEMODE
_LONGITUDINALDEBUGSTATE.fields_by_name['throttle_pid_state'].message_type = src_dot_control_dot_messages_dot_pid__debug__state__pb2._PIDDEBUGSTATE
_LONGITUDINALDEBUGSTATE.fields_by_name['brake_pid_state'].message_type = src_dot_control_dot_messages_dot_pid__debug__state__pb2._PIDDEBUGSTATE
DESCRIPTOR.message_types_by_name['LongitudinalDebugState'] = _LONGITUDINALDEBUGSTATE
DESCRIPTOR.enum_types_by_name['ThrottleBrakeMode'] = _THROTTLEBRAKEMODE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

LongitudinalDebugState = _reflection.GeneratedProtocolMessageType('LongitudinalDebugState', (_message.Message,), dict(
  DESCRIPTOR = _LONGITUDINALDEBUGSTATE,
  __module__ = 'src.control.messages.longitudinal_debug_state_pb2'
  # @@protoc_insertion_point(class_scope:avsoftware.control.LongitudinalDebugState)
  ))
_sym_db.RegisterMessage(LongitudinalDebugState)


# @@protoc_insertion_point(module_scope)
