You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
160 lines
5.8 KiB
160 lines
5.8 KiB
# -*- coding: utf-8 -*- |
|
# Generated by the protocol buffer compiler. DO NOT EDIT! |
|
# source: config.proto |
|
|
|
import sys |
|
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) |
|
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() |
|
|
|
|
|
|
|
|
|
DESCRIPTOR = _descriptor.FileDescriptor( |
|
name='config.proto', |
|
package='ugv.config', |
|
syntax='proto3', |
|
serialized_options=_b('H\003'), |
|
serialized_pb=_b('\n\x0c\x63onfig.proto\x12\nugv.config\"X\n\tPidParams\x12\n\n\x02kp\x18\x01 \x01(\x02\x12\n\n\x02ki\x18\x02 \x01(\x02\x12\n\n\x02kd\x18\x03 \x01(\x02\x12\x12\n\nmax_output\x18\x04 \x01(\x02\x12\x13\n\x0bmax_i_error\x18\x05 \x01(\x02\"x\n\x06\x43onfig\x12\x17\n\x0fmin_target_dist\x18\x01 \x01(\x02\x12\x13\n\x0b\x64rive_power\x18\x02 \x01(\x02\x12(\n\tangle_pid\x18\x03 \x01(\x0b\x32\x15.ugv.config.PidParams\x12\x16\n\x0emin_flip_pitch\x18\x04 \x01(\x02\x42\x02H\x03\x62\x06proto3') |
|
) |
|
|
|
|
|
|
|
|
|
_PIDPARAMS = _descriptor.Descriptor( |
|
name='PidParams', |
|
full_name='ugv.config.PidParams', |
|
filename=None, |
|
file=DESCRIPTOR, |
|
containing_type=None, |
|
fields=[ |
|
_descriptor.FieldDescriptor( |
|
name='kp', full_name='ugv.config.PidParams.kp', index=0, |
|
number=1, 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), |
|
_descriptor.FieldDescriptor( |
|
name='ki', full_name='ugv.config.PidParams.ki', index=1, |
|
number=2, 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), |
|
_descriptor.FieldDescriptor( |
|
name='kd', full_name='ugv.config.PidParams.kd', 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), |
|
_descriptor.FieldDescriptor( |
|
name='max_output', full_name='ugv.config.PidParams.max_output', 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), |
|
_descriptor.FieldDescriptor( |
|
name='max_i_error', full_name='ugv.config.PidParams.max_i_error', index=4, |
|
number=5, 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), |
|
], |
|
extensions=[ |
|
], |
|
nested_types=[], |
|
enum_types=[ |
|
], |
|
serialized_options=None, |
|
is_extendable=False, |
|
syntax='proto3', |
|
extension_ranges=[], |
|
oneofs=[ |
|
], |
|
serialized_start=28, |
|
serialized_end=116, |
|
) |
|
|
|
|
|
_CONFIG = _descriptor.Descriptor( |
|
name='Config', |
|
full_name='ugv.config.Config', |
|
filename=None, |
|
file=DESCRIPTOR, |
|
containing_type=None, |
|
fields=[ |
|
_descriptor.FieldDescriptor( |
|
name='min_target_dist', full_name='ugv.config.Config.min_target_dist', index=0, |
|
number=1, 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), |
|
_descriptor.FieldDescriptor( |
|
name='drive_power', full_name='ugv.config.Config.drive_power', index=1, |
|
number=2, 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), |
|
_descriptor.FieldDescriptor( |
|
name='angle_pid', full_name='ugv.config.Config.angle_pid', 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='min_flip_pitch', full_name='ugv.config.Config.min_flip_pitch', 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), |
|
], |
|
extensions=[ |
|
], |
|
nested_types=[], |
|
enum_types=[ |
|
], |
|
serialized_options=None, |
|
is_extendable=False, |
|
syntax='proto3', |
|
extension_ranges=[], |
|
oneofs=[ |
|
], |
|
serialized_start=118, |
|
serialized_end=238, |
|
) |
|
|
|
_CONFIG.fields_by_name['angle_pid'].message_type = _PIDPARAMS |
|
DESCRIPTOR.message_types_by_name['PidParams'] = _PIDPARAMS |
|
DESCRIPTOR.message_types_by_name['Config'] = _CONFIG |
|
_sym_db.RegisterFileDescriptor(DESCRIPTOR) |
|
|
|
PidParams = _reflection.GeneratedProtocolMessageType('PidParams', (_message.Message,), dict( |
|
DESCRIPTOR = _PIDPARAMS, |
|
__module__ = 'config_pb2' |
|
# @@protoc_insertion_point(class_scope:ugv.config.PidParams) |
|
)) |
|
_sym_db.RegisterMessage(PidParams) |
|
|
|
Config = _reflection.GeneratedProtocolMessageType('Config', (_message.Message,), dict( |
|
DESCRIPTOR = _CONFIG, |
|
__module__ = 'config_pb2' |
|
# @@protoc_insertion_point(class_scope:ugv.config.Config) |
|
)) |
|
_sym_db.RegisterMessage(Config) |
|
|
|
|
|
DESCRIPTOR._options = None |
|
# @@protoc_insertion_point(module_scope)
|
|
|