robot_state_pb2.py
Go to the documentation of this file.
1 # Generated by the protocol buffer compiler. DO NOT EDIT!
2 # source: robot_state.proto
3 
4 import sys
5 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
6 from google.protobuf import descriptor as _descriptor
7 from google.protobuf import message as _message
8 from google.protobuf import reflection as _reflection
9 from google.protobuf import symbol_database as _symbol_database
10 # @@protoc_insertion_point(imports)
11 
12 _sym_db = _symbol_database.Default()
13 
14 
15 import math_pb2 as math__pb2
16 
17 
18 DESCRIPTOR = _descriptor.FileDescriptor(
19  name='robot_state.proto',
20  package='flr.robot',
21  syntax='proto3',
22  serialized_options=None,
23  serialized_pb=_b('\n\x11robot_state.proto\x12\tflr.robot\x1a\nmath.proto\"\x83\x03\n\nRobotState\x12\r\n\x05query\x18\x01 \x01(\t\x12\x13\n\x0bpage_number\x18\x02 \x01(\x05\x12\x17\n\x0fresult_per_page\x18\x03 \x01(\x05\x12,\n\x06\x63orpus\x18\x04 \x01(\x0e\x32\x1c.flr.robot.RobotState.Corpus\x12\x1d\n\x03pos\x18\x05 \x01(\x0b\x32\x10.flr.math.Vector\x12\x17\n\x0fjoint_positions\x18\x06 \x03(\x01\x12@\n\x0esensor_reading\x18\x07 \x03(\x0b\x32(.flr.robot.RobotState.SensorReadingEntry\x1a\x34\n\x12SensorReadingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\"Z\n\x06\x43orpus\x12\r\n\tUNIVERSAL\x10\x00\x12\x07\n\x03WEB\x10\x01\x12\n\n\x06IMAGES\x10\x02\x12\t\n\x05LOCAL\x10\x03\x12\x08\n\x04NEWS\x10\x04\x12\x0c\n\x08PRODUCTS\x10\x05\x12\t\n\x05VIDEO\x10\x06\x62\x06proto3')
24  ,
25  dependencies=[math__pb2.DESCRIPTOR,])
26 
27 
28 
29 _ROBOTSTATE_CORPUS = _descriptor.EnumDescriptor(
30  name='Corpus',
31  full_name='flr.robot.RobotState.Corpus',
32  filename=None,
33  file=DESCRIPTOR,
34  values=[
35  _descriptor.EnumValueDescriptor(
36  name='UNIVERSAL', index=0, number=0,
37  serialized_options=None,
38  type=None),
39  _descriptor.EnumValueDescriptor(
40  name='WEB', index=1, number=1,
41  serialized_options=None,
42  type=None),
43  _descriptor.EnumValueDescriptor(
44  name='IMAGES', index=2, number=2,
45  serialized_options=None,
46  type=None),
47  _descriptor.EnumValueDescriptor(
48  name='LOCAL', index=3, number=3,
49  serialized_options=None,
50  type=None),
51  _descriptor.EnumValueDescriptor(
52  name='NEWS', index=4, number=4,
53  serialized_options=None,
54  type=None),
55  _descriptor.EnumValueDescriptor(
56  name='PRODUCTS', index=5, number=5,
57  serialized_options=None,
58  type=None),
59  _descriptor.EnumValueDescriptor(
60  name='VIDEO', index=6, number=6,
61  serialized_options=None,
62  type=None),
63  ],
64  containing_type=None,
65  serialized_options=None,
66  serialized_start=342,
67  serialized_end=432,
68 )
69 _sym_db.RegisterEnumDescriptor(_ROBOTSTATE_CORPUS)
70 
71 
72 _ROBOTSTATE_SENSORREADINGENTRY = _descriptor.Descriptor(
73  name='SensorReadingEntry',
74  full_name='flr.robot.RobotState.SensorReadingEntry',
75  filename=None,
76  file=DESCRIPTOR,
77  containing_type=None,
78  fields=[
79  _descriptor.FieldDescriptor(
80  name='key', full_name='flr.robot.RobotState.SensorReadingEntry.key', index=0,
81  number=1, type=9, cpp_type=9, label=1,
82  has_default_value=False, default_value=_b("").decode('utf-8'),
83  message_type=None, enum_type=None, containing_type=None,
84  is_extension=False, extension_scope=None,
85  serialized_options=None, file=DESCRIPTOR),
86  _descriptor.FieldDescriptor(
87  name='value', full_name='flr.robot.RobotState.SensorReadingEntry.value', index=1,
88  number=2, type=5, cpp_type=1, label=1,
89  has_default_value=False, default_value=0,
90  message_type=None, enum_type=None, containing_type=None,
91  is_extension=False, extension_scope=None,
92  serialized_options=None, file=DESCRIPTOR),
93  ],
94  extensions=[
95  ],
96  nested_types=[],
97  enum_types=[
98  ],
99  serialized_options=_b('8\001'),
100  is_extendable=False,
101  syntax='proto3',
102  extension_ranges=[],
103  oneofs=[
104  ],
105  serialized_start=288,
106  serialized_end=340,
107 )
108 
109 _ROBOTSTATE = _descriptor.Descriptor(
110  name='RobotState',
111  full_name='flr.robot.RobotState',
112  filename=None,
113  file=DESCRIPTOR,
114  containing_type=None,
115  fields=[
116  _descriptor.FieldDescriptor(
117  name='query', full_name='flr.robot.RobotState.query', index=0,
118  number=1, type=9, cpp_type=9, label=1,
119  has_default_value=False, default_value=_b("").decode('utf-8'),
120  message_type=None, enum_type=None, containing_type=None,
121  is_extension=False, extension_scope=None,
122  serialized_options=None, file=DESCRIPTOR),
123  _descriptor.FieldDescriptor(
124  name='page_number', full_name='flr.robot.RobotState.page_number', index=1,
125  number=2, type=5, cpp_type=1, label=1,
126  has_default_value=False, default_value=0,
127  message_type=None, enum_type=None, containing_type=None,
128  is_extension=False, extension_scope=None,
129  serialized_options=None, file=DESCRIPTOR),
130  _descriptor.FieldDescriptor(
131  name='result_per_page', full_name='flr.robot.RobotState.result_per_page', index=2,
132  number=3, type=5, cpp_type=1, label=1,
133  has_default_value=False, default_value=0,
134  message_type=None, enum_type=None, containing_type=None,
135  is_extension=False, extension_scope=None,
136  serialized_options=None, file=DESCRIPTOR),
137  _descriptor.FieldDescriptor(
138  name='corpus', full_name='flr.robot.RobotState.corpus', index=3,
139  number=4, type=14, cpp_type=8, label=1,
140  has_default_value=False, default_value=0,
141  message_type=None, enum_type=None, containing_type=None,
142  is_extension=False, extension_scope=None,
143  serialized_options=None, file=DESCRIPTOR),
144  _descriptor.FieldDescriptor(
145  name='pos', full_name='flr.robot.RobotState.pos', index=4,
146  number=5, type=11, cpp_type=10, label=1,
147  has_default_value=False, default_value=None,
148  message_type=None, enum_type=None, containing_type=None,
149  is_extension=False, extension_scope=None,
150  serialized_options=None, file=DESCRIPTOR),
151  _descriptor.FieldDescriptor(
152  name='joint_positions', full_name='flr.robot.RobotState.joint_positions', index=5,
153  number=6, type=1, cpp_type=5, label=3,
154  has_default_value=False, default_value=[],
155  message_type=None, enum_type=None, containing_type=None,
156  is_extension=False, extension_scope=None,
157  serialized_options=None, file=DESCRIPTOR),
158  _descriptor.FieldDescriptor(
159  name='sensor_reading', full_name='flr.robot.RobotState.sensor_reading', index=6,
160  number=7, type=11, cpp_type=10, label=3,
161  has_default_value=False, default_value=[],
162  message_type=None, enum_type=None, containing_type=None,
163  is_extension=False, extension_scope=None,
164  serialized_options=None, file=DESCRIPTOR),
165  ],
166  extensions=[
167  ],
168  nested_types=[_ROBOTSTATE_SENSORREADINGENTRY, ],
169  enum_types=[
170  _ROBOTSTATE_CORPUS,
171  ],
172  serialized_options=None,
173  is_extendable=False,
174  syntax='proto3',
175  extension_ranges=[],
176  oneofs=[
177  ],
178  serialized_start=45,
179  serialized_end=432,
180 )
181 
182 _ROBOTSTATE_SENSORREADINGENTRY.containing_type = _ROBOTSTATE
183 _ROBOTSTATE.fields_by_name['corpus'].enum_type = _ROBOTSTATE_CORPUS
184 _ROBOTSTATE.fields_by_name['pos'].message_type = math__pb2._VECTOR
185 _ROBOTSTATE.fields_by_name['sensor_reading'].message_type = _ROBOTSTATE_SENSORREADINGENTRY
186 _ROBOTSTATE_CORPUS.containing_type = _ROBOTSTATE
187 DESCRIPTOR.message_types_by_name['RobotState'] = _ROBOTSTATE
188 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
189 
190 RobotState = _reflection.GeneratedProtocolMessageType('RobotState', (_message.Message,), dict(
191 
192  SensorReadingEntry = _reflection.GeneratedProtocolMessageType('SensorReadingEntry', (_message.Message,), dict(
193  DESCRIPTOR = _ROBOTSTATE_SENSORREADINGENTRY,
194  __module__ = 'robot_state_pb2'
195  # @@protoc_insertion_point(class_scope:flr.robot.RobotState.SensorReadingEntry)
196  ))
197  ,
198  DESCRIPTOR = _ROBOTSTATE,
199  __module__ = 'robot_state_pb2'
200  # @@protoc_insertion_point(class_scope:flr.robot.RobotState)
201  ))
202 _sym_db.RegisterMessage(RobotState)
203 _sym_db.RegisterMessage(RobotState.SensorReadingEntry)
204 
205 
206 _ROBOTSTATE_SENSORREADINGENTRY._options = None
207 # @@protoc_insertion_point(module_scope)
robot_state_pb2._b
int _b
Definition: robot_state_pb2.py:5


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:46