262 lines
13 KiB
Python
262 lines
13 KiB
Python
|
|
# -*- coding: utf-8 -*-
|
||
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||
|
|
# source: cmvr/api/humanoid_robot_command.proto
|
||
|
|
"""Generated protocol buffer code."""
|
||
|
|
from google.protobuf.internal import enum_type_wrapper
|
||
|
|
from google.protobuf import descriptor as _descriptor
|
||
|
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
||
|
|
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 cmvr.api import common_pb2 as cmvr_dot_api_dot_common__pb2
|
||
|
|
|
||
|
|
|
||
|
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%cmvr/api/humanoid_robot_command.proto\x12\x08\x63mvr.api\x1a\x15\x63mvr/api/common.proto\"8\n\x08JointCmd\x12\x12\n\njoint_name\x18\x01 \x01(\t\x12\x0b\n\x03rad\x18\x02 \x01(\x01\x12\x0b\n\x03vel\x18\x03 \x01(\x01\"M\n\x06Pose3D\x12\t\n\x01x\x18\x01 \x01(\x01\x12\t\n\x01y\x18\x02 \x01(\x01\x12\t\n\x01z\x18\x03 \x01(\x01\x12\n\n\x02rx\x18\x04 \x01(\x01\x12\n\n\x02ry\x18\x05 \x01(\x01\x12\n\n\x02rz\x18\x06 \x01(\x01\"\xbd\x01\n\x05MoveJ\x1av\n\x07Request\x12/\n\x06header\x18\x01 \x01(\x0b\x32\x1f.cmvr.api.CommandHeader.Request\x12 \n\x04\x63mds\x18\x02 \x03(\x0b\x32\x12.cmvr.api.JointCmd\x12\x0b\n\x03vel\x18\x03 \x01(\x01\x12\x0b\n\x03\x61\x63\x63\x18\x04 \x01(\x01\x1a<\n\x08Response\x12\x30\n\x06header\x18\x01 \x01(\x0b\x32 .cmvr.api.CommandHeader.Feedback\"\xd3\x01\n\x05MoveL\x1a\x8b\x01\n\x07Request\x12/\n\x06header\x18\x01 \x01(\x0b\x32\x1f.cmvr.api.CommandHeader.Request\x12\x0f\n\x07\x65\x65_link\x18\x02 \x01(\t\x12$\n\ntargetPose\x18\x03 \x01(\x0b\x32\x10.cmvr.api.Pose3D\x12\x0b\n\x03vel\x18\x04 \x01(\x01\x12\x0b\n\x03\x61\x63\x63\x18\x05 \x01(\x01\x1a<\n\x08Response\x12\x30\n\x06header\x18\x01 \x01(\x0b\x32 .cmvr.api.CommandHeader.Feedback\"\xe2\x01\n\x06SpeedJ\x1a\x99\x01\n\x07Request\x12/\n\x06header\x18\x01 \x01(\x0b\x32\x1f.cmvr.api.CommandHeader.Request\x12\x12\n\njoint_name\x18\x02 \x01(\t\x12\x0b\n\x03vel\x18\x03 \x01(\x01\x12\x0b\n\x03\x61\x63\x63\x18\x04 \x01(\x01\x12/\n\x03\x64ir\x18\x05 \x01(\x0e\x32\".cmvr.api.RobotJointIndexDirection\x1a<\n\x08Response\x12\x30\n\x06header\x18\x01 \x01(\x0b\x32 .cmvr.api.CommandHeader.Feedback\"\x87\x02\n\x06SpeedL\x1a\xbe\x01\n\x07Request\x12/\n\x06header\x18\x01 \x01(\x0b\x32\x1f.cmvr.api.CommandHeader.Request\x12\x0f\n\x07\x65\x65_link\x18\x02 \x01(\t\x12\x0b\n\x03vel\x18\x03 \x01(\x01\x12\x0b\n\x03\x61\x63\x63\x18\x04 \x01(\x01\x12/\n\x03\x64ir\x18\x05 \x01(\x0e\x32\".cmvr.api.RobotJointIndexDirection\x12&\n\x04\x63\x61rt\x18\x06 \x01(\x0e\x32\x18.cmvr.api.RobotCartesian\x1a<\n\x08Response\x12\x30\n\x06header\x18\x01 \x01(\x0b\x32 .cmvr.api.CommandHeader.Feedback\"a\n\nJointState\x12\x0c\n\x04name\x18\x01 \x03(\t\x12\x10\n\x08position\x18\x02 \x03(\x01\x12\x10\n\x08velocity\x18\x03 \x03(\x01\x12\x0e\n\x06\x65\x66\x66ort\x18\x04 \x03(\x01\x12\x11\n\ttimestamp\x18\x05 \x01(\x01\"f\n\rJointResponse\x12\x30\n\x06header\x18\x01 \x01(\x0b\x32 .cmvr.api.CommandHeader.Feedback\x12#\n\x05state\x18\x02 \x03(\x0b\x32\x14.cmvr.api.JointState\"?\n\x0cJointRequest\x12/\n\x06header\x18\x01 \x01(\x0b\x32\x1f.cmvr.api.CommandHeader.Request\"\xc7\x01\n\x07GetPose\x1a^\n\x07Request\x12/\n\x06header\x18\x01 \x01(\x0b\x32\x1f.cmvr.api.CommandHeader.Request\x12\x11\n\tbase_link\x18\x02 \x01(\t\x12\x0f\n\x07\x65\x65_link\x18\x03 \x01(\t\x1a\\\n\x08Response\x12\x30\n\x06header\x18\x01 \x01(\x0b\x32 .cmvr.api.CommandHeader.Feedback\x12\x1e\n\x04pose\x18\x02 \x01(\x0b\x32\x10.cmvr.api.Pose3D*=\n\x0eRobotCartesian\x12\x05\n\x01X\x10\x00\x12\x05\n\x01Y\x10\x01\x12\x05\n\x01Z\x10\x02\x12\x06\n\x02RX\x10\x03\x12\x06\n\x02RY\x10\x04\x12\x06\n\x02RZ\x10\x05*\xbf\x01\n\x18RobotJointIndexDirection\x12\x0b\n\x07\x46ORWARD\x10\x00\x12\x0c\n\x08\x42\x41\x43KWARD\x10\x01\x12\x0e\n\nX_POSITIVE\x10\x02\x12\x0e\n\nX_NEGATIVE\x10\x03\x12\x0e\n\nY_POSITIVE\x10\x04\x12\x0e\n\nY_NEGATIVE\x10\x05\x12\x0e\n\nZ_POSITIVE\x10\x06\x12\x0e\n\nZ_NEGATIVE\x10\x07\x12\x0c\n\x08ROTATE_X\x10\x08\x12\x0c\n\x08ROTATE_Y\x10\t\x12\x0c\n\x08ROTATE_Z\x10\nb\x06proto3')
|
||
|
|
|
||
|
|
_ROBOTCARTESIAN = DESCRIPTOR.enum_types_by_name['RobotCartesian']
|
||
|
|
RobotCartesian = enum_type_wrapper.EnumTypeWrapper(_ROBOTCARTESIAN)
|
||
|
|
_ROBOTJOINTINDEXDIRECTION = DESCRIPTOR.enum_types_by_name['RobotJointIndexDirection']
|
||
|
|
RobotJointIndexDirection = enum_type_wrapper.EnumTypeWrapper(_ROBOTJOINTINDEXDIRECTION)
|
||
|
|
X = 0
|
||
|
|
Y = 1
|
||
|
|
Z = 2
|
||
|
|
RX = 3
|
||
|
|
RY = 4
|
||
|
|
RZ = 5
|
||
|
|
FORWARD = 0
|
||
|
|
BACKWARD = 1
|
||
|
|
X_POSITIVE = 2
|
||
|
|
X_NEGATIVE = 3
|
||
|
|
Y_POSITIVE = 4
|
||
|
|
Y_NEGATIVE = 5
|
||
|
|
Z_POSITIVE = 6
|
||
|
|
Z_NEGATIVE = 7
|
||
|
|
ROTATE_X = 8
|
||
|
|
ROTATE_Y = 9
|
||
|
|
ROTATE_Z = 10
|
||
|
|
|
||
|
|
|
||
|
|
_JOINTCMD = DESCRIPTOR.message_types_by_name['JointCmd']
|
||
|
|
_POSE3D = DESCRIPTOR.message_types_by_name['Pose3D']
|
||
|
|
_MOVEJ = DESCRIPTOR.message_types_by_name['MoveJ']
|
||
|
|
_MOVEJ_REQUEST = _MOVEJ.nested_types_by_name['Request']
|
||
|
|
_MOVEJ_RESPONSE = _MOVEJ.nested_types_by_name['Response']
|
||
|
|
_MOVEL = DESCRIPTOR.message_types_by_name['MoveL']
|
||
|
|
_MOVEL_REQUEST = _MOVEL.nested_types_by_name['Request']
|
||
|
|
_MOVEL_RESPONSE = _MOVEL.nested_types_by_name['Response']
|
||
|
|
_SPEEDJ = DESCRIPTOR.message_types_by_name['SpeedJ']
|
||
|
|
_SPEEDJ_REQUEST = _SPEEDJ.nested_types_by_name['Request']
|
||
|
|
_SPEEDJ_RESPONSE = _SPEEDJ.nested_types_by_name['Response']
|
||
|
|
_SPEEDL = DESCRIPTOR.message_types_by_name['SpeedL']
|
||
|
|
_SPEEDL_REQUEST = _SPEEDL.nested_types_by_name['Request']
|
||
|
|
_SPEEDL_RESPONSE = _SPEEDL.nested_types_by_name['Response']
|
||
|
|
_JOINTSTATE = DESCRIPTOR.message_types_by_name['JointState']
|
||
|
|
_JOINTRESPONSE = DESCRIPTOR.message_types_by_name['JointResponse']
|
||
|
|
_JOINTREQUEST = DESCRIPTOR.message_types_by_name['JointRequest']
|
||
|
|
_GETPOSE = DESCRIPTOR.message_types_by_name['GetPose']
|
||
|
|
_GETPOSE_REQUEST = _GETPOSE.nested_types_by_name['Request']
|
||
|
|
_GETPOSE_RESPONSE = _GETPOSE.nested_types_by_name['Response']
|
||
|
|
JointCmd = _reflection.GeneratedProtocolMessageType('JointCmd', (_message.Message,), {
|
||
|
|
'DESCRIPTOR' : _JOINTCMD,
|
||
|
|
'__module__' : 'cmvr.api.humanoid_robot_command_pb2'
|
||
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.JointCmd)
|
||
|
|
})
|
||
|
|
_sym_db.RegisterMessage(JointCmd)
|
||
|
|
|
||
|
|
Pose3D = _reflection.GeneratedProtocolMessageType('Pose3D', (_message.Message,), {
|
||
|
|
'DESCRIPTOR' : _POSE3D,
|
||
|
|
'__module__' : 'cmvr.api.humanoid_robot_command_pb2'
|
||
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.Pose3D)
|
||
|
|
})
|
||
|
|
_sym_db.RegisterMessage(Pose3D)
|
||
|
|
|
||
|
|
MoveJ = _reflection.GeneratedProtocolMessageType('MoveJ', (_message.Message,), {
|
||
|
|
|
||
|
|
'Request' : _reflection.GeneratedProtocolMessageType('Request', (_message.Message,), {
|
||
|
|
'DESCRIPTOR' : _MOVEJ_REQUEST,
|
||
|
|
'__module__' : 'cmvr.api.humanoid_robot_command_pb2'
|
||
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.MoveJ.Request)
|
||
|
|
})
|
||
|
|
,
|
||
|
|
|
||
|
|
'Response' : _reflection.GeneratedProtocolMessageType('Response', (_message.Message,), {
|
||
|
|
'DESCRIPTOR' : _MOVEJ_RESPONSE,
|
||
|
|
'__module__' : 'cmvr.api.humanoid_robot_command_pb2'
|
||
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.MoveJ.Response)
|
||
|
|
})
|
||
|
|
,
|
||
|
|
'DESCRIPTOR' : _MOVEJ,
|
||
|
|
'__module__' : 'cmvr.api.humanoid_robot_command_pb2'
|
||
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.MoveJ)
|
||
|
|
})
|
||
|
|
_sym_db.RegisterMessage(MoveJ)
|
||
|
|
_sym_db.RegisterMessage(MoveJ.Request)
|
||
|
|
_sym_db.RegisterMessage(MoveJ.Response)
|
||
|
|
|
||
|
|
MoveL = _reflection.GeneratedProtocolMessageType('MoveL', (_message.Message,), {
|
||
|
|
|
||
|
|
'Request' : _reflection.GeneratedProtocolMessageType('Request', (_message.Message,), {
|
||
|
|
'DESCRIPTOR' : _MOVEL_REQUEST,
|
||
|
|
'__module__' : 'cmvr.api.humanoid_robot_command_pb2'
|
||
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.MoveL.Request)
|
||
|
|
})
|
||
|
|
,
|
||
|
|
|
||
|
|
'Response' : _reflection.GeneratedProtocolMessageType('Response', (_message.Message,), {
|
||
|
|
'DESCRIPTOR' : _MOVEL_RESPONSE,
|
||
|
|
'__module__' : 'cmvr.api.humanoid_robot_command_pb2'
|
||
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.MoveL.Response)
|
||
|
|
})
|
||
|
|
,
|
||
|
|
'DESCRIPTOR' : _MOVEL,
|
||
|
|
'__module__' : 'cmvr.api.humanoid_robot_command_pb2'
|
||
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.MoveL)
|
||
|
|
})
|
||
|
|
_sym_db.RegisterMessage(MoveL)
|
||
|
|
_sym_db.RegisterMessage(MoveL.Request)
|
||
|
|
_sym_db.RegisterMessage(MoveL.Response)
|
||
|
|
|
||
|
|
SpeedJ = _reflection.GeneratedProtocolMessageType('SpeedJ', (_message.Message,), {
|
||
|
|
|
||
|
|
'Request' : _reflection.GeneratedProtocolMessageType('Request', (_message.Message,), {
|
||
|
|
'DESCRIPTOR' : _SPEEDJ_REQUEST,
|
||
|
|
'__module__' : 'cmvr.api.humanoid_robot_command_pb2'
|
||
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.SpeedJ.Request)
|
||
|
|
})
|
||
|
|
,
|
||
|
|
|
||
|
|
'Response' : _reflection.GeneratedProtocolMessageType('Response', (_message.Message,), {
|
||
|
|
'DESCRIPTOR' : _SPEEDJ_RESPONSE,
|
||
|
|
'__module__' : 'cmvr.api.humanoid_robot_command_pb2'
|
||
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.SpeedJ.Response)
|
||
|
|
})
|
||
|
|
,
|
||
|
|
'DESCRIPTOR' : _SPEEDJ,
|
||
|
|
'__module__' : 'cmvr.api.humanoid_robot_command_pb2'
|
||
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.SpeedJ)
|
||
|
|
})
|
||
|
|
_sym_db.RegisterMessage(SpeedJ)
|
||
|
|
_sym_db.RegisterMessage(SpeedJ.Request)
|
||
|
|
_sym_db.RegisterMessage(SpeedJ.Response)
|
||
|
|
|
||
|
|
SpeedL = _reflection.GeneratedProtocolMessageType('SpeedL', (_message.Message,), {
|
||
|
|
|
||
|
|
'Request' : _reflection.GeneratedProtocolMessageType('Request', (_message.Message,), {
|
||
|
|
'DESCRIPTOR' : _SPEEDL_REQUEST,
|
||
|
|
'__module__' : 'cmvr.api.humanoid_robot_command_pb2'
|
||
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.SpeedL.Request)
|
||
|
|
})
|
||
|
|
,
|
||
|
|
|
||
|
|
'Response' : _reflection.GeneratedProtocolMessageType('Response', (_message.Message,), {
|
||
|
|
'DESCRIPTOR' : _SPEEDL_RESPONSE,
|
||
|
|
'__module__' : 'cmvr.api.humanoid_robot_command_pb2'
|
||
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.SpeedL.Response)
|
||
|
|
})
|
||
|
|
,
|
||
|
|
'DESCRIPTOR' : _SPEEDL,
|
||
|
|
'__module__' : 'cmvr.api.humanoid_robot_command_pb2'
|
||
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.SpeedL)
|
||
|
|
})
|
||
|
|
_sym_db.RegisterMessage(SpeedL)
|
||
|
|
_sym_db.RegisterMessage(SpeedL.Request)
|
||
|
|
_sym_db.RegisterMessage(SpeedL.Response)
|
||
|
|
|
||
|
|
JointState = _reflection.GeneratedProtocolMessageType('JointState', (_message.Message,), {
|
||
|
|
'DESCRIPTOR' : _JOINTSTATE,
|
||
|
|
'__module__' : 'cmvr.api.humanoid_robot_command_pb2'
|
||
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.JointState)
|
||
|
|
})
|
||
|
|
_sym_db.RegisterMessage(JointState)
|
||
|
|
|
||
|
|
JointResponse = _reflection.GeneratedProtocolMessageType('JointResponse', (_message.Message,), {
|
||
|
|
'DESCRIPTOR' : _JOINTRESPONSE,
|
||
|
|
'__module__' : 'cmvr.api.humanoid_robot_command_pb2'
|
||
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.JointResponse)
|
||
|
|
})
|
||
|
|
_sym_db.RegisterMessage(JointResponse)
|
||
|
|
|
||
|
|
JointRequest = _reflection.GeneratedProtocolMessageType('JointRequest', (_message.Message,), {
|
||
|
|
'DESCRIPTOR' : _JOINTREQUEST,
|
||
|
|
'__module__' : 'cmvr.api.humanoid_robot_command_pb2'
|
||
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.JointRequest)
|
||
|
|
})
|
||
|
|
_sym_db.RegisterMessage(JointRequest)
|
||
|
|
|
||
|
|
GetPose = _reflection.GeneratedProtocolMessageType('GetPose', (_message.Message,), {
|
||
|
|
|
||
|
|
'Request' : _reflection.GeneratedProtocolMessageType('Request', (_message.Message,), {
|
||
|
|
'DESCRIPTOR' : _GETPOSE_REQUEST,
|
||
|
|
'__module__' : 'cmvr.api.humanoid_robot_command_pb2'
|
||
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.GetPose.Request)
|
||
|
|
})
|
||
|
|
,
|
||
|
|
|
||
|
|
'Response' : _reflection.GeneratedProtocolMessageType('Response', (_message.Message,), {
|
||
|
|
'DESCRIPTOR' : _GETPOSE_RESPONSE,
|
||
|
|
'__module__' : 'cmvr.api.humanoid_robot_command_pb2'
|
||
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.GetPose.Response)
|
||
|
|
})
|
||
|
|
,
|
||
|
|
'DESCRIPTOR' : _GETPOSE,
|
||
|
|
'__module__' : 'cmvr.api.humanoid_robot_command_pb2'
|
||
|
|
# @@protoc_insertion_point(class_scope:cmvr.api.GetPose)
|
||
|
|
})
|
||
|
|
_sym_db.RegisterMessage(GetPose)
|
||
|
|
_sym_db.RegisterMessage(GetPose.Request)
|
||
|
|
_sym_db.RegisterMessage(GetPose.Response)
|
||
|
|
|
||
|
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
||
|
|
|
||
|
|
DESCRIPTOR._options = None
|
||
|
|
_ROBOTCARTESIAN._serialized_start=1582
|
||
|
|
_ROBOTCARTESIAN._serialized_end=1643
|
||
|
|
_ROBOTJOINTINDEXDIRECTION._serialized_start=1646
|
||
|
|
_ROBOTJOINTINDEXDIRECTION._serialized_end=1837
|
||
|
|
_JOINTCMD._serialized_start=74
|
||
|
|
_JOINTCMD._serialized_end=130
|
||
|
|
_POSE3D._serialized_start=132
|
||
|
|
_POSE3D._serialized_end=209
|
||
|
|
_MOVEJ._serialized_start=212
|
||
|
|
_MOVEJ._serialized_end=401
|
||
|
|
_MOVEJ_REQUEST._serialized_start=221
|
||
|
|
_MOVEJ_REQUEST._serialized_end=339
|
||
|
|
_MOVEJ_RESPONSE._serialized_start=341
|
||
|
|
_MOVEJ_RESPONSE._serialized_end=401
|
||
|
|
_MOVEL._serialized_start=404
|
||
|
|
_MOVEL._serialized_end=615
|
||
|
|
_MOVEL_REQUEST._serialized_start=414
|
||
|
|
_MOVEL_REQUEST._serialized_end=553
|
||
|
|
_MOVEL_RESPONSE._serialized_start=341
|
||
|
|
_MOVEL_RESPONSE._serialized_end=401
|
||
|
|
_SPEEDJ._serialized_start=618
|
||
|
|
_SPEEDJ._serialized_end=844
|
||
|
|
_SPEEDJ_REQUEST._serialized_start=629
|
||
|
|
_SPEEDJ_REQUEST._serialized_end=782
|
||
|
|
_SPEEDJ_RESPONSE._serialized_start=341
|
||
|
|
_SPEEDJ_RESPONSE._serialized_end=401
|
||
|
|
_SPEEDL._serialized_start=847
|
||
|
|
_SPEEDL._serialized_end=1110
|
||
|
|
_SPEEDL_REQUEST._serialized_start=858
|
||
|
|
_SPEEDL_REQUEST._serialized_end=1048
|
||
|
|
_SPEEDL_RESPONSE._serialized_start=341
|
||
|
|
_SPEEDL_RESPONSE._serialized_end=401
|
||
|
|
_JOINTSTATE._serialized_start=1112
|
||
|
|
_JOINTSTATE._serialized_end=1209
|
||
|
|
_JOINTRESPONSE._serialized_start=1211
|
||
|
|
_JOINTRESPONSE._serialized_end=1313
|
||
|
|
_JOINTREQUEST._serialized_start=1315
|
||
|
|
_JOINTREQUEST._serialized_end=1378
|
||
|
|
_GETPOSE._serialized_start=1381
|
||
|
|
_GETPOSE._serialized_end=1580
|
||
|
|
_GETPOSE_REQUEST._serialized_start=1392
|
||
|
|
_GETPOSE_REQUEST._serialized_end=1486
|
||
|
|
_GETPOSE_RESPONSE._serialized_start=1488
|
||
|
|
_GETPOSE_RESPONSE._serialized_end=1580
|
||
|
|
# @@protoc_insertion_point(module_scope)
|