|
|
@ -21,7 +21,7 @@ DESCRIPTOR = _descriptor.FileDescriptor( |
|
|
|
package='uas.ugv.messages', |
|
|
|
package='uas.ugv.messages', |
|
|
|
syntax='proto3', |
|
|
|
syntax='proto3', |
|
|
|
serialized_options=_b('H\003'), |
|
|
|
serialized_options=_b('H\003'), |
|
|
|
serialized_pb=_b('\n\x0emessages.proto\x12\x10uas.ugv.messages\"V\n\x08Location\x12\x13\n\x0b\x66ix_quality\x18\x01 \x01(\r\x12\x10\n\x08latitude\x18\x02 \x01(\x02\x12\x11\n\tlongitude\x18\x03 \x01(\x02\x12\x10\n\x08\x61ltitude\x18\x04 \x01(\x02\"y\n\nUGV_Status\x12*\n\x05state\x18\x01 \x01(\x0e\x32\x1b.uas.ugv.messages.UGV_State\x12,\n\x08location\x18\x02 \x01(\x0b\x32\x1a.uas.ugv.messages.Location\x12\x11\n\tyaw_angle\x18\x03 \x01(\x02\"c\n\x0bUGV_Message\x12.\n\x06status\x18\x01 \x01(\x0b\x32\x1c.uas.ugv.messages.UGV_StatusH\x00\x12\x15\n\x0b\x63ommand_ack\x18\x02 \x01(\rH\x00\x42\r\n\x0bugv_message\"N\n\rGroundCommand\x12\n\n\x02id\x18\x01 \x01(\r\x12\x31\n\x04type\x18\x02 \x01(\x0e\x32#.uas.ugv.messages.GroundCommandType\"U\n\rGroundMessage\x12\x32\n\x07\x63ommand\x18\x01 \x01(\x0b\x32\x1f.uas.ugv.messages.GroundCommandH\x00\x42\x10\n\x0eground_message*f\n\tUGV_State\x12\x0e\n\nSTATE_IDLE\x10\x00\x12\x12\n\x0eSTATE_AQUIRING\x10\x01\x12\x11\n\rSTATE_DRIVING\x10\x02\x12\x12\n\x0eSTATE_FINISHED\x10\x03\x12\x0e\n\nSTATE_TEST\x10\x04*K\n\x11GroundCommandType\x12\x0f\n\x0b\x43MD_DISABLE\x10\x00\x12\x17\n\x13\x43MD_DRIVE_TO_TARGET\x10\x01\x12\x0c\n\x08\x43MD_TEST\x10\x02\x42\x02H\x03\x62\x06proto3') |
|
|
|
serialized_pb=_b('\n\x0emessages.proto\x12\x10uas.ugv.messages\"V\n\x08Location\x12\x13\n\x0b\x66ix_quality\x18\x01 \x01(\r\x12\x10\n\x08latitude\x18\x02 \x01(\x02\x12\x11\n\tlongitude\x18\x03 \x01(\x02\x12\x10\n\x08\x61ltitude\x18\x04 \x01(\x02\"y\n\nUGV_Status\x12*\n\x05state\x18\x01 \x01(\x0e\x32\x1b.uas.ugv.messages.UGV_State\x12,\n\x08location\x18\x02 \x01(\x0b\x32\x1a.uas.ugv.messages.Location\x12\x11\n\tyaw_angle\x18\x03 \x01(\x02\"c\n\x0bUGV_Message\x12.\n\x06status\x18\x01 \x01(\x0b\x32\x1c.uas.ugv.messages.UGV_StatusH\x00\x12\x15\n\x0b\x63ommand_ack\x18\x02 \x01(\rH\x00\x42\r\n\x0bugv_message\"2\n\x10\x44riveHeadingData\x12\x0f\n\x07heading\x18\x01 \x01(\x02\x12\r\n\x05power\x18\x02 \x01(\x02\"\x93\x01\n\rGroundCommand\x12\n\n\x02id\x18\x01 \x01(\r\x12\x31\n\x04type\x18\x02 \x01(\x0e\x32#.uas.ugv.messages.GroundCommandType\x12;\n\rdrive_heading\x18\x03 \x01(\x0b\x32\".uas.ugv.messages.DriveHeadingDataH\x00\x42\x06\n\x04\x64\x61ta\"U\n\rGroundMessage\x12\x32\n\x07\x63ommand\x18\x01 \x01(\x0b\x32\x1f.uas.ugv.messages.GroundCommandH\x00\x42\x10\n\x0eground_message*\xa6\x01\n\tUGV_State\x12\x0e\n\nSTATE_IDLE\x10\x00\x12\x12\n\x0eSTATE_AQUIRING\x10\x01\x12\x11\n\rSTATE_DRIVING\x10\x02\x12\x12\n\x0eSTATE_FINISHED\x10\x03\x12\x0e\n\nSTATE_TEST\x10\x04\x12\x12\n\x0eSTATE_FLIPPING\x10\x05\x12\x11\n\rSTATE_TURNING\x10\x06\x12\x17\n\x13STATE_DRIVE_HEADING\x10\x07*b\n\x11GroundCommandType\x12\x0f\n\x0b\x43MD_DISABLE\x10\x00\x12\x17\n\x13\x43MD_DRIVE_TO_TARGET\x10\x01\x12\x0c\n\x08\x43MD_TEST\x10\x02\x12\x15\n\x11\x43MD_DRIVE_HEADING\x10\x03\x42\x02H\x03\x62\x06proto3') |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
_UGV_STATE = _descriptor.EnumDescriptor( |
|
|
|
_UGV_STATE = _descriptor.EnumDescriptor( |
|
|
@ -50,11 +50,23 @@ _UGV_STATE = _descriptor.EnumDescriptor( |
|
|
|
name='STATE_TEST', index=4, number=4, |
|
|
|
name='STATE_TEST', index=4, number=4, |
|
|
|
serialized_options=None, |
|
|
|
serialized_options=None, |
|
|
|
type=None), |
|
|
|
type=None), |
|
|
|
|
|
|
|
_descriptor.EnumValueDescriptor( |
|
|
|
|
|
|
|
name='STATE_FLIPPING', index=5, number=5, |
|
|
|
|
|
|
|
serialized_options=None, |
|
|
|
|
|
|
|
type=None), |
|
|
|
|
|
|
|
_descriptor.EnumValueDescriptor( |
|
|
|
|
|
|
|
name='STATE_TURNING', index=6, number=6, |
|
|
|
|
|
|
|
serialized_options=None, |
|
|
|
|
|
|
|
type=None), |
|
|
|
|
|
|
|
_descriptor.EnumValueDescriptor( |
|
|
|
|
|
|
|
name='STATE_DRIVE_HEADING', index=7, number=7, |
|
|
|
|
|
|
|
serialized_options=None, |
|
|
|
|
|
|
|
type=None), |
|
|
|
], |
|
|
|
], |
|
|
|
containing_type=None, |
|
|
|
containing_type=None, |
|
|
|
serialized_options=None, |
|
|
|
serialized_options=None, |
|
|
|
serialized_start=515, |
|
|
|
serialized_start=638, |
|
|
|
serialized_end=617, |
|
|
|
serialized_end=804, |
|
|
|
) |
|
|
|
) |
|
|
|
_sym_db.RegisterEnumDescriptor(_UGV_STATE) |
|
|
|
_sym_db.RegisterEnumDescriptor(_UGV_STATE) |
|
|
|
|
|
|
|
|
|
|
@ -77,11 +89,15 @@ _GROUNDCOMMANDTYPE = _descriptor.EnumDescriptor( |
|
|
|
name='CMD_TEST', index=2, number=2, |
|
|
|
name='CMD_TEST', index=2, number=2, |
|
|
|
serialized_options=None, |
|
|
|
serialized_options=None, |
|
|
|
type=None), |
|
|
|
type=None), |
|
|
|
|
|
|
|
_descriptor.EnumValueDescriptor( |
|
|
|
|
|
|
|
name='CMD_DRIVE_HEADING', index=3, number=3, |
|
|
|
|
|
|
|
serialized_options=None, |
|
|
|
|
|
|
|
type=None), |
|
|
|
], |
|
|
|
], |
|
|
|
containing_type=None, |
|
|
|
containing_type=None, |
|
|
|
serialized_options=None, |
|
|
|
serialized_options=None, |
|
|
|
serialized_start=619, |
|
|
|
serialized_start=806, |
|
|
|
serialized_end=694, |
|
|
|
serialized_end=904, |
|
|
|
) |
|
|
|
) |
|
|
|
_sym_db.RegisterEnumDescriptor(_GROUNDCOMMANDTYPE) |
|
|
|
_sym_db.RegisterEnumDescriptor(_GROUNDCOMMANDTYPE) |
|
|
|
|
|
|
|
|
|
|
@ -91,9 +107,13 @@ STATE_AQUIRING = 1 |
|
|
|
STATE_DRIVING = 2 |
|
|
|
STATE_DRIVING = 2 |
|
|
|
STATE_FINISHED = 3 |
|
|
|
STATE_FINISHED = 3 |
|
|
|
STATE_TEST = 4 |
|
|
|
STATE_TEST = 4 |
|
|
|
|
|
|
|
STATE_FLIPPING = 5 |
|
|
|
|
|
|
|
STATE_TURNING = 6 |
|
|
|
|
|
|
|
STATE_DRIVE_HEADING = 7 |
|
|
|
CMD_DISABLE = 0 |
|
|
|
CMD_DISABLE = 0 |
|
|
|
CMD_DRIVE_TO_TARGET = 1 |
|
|
|
CMD_DRIVE_TO_TARGET = 1 |
|
|
|
CMD_TEST = 2 |
|
|
|
CMD_TEST = 2 |
|
|
|
|
|
|
|
CMD_DRIVE_HEADING = 3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -235,6 +255,44 @@ _UGV_MESSAGE = _descriptor.Descriptor( |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_DRIVEHEADINGDATA = _descriptor.Descriptor( |
|
|
|
|
|
|
|
name='DriveHeadingData', |
|
|
|
|
|
|
|
full_name='uas.ugv.messages.DriveHeadingData', |
|
|
|
|
|
|
|
filename=None, |
|
|
|
|
|
|
|
file=DESCRIPTOR, |
|
|
|
|
|
|
|
containing_type=None, |
|
|
|
|
|
|
|
fields=[ |
|
|
|
|
|
|
|
_descriptor.FieldDescriptor( |
|
|
|
|
|
|
|
name='heading', full_name='uas.ugv.messages.DriveHeadingData.heading', 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='power', full_name='uas.ugv.messages.DriveHeadingData.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), |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
extensions=[ |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
nested_types=[], |
|
|
|
|
|
|
|
enum_types=[ |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
serialized_options=None, |
|
|
|
|
|
|
|
is_extendable=False, |
|
|
|
|
|
|
|
syntax='proto3', |
|
|
|
|
|
|
|
extension_ranges=[], |
|
|
|
|
|
|
|
oneofs=[ |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
serialized_start=348, |
|
|
|
|
|
|
|
serialized_end=398, |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_GROUNDCOMMAND = _descriptor.Descriptor( |
|
|
|
_GROUNDCOMMAND = _descriptor.Descriptor( |
|
|
|
name='GroundCommand', |
|
|
|
name='GroundCommand', |
|
|
|
full_name='uas.ugv.messages.GroundCommand', |
|
|
|
full_name='uas.ugv.messages.GroundCommand', |
|
|
@ -256,6 +314,13 @@ _GROUNDCOMMAND = _descriptor.Descriptor( |
|
|
|
message_type=None, enum_type=None, containing_type=None, |
|
|
|
message_type=None, enum_type=None, containing_type=None, |
|
|
|
is_extension=False, extension_scope=None, |
|
|
|
is_extension=False, extension_scope=None, |
|
|
|
serialized_options=None, file=DESCRIPTOR), |
|
|
|
serialized_options=None, file=DESCRIPTOR), |
|
|
|
|
|
|
|
_descriptor.FieldDescriptor( |
|
|
|
|
|
|
|
name='drive_heading', full_name='uas.ugv.messages.GroundCommand.drive_heading', 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), |
|
|
|
], |
|
|
|
], |
|
|
|
extensions=[ |
|
|
|
extensions=[ |
|
|
|
], |
|
|
|
], |
|
|
@ -267,9 +332,12 @@ _GROUNDCOMMAND = _descriptor.Descriptor( |
|
|
|
syntax='proto3', |
|
|
|
syntax='proto3', |
|
|
|
extension_ranges=[], |
|
|
|
extension_ranges=[], |
|
|
|
oneofs=[ |
|
|
|
oneofs=[ |
|
|
|
|
|
|
|
_descriptor.OneofDescriptor( |
|
|
|
|
|
|
|
name='data', full_name='uas.ugv.messages.GroundCommand.data', |
|
|
|
|
|
|
|
index=0, containing_type=None, fields=[]), |
|
|
|
], |
|
|
|
], |
|
|
|
serialized_start=348, |
|
|
|
serialized_start=401, |
|
|
|
serialized_end=426, |
|
|
|
serialized_end=548, |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -302,8 +370,8 @@ _GROUNDMESSAGE = _descriptor.Descriptor( |
|
|
|
name='ground_message', full_name='uas.ugv.messages.GroundMessage.ground_message', |
|
|
|
name='ground_message', full_name='uas.ugv.messages.GroundMessage.ground_message', |
|
|
|
index=0, containing_type=None, fields=[]), |
|
|
|
index=0, containing_type=None, fields=[]), |
|
|
|
], |
|
|
|
], |
|
|
|
serialized_start=428, |
|
|
|
serialized_start=550, |
|
|
|
serialized_end=513, |
|
|
|
serialized_end=635, |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
_UGV_STATUS.fields_by_name['state'].enum_type = _UGV_STATE |
|
|
|
_UGV_STATUS.fields_by_name['state'].enum_type = _UGV_STATE |
|
|
@ -316,6 +384,10 @@ _UGV_MESSAGE.oneofs_by_name['ugv_message'].fields.append( |
|
|
|
_UGV_MESSAGE.fields_by_name['command_ack']) |
|
|
|
_UGV_MESSAGE.fields_by_name['command_ack']) |
|
|
|
_UGV_MESSAGE.fields_by_name['command_ack'].containing_oneof = _UGV_MESSAGE.oneofs_by_name['ugv_message'] |
|
|
|
_UGV_MESSAGE.fields_by_name['command_ack'].containing_oneof = _UGV_MESSAGE.oneofs_by_name['ugv_message'] |
|
|
|
_GROUNDCOMMAND.fields_by_name['type'].enum_type = _GROUNDCOMMANDTYPE |
|
|
|
_GROUNDCOMMAND.fields_by_name['type'].enum_type = _GROUNDCOMMANDTYPE |
|
|
|
|
|
|
|
_GROUNDCOMMAND.fields_by_name['drive_heading'].message_type = _DRIVEHEADINGDATA |
|
|
|
|
|
|
|
_GROUNDCOMMAND.oneofs_by_name['data'].fields.append( |
|
|
|
|
|
|
|
_GROUNDCOMMAND.fields_by_name['drive_heading']) |
|
|
|
|
|
|
|
_GROUNDCOMMAND.fields_by_name['drive_heading'].containing_oneof = _GROUNDCOMMAND.oneofs_by_name['data'] |
|
|
|
_GROUNDMESSAGE.fields_by_name['command'].message_type = _GROUNDCOMMAND |
|
|
|
_GROUNDMESSAGE.fields_by_name['command'].message_type = _GROUNDCOMMAND |
|
|
|
_GROUNDMESSAGE.oneofs_by_name['ground_message'].fields.append( |
|
|
|
_GROUNDMESSAGE.oneofs_by_name['ground_message'].fields.append( |
|
|
|
_GROUNDMESSAGE.fields_by_name['command']) |
|
|
|
_GROUNDMESSAGE.fields_by_name['command']) |
|
|
@ -323,6 +395,7 @@ _GROUNDMESSAGE.fields_by_name['command'].containing_oneof = _GROUNDMESSAGE.oneof |
|
|
|
DESCRIPTOR.message_types_by_name['Location'] = _LOCATION |
|
|
|
DESCRIPTOR.message_types_by_name['Location'] = _LOCATION |
|
|
|
DESCRIPTOR.message_types_by_name['UGV_Status'] = _UGV_STATUS |
|
|
|
DESCRIPTOR.message_types_by_name['UGV_Status'] = _UGV_STATUS |
|
|
|
DESCRIPTOR.message_types_by_name['UGV_Message'] = _UGV_MESSAGE |
|
|
|
DESCRIPTOR.message_types_by_name['UGV_Message'] = _UGV_MESSAGE |
|
|
|
|
|
|
|
DESCRIPTOR.message_types_by_name['DriveHeadingData'] = _DRIVEHEADINGDATA |
|
|
|
DESCRIPTOR.message_types_by_name['GroundCommand'] = _GROUNDCOMMAND |
|
|
|
DESCRIPTOR.message_types_by_name['GroundCommand'] = _GROUNDCOMMAND |
|
|
|
DESCRIPTOR.message_types_by_name['GroundMessage'] = _GROUNDMESSAGE |
|
|
|
DESCRIPTOR.message_types_by_name['GroundMessage'] = _GROUNDMESSAGE |
|
|
|
DESCRIPTOR.enum_types_by_name['UGV_State'] = _UGV_STATE |
|
|
|
DESCRIPTOR.enum_types_by_name['UGV_State'] = _UGV_STATE |
|
|
@ -350,6 +423,13 @@ UGV_Message = _reflection.GeneratedProtocolMessageType('UGV_Message', (_message. |
|
|
|
)) |
|
|
|
)) |
|
|
|
_sym_db.RegisterMessage(UGV_Message) |
|
|
|
_sym_db.RegisterMessage(UGV_Message) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DriveHeadingData = _reflection.GeneratedProtocolMessageType('DriveHeadingData', (_message.Message,), dict( |
|
|
|
|
|
|
|
DESCRIPTOR = _DRIVEHEADINGDATA, |
|
|
|
|
|
|
|
__module__ = 'messages_pb2' |
|
|
|
|
|
|
|
# @@protoc_insertion_point(class_scope:uas.ugv.messages.DriveHeadingData) |
|
|
|
|
|
|
|
)) |
|
|
|
|
|
|
|
_sym_db.RegisterMessage(DriveHeadingData) |
|
|
|
|
|
|
|
|
|
|
|
GroundCommand = _reflection.GeneratedProtocolMessageType('GroundCommand', (_message.Message,), dict( |
|
|
|
GroundCommand = _reflection.GeneratedProtocolMessageType('GroundCommand', (_message.Message,), dict( |
|
|
|
DESCRIPTOR = _GROUNDCOMMAND, |
|
|
|
DESCRIPTOR = _GROUNDCOMMAND, |
|
|
|
__module__ = 'messages_pb2' |
|
|
|
__module__ = 'messages_pb2' |
|
|
|