iMihayo commited on
Commit
472237c
·
verified ·
1 Parent(s): 20d9091

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. camera_ws/build/CMakeFiles/3.16.3/CMakeDetermineCompilerABI_CXX.bin +3 -0
  2. camera_ws/devel/lib/astra_camera/list_devices_node +0 -0
  3. camera_ws/devel/lib/python3/dist-packages/astra_camera/srv/_GetInt32.py +254 -0
  4. camera_ws/devel/lib/python3/dist-packages/astra_camera/srv/_GetString.py +282 -0
  5. camera_ws/devel/lib/python3/dist-packages/astra_camera/srv/_SetString.py +282 -0
  6. camera_ws/devel/share/astra_camera/cmake/astra_camera-msg-extras.cmake +2 -0
  7. camera_ws/devel/share/astra_camera/cmake/astra_camera-msg-paths.cmake +4 -0
  8. camera_ws/devel/share/astra_camera/cmake/astra_cameraConfig-version.cmake +14 -0
  9. camera_ws/devel/share/astra_camera/cmake/astra_cameraConfig.cmake +223 -0
  10. camera_ws/devel/share/astra_camera/docs/AstraConfig-usage.dox +25 -0
  11. camera_ws/devel/share/astra_camera/docs/AstraConfig.wikidoc +84 -0
  12. camera_ws/devel/share/common-lisp/ros/astra_camera/msg/DeviceInfo.lisp +242 -0
  13. camera_ws/devel/share/common-lisp/ros/astra_camera/msg/_package_DeviceInfo.lisp +18 -0
  14. camera_ws/devel/share/common-lisp/ros/astra_camera/srv/GetBool.lisp +156 -0
  15. camera_ws/devel/share/common-lisp/ros/astra_camera/srv/GetCameraInfo.lisp +156 -0
  16. camera_ws/devel/share/common-lisp/ros/astra_camera/srv/GetCameraParams.lisp +304 -0
  17. camera_ws/devel/share/common-lisp/ros/astra_camera/srv/GetDeviceInfo.lisp +156 -0
  18. camera_ws/devel/share/common-lisp/ros/astra_camera/srv/GetDouble.lisp +173 -0
  19. camera_ws/devel/share/common-lisp/ros/astra_camera/srv/GetInt32.lisp +166 -0
  20. camera_ws/devel/share/common-lisp/ros/astra_camera/srv/SetInt32.lisp +165 -0
  21. camera_ws/devel/share/common-lisp/ros/astra_camera/srv/SetString.lisp +167 -0
  22. camera_ws/devel/share/common-lisp/ros/astra_camera/srv/_package.lisp +50 -0
  23. camera_ws/devel/share/common-lisp/ros/astra_camera/srv/_package_GetBool.lisp +8 -0
  24. camera_ws/devel/share/common-lisp/ros/astra_camera/srv/_package_GetCameraInfo.lisp +8 -0
  25. camera_ws/devel/share/common-lisp/ros/astra_camera/srv/_package_GetCameraParams.lisp +18 -0
  26. camera_ws/devel/share/common-lisp/ros/astra_camera/srv/_package_GetDeviceInfo.lisp +8 -0
  27. camera_ws/devel/share/common-lisp/ros/astra_camera/srv/_package_GetDouble.lisp +8 -0
  28. camera_ws/devel/share/common-lisp/ros/astra_camera/srv/_package_GetInt32.lisp +8 -0
  29. camera_ws/devel/share/common-lisp/ros/astra_camera/srv/_package_GetString.lisp +8 -0
  30. camera_ws/devel/share/common-lisp/ros/astra_camera/srv/_package_SetInt32.lisp +8 -0
  31. camera_ws/devel/share/common-lisp/ros/astra_camera/srv/_package_SetString.lisp +8 -0
  32. camera_ws/devel/share/common-lisp/ros/astra_camera/srv/astra_camera-srv.asd +27 -0
  33. camera_ws/devel/share/common-lisp/ros/realsense2_camera/msg/_package_IMUInfo.lisp +10 -0
  34. camera_ws/devel/share/gennodejs/ros/astra_camera/_index.js +7 -0
  35. camera_ws/devel/share/gennodejs/ros/astra_camera/msg/DeviceInfo.js +245 -0
  36. camera_ws/devel/share/gennodejs/ros/astra_camera/msg/Extrinsics.js +153 -0
  37. camera_ws/devel/share/gennodejs/ros/astra_camera/msg/Metadata.js +127 -0
  38. camera_ws/devel/share/gennodejs/ros/astra_camera/msg/_index.js +12 -0
  39. camera_ws/devel/share/gennodejs/ros/astra_camera/srv/GetBool.js +189 -0
  40. camera_ws/devel/share/gennodejs/ros/astra_camera/srv/GetCameraParams.js +308 -0
  41. camera_ws/devel/share/gennodejs/ros/astra_camera/srv/GetDeviceInfo.js +218 -0
  42. camera_ws/devel/share/gennodejs/ros/astra_camera/srv/GetDouble.js +189 -0
  43. camera_ws/devel/share/gennodejs/ros/astra_camera/srv/GetInt32.js +189 -0
  44. camera_ws/devel/share/gennodejs/ros/astra_camera/srv/GetString.js +190 -0
  45. camera_ws/devel/share/gennodejs/ros/astra_camera/srv/SetInt32.js +189 -0
  46. camera_ws/devel/share/gennodejs/ros/astra_camera/srv/SetString.js +191 -0
  47. camera_ws/devel/share/gennodejs/ros/astra_camera/srv/_index.js +24 -0
  48. camera_ws/devel/share/gennodejs/ros/realsense2_camera/_index.js +7 -0
  49. camera_ws/devel/share/gennodejs/ros/realsense2_camera/msg/Extrinsics.js +153 -0
  50. camera_ws/devel/share/gennodejs/ros/realsense2_camera/msg/IMUInfo.js +159 -0
camera_ws/build/CMakeFiles/3.16.3/CMakeDetermineCompilerABI_CXX.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4681156c96ab6b7272e1143f0179369d72cd3397b64f87ee3ba3e4d096f02b3b
3
+ size 16560
camera_ws/devel/lib/astra_camera/list_devices_node ADDED
Binary file (56.5 kB). View file
 
camera_ws/devel/lib/python3/dist-packages/astra_camera/srv/_GetInt32.py ADDED
@@ -0,0 +1,254 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This Python file uses the following encoding: utf-8
2
+ """autogenerated by genpy from astra_camera/GetInt32Request.msg. Do not edit."""
3
+ import codecs
4
+ import sys
5
+ python3 = True if sys.hexversion > 0x03000000 else False
6
+ import genpy
7
+ import struct
8
+
9
+
10
+ class GetInt32Request(genpy.Message):
11
+ _md5sum = "d41d8cd98f00b204e9800998ecf8427e"
12
+ _type = "astra_camera/GetInt32Request"
13
+ _has_header = False # flag to mark the presence of a Header object
14
+ _full_text = """"""
15
+ __slots__ = []
16
+ _slot_types = []
17
+
18
+ def __init__(self, *args, **kwds):
19
+ """
20
+ Constructor. Any message fields that are implicitly/explicitly
21
+ set to None will be assigned a default value. The recommend
22
+ use is keyword arguments as this is more robust to future message
23
+ changes. You cannot mix in-order arguments and keyword arguments.
24
+
25
+ The available fields are:
26
+
27
+
28
+ :param args: complete set of field values, in .msg order
29
+ :param kwds: use keyword arguments corresponding to message field names
30
+ to set specific fields.
31
+ """
32
+ if args or kwds:
33
+ super(GetInt32Request, self).__init__(*args, **kwds)
34
+
35
+ def _get_types(self):
36
+ """
37
+ internal API method
38
+ """
39
+ return self._slot_types
40
+
41
+ def serialize(self, buff):
42
+ """
43
+ serialize message into buffer
44
+ :param buff: buffer, ``StringIO``
45
+ """
46
+ try:
47
+ pass
48
+ except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
49
+ except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
50
+
51
+ def deserialize(self, str):
52
+ """
53
+ unpack serialized message in str into this message instance
54
+ :param str: byte array of serialized message, ``str``
55
+ """
56
+ if python3:
57
+ codecs.lookup_error("rosmsg").msg_type = self._type
58
+ try:
59
+ end = 0
60
+ return self
61
+ except struct.error as e:
62
+ raise genpy.DeserializationError(e) # most likely buffer underfill
63
+
64
+
65
+ def serialize_numpy(self, buff, numpy):
66
+ """
67
+ serialize message with numpy array types into buffer
68
+ :param buff: buffer, ``StringIO``
69
+ :param numpy: numpy python module
70
+ """
71
+ try:
72
+ pass
73
+ except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
74
+ except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
75
+
76
+ def deserialize_numpy(self, str, numpy):
77
+ """
78
+ unpack serialized message in str into this message instance using numpy for array types
79
+ :param str: byte array of serialized message, ``str``
80
+ :param numpy: numpy python module
81
+ """
82
+ if python3:
83
+ codecs.lookup_error("rosmsg").msg_type = self._type
84
+ try:
85
+ end = 0
86
+ return self
87
+ except struct.error as e:
88
+ raise genpy.DeserializationError(e) # most likely buffer underfill
89
+
90
+ _struct_I = genpy.struct_I
91
+ def _get_struct_I():
92
+ global _struct_I
93
+ return _struct_I
94
+ # This Python file uses the following encoding: utf-8
95
+ """autogenerated by genpy from astra_camera/GetInt32Response.msg. Do not edit."""
96
+ import codecs
97
+ import sys
98
+ python3 = True if sys.hexversion > 0x03000000 else False
99
+ import genpy
100
+ import struct
101
+
102
+
103
+ class GetInt32Response(genpy.Message):
104
+ _md5sum = "1e06c77f31583d55c01571a573d75b9f"
105
+ _type = "astra_camera/GetInt32Response"
106
+ _has_header = False # flag to mark the presence of a Header object
107
+ _full_text = """int32 data
108
+ bool success
109
+ string message
110
+
111
+ """
112
+ __slots__ = ['data','success','message']
113
+ _slot_types = ['int32','bool','string']
114
+
115
+ def __init__(self, *args, **kwds):
116
+ """
117
+ Constructor. Any message fields that are implicitly/explicitly
118
+ set to None will be assigned a default value. The recommend
119
+ use is keyword arguments as this is more robust to future message
120
+ changes. You cannot mix in-order arguments and keyword arguments.
121
+
122
+ The available fields are:
123
+ data,success,message
124
+
125
+ :param args: complete set of field values, in .msg order
126
+ :param kwds: use keyword arguments corresponding to message field names
127
+ to set specific fields.
128
+ """
129
+ if args or kwds:
130
+ super(GetInt32Response, self).__init__(*args, **kwds)
131
+ # message fields cannot be None, assign default values for those that are
132
+ if self.data is None:
133
+ self.data = 0
134
+ if self.success is None:
135
+ self.success = False
136
+ if self.message is None:
137
+ self.message = ''
138
+ else:
139
+ self.data = 0
140
+ self.success = False
141
+ self.message = ''
142
+
143
+ def _get_types(self):
144
+ """
145
+ internal API method
146
+ """
147
+ return self._slot_types
148
+
149
+ def serialize(self, buff):
150
+ """
151
+ serialize message into buffer
152
+ :param buff: buffer, ``StringIO``
153
+ """
154
+ try:
155
+ _x = self
156
+ buff.write(_get_struct_iB().pack(_x.data, _x.success))
157
+ _x = self.message
158
+ length = len(_x)
159
+ if python3 or type(_x) == unicode:
160
+ _x = _x.encode('utf-8')
161
+ length = len(_x)
162
+ buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
163
+ except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
164
+ except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
165
+
166
+ def deserialize(self, str):
167
+ """
168
+ unpack serialized message in str into this message instance
169
+ :param str: byte array of serialized message, ``str``
170
+ """
171
+ if python3:
172
+ codecs.lookup_error("rosmsg").msg_type = self._type
173
+ try:
174
+ end = 0
175
+ _x = self
176
+ start = end
177
+ end += 5
178
+ (_x.data, _x.success,) = _get_struct_iB().unpack(str[start:end])
179
+ self.success = bool(self.success)
180
+ start = end
181
+ end += 4
182
+ (length,) = _struct_I.unpack(str[start:end])
183
+ start = end
184
+ end += length
185
+ if python3:
186
+ self.message = str[start:end].decode('utf-8', 'rosmsg')
187
+ else:
188
+ self.message = str[start:end]
189
+ return self
190
+ except struct.error as e:
191
+ raise genpy.DeserializationError(e) # most likely buffer underfill
192
+
193
+
194
+ def serialize_numpy(self, buff, numpy):
195
+ """
196
+ serialize message with numpy array types into buffer
197
+ :param buff: buffer, ``StringIO``
198
+ :param numpy: numpy python module
199
+ """
200
+ try:
201
+ _x = self
202
+ buff.write(_get_struct_iB().pack(_x.data, _x.success))
203
+ _x = self.message
204
+ length = len(_x)
205
+ if python3 or type(_x) == unicode:
206
+ _x = _x.encode('utf-8')
207
+ length = len(_x)
208
+ buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
209
+ except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
210
+ except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
211
+
212
+ def deserialize_numpy(self, str, numpy):
213
+ """
214
+ unpack serialized message in str into this message instance using numpy for array types
215
+ :param str: byte array of serialized message, ``str``
216
+ :param numpy: numpy python module
217
+ """
218
+ if python3:
219
+ codecs.lookup_error("rosmsg").msg_type = self._type
220
+ try:
221
+ end = 0
222
+ _x = self
223
+ start = end
224
+ end += 5
225
+ (_x.data, _x.success,) = _get_struct_iB().unpack(str[start:end])
226
+ self.success = bool(self.success)
227
+ start = end
228
+ end += 4
229
+ (length,) = _struct_I.unpack(str[start:end])
230
+ start = end
231
+ end += length
232
+ if python3:
233
+ self.message = str[start:end].decode('utf-8', 'rosmsg')
234
+ else:
235
+ self.message = str[start:end]
236
+ return self
237
+ except struct.error as e:
238
+ raise genpy.DeserializationError(e) # most likely buffer underfill
239
+
240
+ _struct_I = genpy.struct_I
241
+ def _get_struct_I():
242
+ global _struct_I
243
+ return _struct_I
244
+ _struct_iB = None
245
+ def _get_struct_iB():
246
+ global _struct_iB
247
+ if _struct_iB is None:
248
+ _struct_iB = struct.Struct("<iB")
249
+ return _struct_iB
250
+ class GetInt32(object):
251
+ _type = 'astra_camera/GetInt32'
252
+ _md5sum = '1e06c77f31583d55c01571a573d75b9f'
253
+ _request_class = GetInt32Request
254
+ _response_class = GetInt32Response
camera_ws/devel/lib/python3/dist-packages/astra_camera/srv/_GetString.py ADDED
@@ -0,0 +1,282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This Python file uses the following encoding: utf-8
2
+ """autogenerated by genpy from astra_camera/GetStringRequest.msg. Do not edit."""
3
+ import codecs
4
+ import sys
5
+ python3 = True if sys.hexversion > 0x03000000 else False
6
+ import genpy
7
+ import struct
8
+
9
+
10
+ class GetStringRequest(genpy.Message):
11
+ _md5sum = "d41d8cd98f00b204e9800998ecf8427e"
12
+ _type = "astra_camera/GetStringRequest"
13
+ _has_header = False # flag to mark the presence of a Header object
14
+ _full_text = """"""
15
+ __slots__ = []
16
+ _slot_types = []
17
+
18
+ def __init__(self, *args, **kwds):
19
+ """
20
+ Constructor. Any message fields that are implicitly/explicitly
21
+ set to None will be assigned a default value. The recommend
22
+ use is keyword arguments as this is more robust to future message
23
+ changes. You cannot mix in-order arguments and keyword arguments.
24
+
25
+ The available fields are:
26
+
27
+
28
+ :param args: complete set of field values, in .msg order
29
+ :param kwds: use keyword arguments corresponding to message field names
30
+ to set specific fields.
31
+ """
32
+ if args or kwds:
33
+ super(GetStringRequest, self).__init__(*args, **kwds)
34
+
35
+ def _get_types(self):
36
+ """
37
+ internal API method
38
+ """
39
+ return self._slot_types
40
+
41
+ def serialize(self, buff):
42
+ """
43
+ serialize message into buffer
44
+ :param buff: buffer, ``StringIO``
45
+ """
46
+ try:
47
+ pass
48
+ except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
49
+ except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
50
+
51
+ def deserialize(self, str):
52
+ """
53
+ unpack serialized message in str into this message instance
54
+ :param str: byte array of serialized message, ``str``
55
+ """
56
+ if python3:
57
+ codecs.lookup_error("rosmsg").msg_type = self._type
58
+ try:
59
+ end = 0
60
+ return self
61
+ except struct.error as e:
62
+ raise genpy.DeserializationError(e) # most likely buffer underfill
63
+
64
+
65
+ def serialize_numpy(self, buff, numpy):
66
+ """
67
+ serialize message with numpy array types into buffer
68
+ :param buff: buffer, ``StringIO``
69
+ :param numpy: numpy python module
70
+ """
71
+ try:
72
+ pass
73
+ except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
74
+ except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
75
+
76
+ def deserialize_numpy(self, str, numpy):
77
+ """
78
+ unpack serialized message in str into this message instance using numpy for array types
79
+ :param str: byte array of serialized message, ``str``
80
+ :param numpy: numpy python module
81
+ """
82
+ if python3:
83
+ codecs.lookup_error("rosmsg").msg_type = self._type
84
+ try:
85
+ end = 0
86
+ return self
87
+ except struct.error as e:
88
+ raise genpy.DeserializationError(e) # most likely buffer underfill
89
+
90
+ _struct_I = genpy.struct_I
91
+ def _get_struct_I():
92
+ global _struct_I
93
+ return _struct_I
94
+ # This Python file uses the following encoding: utf-8
95
+ """autogenerated by genpy from astra_camera/GetStringResponse.msg. Do not edit."""
96
+ import codecs
97
+ import sys
98
+ python3 = True if sys.hexversion > 0x03000000 else False
99
+ import genpy
100
+ import struct
101
+
102
+
103
+ class GetStringResponse(genpy.Message):
104
+ _md5sum = "15baad3d82a7b70bfc4eb31d66322293"
105
+ _type = "astra_camera/GetStringResponse"
106
+ _has_header = False # flag to mark the presence of a Header object
107
+ _full_text = """string data
108
+ bool success
109
+ string message
110
+
111
+ """
112
+ __slots__ = ['data','success','message']
113
+ _slot_types = ['string','bool','string']
114
+
115
+ def __init__(self, *args, **kwds):
116
+ """
117
+ Constructor. Any message fields that are implicitly/explicitly
118
+ set to None will be assigned a default value. The recommend
119
+ use is keyword arguments as this is more robust to future message
120
+ changes. You cannot mix in-order arguments and keyword arguments.
121
+
122
+ The available fields are:
123
+ data,success,message
124
+
125
+ :param args: complete set of field values, in .msg order
126
+ :param kwds: use keyword arguments corresponding to message field names
127
+ to set specific fields.
128
+ """
129
+ if args or kwds:
130
+ super(GetStringResponse, self).__init__(*args, **kwds)
131
+ # message fields cannot be None, assign default values for those that are
132
+ if self.data is None:
133
+ self.data = ''
134
+ if self.success is None:
135
+ self.success = False
136
+ if self.message is None:
137
+ self.message = ''
138
+ else:
139
+ self.data = ''
140
+ self.success = False
141
+ self.message = ''
142
+
143
+ def _get_types(self):
144
+ """
145
+ internal API method
146
+ """
147
+ return self._slot_types
148
+
149
+ def serialize(self, buff):
150
+ """
151
+ serialize message into buffer
152
+ :param buff: buffer, ``StringIO``
153
+ """
154
+ try:
155
+ _x = self.data
156
+ length = len(_x)
157
+ if python3 or type(_x) == unicode:
158
+ _x = _x.encode('utf-8')
159
+ length = len(_x)
160
+ buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
161
+ _x = self.success
162
+ buff.write(_get_struct_B().pack(_x))
163
+ _x = self.message
164
+ length = len(_x)
165
+ if python3 or type(_x) == unicode:
166
+ _x = _x.encode('utf-8')
167
+ length = len(_x)
168
+ buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
169
+ except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
170
+ except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
171
+
172
+ def deserialize(self, str):
173
+ """
174
+ unpack serialized message in str into this message instance
175
+ :param str: byte array of serialized message, ``str``
176
+ """
177
+ if python3:
178
+ codecs.lookup_error("rosmsg").msg_type = self._type
179
+ try:
180
+ end = 0
181
+ start = end
182
+ end += 4
183
+ (length,) = _struct_I.unpack(str[start:end])
184
+ start = end
185
+ end += length
186
+ if python3:
187
+ self.data = str[start:end].decode('utf-8', 'rosmsg')
188
+ else:
189
+ self.data = str[start:end]
190
+ start = end
191
+ end += 1
192
+ (self.success,) = _get_struct_B().unpack(str[start:end])
193
+ self.success = bool(self.success)
194
+ start = end
195
+ end += 4
196
+ (length,) = _struct_I.unpack(str[start:end])
197
+ start = end
198
+ end += length
199
+ if python3:
200
+ self.message = str[start:end].decode('utf-8', 'rosmsg')
201
+ else:
202
+ self.message = str[start:end]
203
+ return self
204
+ except struct.error as e:
205
+ raise genpy.DeserializationError(e) # most likely buffer underfill
206
+
207
+
208
+ def serialize_numpy(self, buff, numpy):
209
+ """
210
+ serialize message with numpy array types into buffer
211
+ :param buff: buffer, ``StringIO``
212
+ :param numpy: numpy python module
213
+ """
214
+ try:
215
+ _x = self.data
216
+ length = len(_x)
217
+ if python3 or type(_x) == unicode:
218
+ _x = _x.encode('utf-8')
219
+ length = len(_x)
220
+ buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
221
+ _x = self.success
222
+ buff.write(_get_struct_B().pack(_x))
223
+ _x = self.message
224
+ length = len(_x)
225
+ if python3 or type(_x) == unicode:
226
+ _x = _x.encode('utf-8')
227
+ length = len(_x)
228
+ buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
229
+ except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
230
+ except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
231
+
232
+ def deserialize_numpy(self, str, numpy):
233
+ """
234
+ unpack serialized message in str into this message instance using numpy for array types
235
+ :param str: byte array of serialized message, ``str``
236
+ :param numpy: numpy python module
237
+ """
238
+ if python3:
239
+ codecs.lookup_error("rosmsg").msg_type = self._type
240
+ try:
241
+ end = 0
242
+ start = end
243
+ end += 4
244
+ (length,) = _struct_I.unpack(str[start:end])
245
+ start = end
246
+ end += length
247
+ if python3:
248
+ self.data = str[start:end].decode('utf-8', 'rosmsg')
249
+ else:
250
+ self.data = str[start:end]
251
+ start = end
252
+ end += 1
253
+ (self.success,) = _get_struct_B().unpack(str[start:end])
254
+ self.success = bool(self.success)
255
+ start = end
256
+ end += 4
257
+ (length,) = _struct_I.unpack(str[start:end])
258
+ start = end
259
+ end += length
260
+ if python3:
261
+ self.message = str[start:end].decode('utf-8', 'rosmsg')
262
+ else:
263
+ self.message = str[start:end]
264
+ return self
265
+ except struct.error as e:
266
+ raise genpy.DeserializationError(e) # most likely buffer underfill
267
+
268
+ _struct_I = genpy.struct_I
269
+ def _get_struct_I():
270
+ global _struct_I
271
+ return _struct_I
272
+ _struct_B = None
273
+ def _get_struct_B():
274
+ global _struct_B
275
+ if _struct_B is None:
276
+ _struct_B = struct.Struct("<B")
277
+ return _struct_B
278
+ class GetString(object):
279
+ _type = 'astra_camera/GetString'
280
+ _md5sum = '15baad3d82a7b70bfc4eb31d66322293'
281
+ _request_class = GetStringRequest
282
+ _response_class = GetStringResponse
camera_ws/devel/lib/python3/dist-packages/astra_camera/srv/_SetString.py ADDED
@@ -0,0 +1,282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This Python file uses the following encoding: utf-8
2
+ """autogenerated by genpy from astra_camera/SetStringRequest.msg. Do not edit."""
3
+ import codecs
4
+ import sys
5
+ python3 = True if sys.hexversion > 0x03000000 else False
6
+ import genpy
7
+ import struct
8
+
9
+
10
+ class SetStringRequest(genpy.Message):
11
+ _md5sum = "992ce8a1687cec8c8bd883ec73ca41d1"
12
+ _type = "astra_camera/SetStringRequest"
13
+ _has_header = False # flag to mark the presence of a Header object
14
+ _full_text = """string data
15
+ """
16
+ __slots__ = ['data']
17
+ _slot_types = ['string']
18
+
19
+ def __init__(self, *args, **kwds):
20
+ """
21
+ Constructor. Any message fields that are implicitly/explicitly
22
+ set to None will be assigned a default value. The recommend
23
+ use is keyword arguments as this is more robust to future message
24
+ changes. You cannot mix in-order arguments and keyword arguments.
25
+
26
+ The available fields are:
27
+ data
28
+
29
+ :param args: complete set of field values, in .msg order
30
+ :param kwds: use keyword arguments corresponding to message field names
31
+ to set specific fields.
32
+ """
33
+ if args or kwds:
34
+ super(SetStringRequest, self).__init__(*args, **kwds)
35
+ # message fields cannot be None, assign default values for those that are
36
+ if self.data is None:
37
+ self.data = ''
38
+ else:
39
+ self.data = ''
40
+
41
+ def _get_types(self):
42
+ """
43
+ internal API method
44
+ """
45
+ return self._slot_types
46
+
47
+ def serialize(self, buff):
48
+ """
49
+ serialize message into buffer
50
+ :param buff: buffer, ``StringIO``
51
+ """
52
+ try:
53
+ _x = self.data
54
+ length = len(_x)
55
+ if python3 or type(_x) == unicode:
56
+ _x = _x.encode('utf-8')
57
+ length = len(_x)
58
+ buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
59
+ except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
60
+ except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
61
+
62
+ def deserialize(self, str):
63
+ """
64
+ unpack serialized message in str into this message instance
65
+ :param str: byte array of serialized message, ``str``
66
+ """
67
+ if python3:
68
+ codecs.lookup_error("rosmsg").msg_type = self._type
69
+ try:
70
+ end = 0
71
+ start = end
72
+ end += 4
73
+ (length,) = _struct_I.unpack(str[start:end])
74
+ start = end
75
+ end += length
76
+ if python3:
77
+ self.data = str[start:end].decode('utf-8', 'rosmsg')
78
+ else:
79
+ self.data = str[start:end]
80
+ return self
81
+ except struct.error as e:
82
+ raise genpy.DeserializationError(e) # most likely buffer underfill
83
+
84
+
85
+ def serialize_numpy(self, buff, numpy):
86
+ """
87
+ serialize message with numpy array types into buffer
88
+ :param buff: buffer, ``StringIO``
89
+ :param numpy: numpy python module
90
+ """
91
+ try:
92
+ _x = self.data
93
+ length = len(_x)
94
+ if python3 or type(_x) == unicode:
95
+ _x = _x.encode('utf-8')
96
+ length = len(_x)
97
+ buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
98
+ except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
99
+ except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
100
+
101
+ def deserialize_numpy(self, str, numpy):
102
+ """
103
+ unpack serialized message in str into this message instance using numpy for array types
104
+ :param str: byte array of serialized message, ``str``
105
+ :param numpy: numpy python module
106
+ """
107
+ if python3:
108
+ codecs.lookup_error("rosmsg").msg_type = self._type
109
+ try:
110
+ end = 0
111
+ start = end
112
+ end += 4
113
+ (length,) = _struct_I.unpack(str[start:end])
114
+ start = end
115
+ end += length
116
+ if python3:
117
+ self.data = str[start:end].decode('utf-8', 'rosmsg')
118
+ else:
119
+ self.data = str[start:end]
120
+ return self
121
+ except struct.error as e:
122
+ raise genpy.DeserializationError(e) # most likely buffer underfill
123
+
124
+ _struct_I = genpy.struct_I
125
+ def _get_struct_I():
126
+ global _struct_I
127
+ return _struct_I
128
+ # This Python file uses the following encoding: utf-8
129
+ """autogenerated by genpy from astra_camera/SetStringResponse.msg. Do not edit."""
130
+ import codecs
131
+ import sys
132
+ python3 = True if sys.hexversion > 0x03000000 else False
133
+ import genpy
134
+ import struct
135
+
136
+
137
+ class SetStringResponse(genpy.Message):
138
+ _md5sum = "937c9679a518e3a18d831e57125ea522"
139
+ _type = "astra_camera/SetStringResponse"
140
+ _has_header = False # flag to mark the presence of a Header object
141
+ _full_text = """bool success
142
+ string message
143
+
144
+ """
145
+ __slots__ = ['success','message']
146
+ _slot_types = ['bool','string']
147
+
148
+ def __init__(self, *args, **kwds):
149
+ """
150
+ Constructor. Any message fields that are implicitly/explicitly
151
+ set to None will be assigned a default value. The recommend
152
+ use is keyword arguments as this is more robust to future message
153
+ changes. You cannot mix in-order arguments and keyword arguments.
154
+
155
+ The available fields are:
156
+ success,message
157
+
158
+ :param args: complete set of field values, in .msg order
159
+ :param kwds: use keyword arguments corresponding to message field names
160
+ to set specific fields.
161
+ """
162
+ if args or kwds:
163
+ super(SetStringResponse, self).__init__(*args, **kwds)
164
+ # message fields cannot be None, assign default values for those that are
165
+ if self.success is None:
166
+ self.success = False
167
+ if self.message is None:
168
+ self.message = ''
169
+ else:
170
+ self.success = False
171
+ self.message = ''
172
+
173
+ def _get_types(self):
174
+ """
175
+ internal API method
176
+ """
177
+ return self._slot_types
178
+
179
+ def serialize(self, buff):
180
+ """
181
+ serialize message into buffer
182
+ :param buff: buffer, ``StringIO``
183
+ """
184
+ try:
185
+ _x = self.success
186
+ buff.write(_get_struct_B().pack(_x))
187
+ _x = self.message
188
+ length = len(_x)
189
+ if python3 or type(_x) == unicode:
190
+ _x = _x.encode('utf-8')
191
+ length = len(_x)
192
+ buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
193
+ except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
194
+ except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
195
+
196
+ def deserialize(self, str):
197
+ """
198
+ unpack serialized message in str into this message instance
199
+ :param str: byte array of serialized message, ``str``
200
+ """
201
+ if python3:
202
+ codecs.lookup_error("rosmsg").msg_type = self._type
203
+ try:
204
+ end = 0
205
+ start = end
206
+ end += 1
207
+ (self.success,) = _get_struct_B().unpack(str[start:end])
208
+ self.success = bool(self.success)
209
+ start = end
210
+ end += 4
211
+ (length,) = _struct_I.unpack(str[start:end])
212
+ start = end
213
+ end += length
214
+ if python3:
215
+ self.message = str[start:end].decode('utf-8', 'rosmsg')
216
+ else:
217
+ self.message = str[start:end]
218
+ return self
219
+ except struct.error as e:
220
+ raise genpy.DeserializationError(e) # most likely buffer underfill
221
+
222
+
223
+ def serialize_numpy(self, buff, numpy):
224
+ """
225
+ serialize message with numpy array types into buffer
226
+ :param buff: buffer, ``StringIO``
227
+ :param numpy: numpy python module
228
+ """
229
+ try:
230
+ _x = self.success
231
+ buff.write(_get_struct_B().pack(_x))
232
+ _x = self.message
233
+ length = len(_x)
234
+ if python3 or type(_x) == unicode:
235
+ _x = _x.encode('utf-8')
236
+ length = len(_x)
237
+ buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
238
+ except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
239
+ except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
240
+
241
+ def deserialize_numpy(self, str, numpy):
242
+ """
243
+ unpack serialized message in str into this message instance using numpy for array types
244
+ :param str: byte array of serialized message, ``str``
245
+ :param numpy: numpy python module
246
+ """
247
+ if python3:
248
+ codecs.lookup_error("rosmsg").msg_type = self._type
249
+ try:
250
+ end = 0
251
+ start = end
252
+ end += 1
253
+ (self.success,) = _get_struct_B().unpack(str[start:end])
254
+ self.success = bool(self.success)
255
+ start = end
256
+ end += 4
257
+ (length,) = _struct_I.unpack(str[start:end])
258
+ start = end
259
+ end += length
260
+ if python3:
261
+ self.message = str[start:end].decode('utf-8', 'rosmsg')
262
+ else:
263
+ self.message = str[start:end]
264
+ return self
265
+ except struct.error as e:
266
+ raise genpy.DeserializationError(e) # most likely buffer underfill
267
+
268
+ _struct_I = genpy.struct_I
269
+ def _get_struct_I():
270
+ global _struct_I
271
+ return _struct_I
272
+ _struct_B = None
273
+ def _get_struct_B():
274
+ global _struct_B
275
+ if _struct_B is None:
276
+ _struct_B = struct.Struct("<B")
277
+ return _struct_B
278
+ class SetString(object):
279
+ _type = 'astra_camera/SetString'
280
+ _md5sum = '546971982e3fbbd5a41e60fb6432e357'
281
+ _request_class = SetStringRequest
282
+ _response_class = SetStringResponse
camera_ws/devel/share/astra_camera/cmake/astra_camera-msg-extras.cmake ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ set(astra_camera_MESSAGE_FILES "/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/msg/DeviceInfo.msg;/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/msg/Extrinsics.msg;/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/msg/Metadata.msg")
2
+ set(astra_camera_SERVICE_FILES "/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/srv/GetBool.srv;/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/srv/GetCameraInfo.srv;/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/srv/GetCameraParams.srv;/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/srv/GetDeviceInfo.srv;/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/srv/GetDouble.srv;/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/srv/GetInt32.srv;/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/srv/GetString.srv;/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/srv/SetInt32.srv;/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/srv/SetString.srv")
camera_ws/devel/share/astra_camera/cmake/astra_camera-msg-paths.cmake ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # generated from genmsg/cmake/pkg-msg-paths.cmake.develspace.in
2
+
3
+ set(astra_camera_MSG_INCLUDE_DIRS "/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/msg")
4
+ set(astra_camera_MSG_DEPENDENCIES std_msgs;sensor_msgs)
camera_ws/devel/share/astra_camera/cmake/astra_cameraConfig-version.cmake ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # generated from catkin/cmake/template/pkgConfig-version.cmake.in
2
+ set(PACKAGE_VERSION "1.2.7")
3
+
4
+ set(PACKAGE_VERSION_EXACT False)
5
+ set(PACKAGE_VERSION_COMPATIBLE False)
6
+
7
+ if("${PACKAGE_FIND_VERSION}" VERSION_EQUAL "${PACKAGE_VERSION}")
8
+ set(PACKAGE_VERSION_EXACT True)
9
+ set(PACKAGE_VERSION_COMPATIBLE True)
10
+ endif()
11
+
12
+ if("${PACKAGE_FIND_VERSION}" VERSION_LESS "${PACKAGE_VERSION}")
13
+ set(PACKAGE_VERSION_COMPATIBLE True)
14
+ endif()
camera_ws/devel/share/astra_camera/cmake/astra_cameraConfig.cmake ADDED
@@ -0,0 +1,223 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # generated from catkin/cmake/template/pkgConfig.cmake.in
2
+
3
+ # append elements to a list and remove existing duplicates from the list
4
+ # copied from catkin/cmake/list_append_deduplicate.cmake to keep pkgConfig
5
+ # self contained
6
+ macro(_list_append_deduplicate listname)
7
+ if(NOT "${ARGN}" STREQUAL "")
8
+ if(${listname})
9
+ list(REMOVE_ITEM ${listname} ${ARGN})
10
+ endif()
11
+ list(APPEND ${listname} ${ARGN})
12
+ endif()
13
+ endmacro()
14
+
15
+ # append elements to a list if they are not already in the list
16
+ # copied from catkin/cmake/list_append_unique.cmake to keep pkgConfig
17
+ # self contained
18
+ macro(_list_append_unique listname)
19
+ foreach(_item ${ARGN})
20
+ list(FIND ${listname} ${_item} _index)
21
+ if(_index EQUAL -1)
22
+ list(APPEND ${listname} ${_item})
23
+ endif()
24
+ endforeach()
25
+ endmacro()
26
+
27
+ # pack a list of libraries with optional build configuration keywords
28
+ # copied from catkin/cmake/catkin_libraries.cmake to keep pkgConfig
29
+ # self contained
30
+ macro(_pack_libraries_with_build_configuration VAR)
31
+ set(${VAR} "")
32
+ set(_argn ${ARGN})
33
+ list(LENGTH _argn _count)
34
+ set(_index 0)
35
+ while(${_index} LESS ${_count})
36
+ list(GET _argn ${_index} lib)
37
+ if("${lib}" MATCHES "^(debug|optimized|general)$")
38
+ math(EXPR _index "${_index} + 1")
39
+ if(${_index} EQUAL ${_count})
40
+ message(FATAL_ERROR "_pack_libraries_with_build_configuration() the list of libraries '${ARGN}' ends with '${lib}' which is a build configuration keyword and must be followed by a library")
41
+ endif()
42
+ list(GET _argn ${_index} library)
43
+ list(APPEND ${VAR} "${lib}${CATKIN_BUILD_CONFIGURATION_KEYWORD_SEPARATOR}${library}")
44
+ else()
45
+ list(APPEND ${VAR} "${lib}")
46
+ endif()
47
+ math(EXPR _index "${_index} + 1")
48
+ endwhile()
49
+ endmacro()
50
+
51
+ # unpack a list of libraries with optional build configuration keyword prefixes
52
+ # copied from catkin/cmake/catkin_libraries.cmake to keep pkgConfig
53
+ # self contained
54
+ macro(_unpack_libraries_with_build_configuration VAR)
55
+ set(${VAR} "")
56
+ foreach(lib ${ARGN})
57
+ string(REGEX REPLACE "^(debug|optimized|general)${CATKIN_BUILD_CONFIGURATION_KEYWORD_SEPARATOR}(.+)$" "\\1;\\2" lib "${lib}")
58
+ list(APPEND ${VAR} "${lib}")
59
+ endforeach()
60
+ endmacro()
61
+
62
+
63
+ if(astra_camera_CONFIG_INCLUDED)
64
+ return()
65
+ endif()
66
+ set(astra_camera_CONFIG_INCLUDED TRUE)
67
+
68
+ # set variables for source/devel/install prefixes
69
+ if("TRUE" STREQUAL "TRUE")
70
+ set(astra_camera_SOURCE_PREFIX /home/agilex/cobot_magic/camera_ws/src/ros_astra_camera)
71
+ set(astra_camera_DEVEL_PREFIX /home/agilex/cobot_magic/camera_ws/devel)
72
+ set(astra_camera_INSTALL_PREFIX "")
73
+ set(astra_camera_PREFIX ${astra_camera_DEVEL_PREFIX})
74
+ else()
75
+ set(astra_camera_SOURCE_PREFIX "")
76
+ set(astra_camera_DEVEL_PREFIX "")
77
+ set(astra_camera_INSTALL_PREFIX /home/agilex/cobot_magic/camera_ws/install)
78
+ set(astra_camera_PREFIX ${astra_camera_INSTALL_PREFIX})
79
+ endif()
80
+
81
+ # warn when using a deprecated package
82
+ if(NOT "" STREQUAL "")
83
+ set(_msg "WARNING: package 'astra_camera' is deprecated")
84
+ # append custom deprecation text if available
85
+ if(NOT "" STREQUAL "TRUE")
86
+ set(_msg "${_msg} ()")
87
+ endif()
88
+ message("${_msg}")
89
+ endif()
90
+
91
+ # flag project as catkin-based to distinguish if a find_package()-ed project is a catkin project
92
+ set(astra_camera_FOUND_CATKIN_PROJECT TRUE)
93
+
94
+ if(NOT "/home/agilex/cobot_magic/camera_ws/devel/include;/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/include " STREQUAL " ")
95
+ set(astra_camera_INCLUDE_DIRS "")
96
+ set(_include_dirs "/home/agilex/cobot_magic/camera_ws/devel/include;/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/include")
97
+ if(NOT " " STREQUAL " ")
98
+ set(_report "Check the issue tracker '' and consider creating a ticket if the problem has not been reported yet.")
99
+ elseif(NOT " " STREQUAL " ")
100
+ set(_report "Check the website '' for information and consider reporting the problem.")
101
+ else()
102
+ set(_report "Report the problem to the maintainer 'Mo Cun <mocun@orbbec.com>' and request to fix the problem.")
103
+ endif()
104
+ foreach(idir ${_include_dirs})
105
+ if(IS_ABSOLUTE ${idir} AND IS_DIRECTORY ${idir})
106
+ set(include ${idir})
107
+ elseif("${idir} " STREQUAL "include ")
108
+ get_filename_component(include "${astra_camera_DIR}/../../../include" ABSOLUTE)
109
+ if(NOT IS_DIRECTORY ${include})
110
+ message(FATAL_ERROR "Project 'astra_camera' specifies '${idir}' as an include dir, which is not found. It does not exist in '${include}'. ${_report}")
111
+ endif()
112
+ else()
113
+ message(FATAL_ERROR "Project 'astra_camera' specifies '${idir}' as an include dir, which is not found. It does neither exist as an absolute directory nor in '/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/${idir}'. ${_report}")
114
+ endif()
115
+ _list_append_unique(astra_camera_INCLUDE_DIRS ${include})
116
+ endforeach()
117
+ endif()
118
+
119
+ set(libraries "astra_camera")
120
+ foreach(library ${libraries})
121
+ # keep build configuration keywords, target names and absolute libraries as-is
122
+ if("${library}" MATCHES "^(debug|optimized|general)$")
123
+ list(APPEND astra_camera_LIBRARIES ${library})
124
+ elseif(${library} MATCHES "^-l")
125
+ list(APPEND astra_camera_LIBRARIES ${library})
126
+ elseif(${library} MATCHES "^-")
127
+ # This is a linker flag/option (like -pthread)
128
+ # There's no standard variable for these, so create an interface library to hold it
129
+ if(NOT astra_camera_NUM_DUMMY_TARGETS)
130
+ set(astra_camera_NUM_DUMMY_TARGETS 0)
131
+ endif()
132
+ # Make sure the target name is unique
133
+ set(interface_target_name "catkin::astra_camera::wrapped-linker-option${astra_camera_NUM_DUMMY_TARGETS}")
134
+ while(TARGET "${interface_target_name}")
135
+ math(EXPR astra_camera_NUM_DUMMY_TARGETS "${astra_camera_NUM_DUMMY_TARGETS}+1")
136
+ set(interface_target_name "catkin::astra_camera::wrapped-linker-option${astra_camera_NUM_DUMMY_TARGETS}")
137
+ endwhile()
138
+ add_library("${interface_target_name}" INTERFACE IMPORTED)
139
+ if("${CMAKE_VERSION}" VERSION_LESS "3.13.0")
140
+ set_property(
141
+ TARGET
142
+ "${interface_target_name}"
143
+ APPEND PROPERTY
144
+ INTERFACE_LINK_LIBRARIES "${library}")
145
+ else()
146
+ target_link_options("${interface_target_name}" INTERFACE "${library}")
147
+ endif()
148
+ list(APPEND astra_camera_LIBRARIES "${interface_target_name}")
149
+ elseif(TARGET ${library})
150
+ list(APPEND astra_camera_LIBRARIES ${library})
151
+ elseif(IS_ABSOLUTE ${library})
152
+ list(APPEND astra_camera_LIBRARIES ${library})
153
+ else()
154
+ set(lib_path "")
155
+ set(lib "${library}-NOTFOUND")
156
+ # since the path where the library is found is returned we have to iterate over the paths manually
157
+ foreach(path /home/agilex/cobot_magic/camera_ws/devel/lib;/home/agilex/agilex_ws/devel/lib;/opt/ros/noetic/lib)
158
+ find_library(lib ${library}
159
+ PATHS ${path}
160
+ NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH)
161
+ if(lib)
162
+ set(lib_path ${path})
163
+ break()
164
+ endif()
165
+ endforeach()
166
+ if(lib)
167
+ _list_append_unique(astra_camera_LIBRARY_DIRS ${lib_path})
168
+ list(APPEND astra_camera_LIBRARIES ${lib})
169
+ else()
170
+ # as a fall back for non-catkin libraries try to search globally
171
+ find_library(lib ${library})
172
+ if(NOT lib)
173
+ message(FATAL_ERROR "Project '${PROJECT_NAME}' tried to find library '${library}'. The library is neither a target nor built/installed properly. Did you compile project 'astra_camera'? Did you find_package() it before the subdirectory containing its code is included?")
174
+ endif()
175
+ list(APPEND astra_camera_LIBRARIES ${lib})
176
+ endif()
177
+ endif()
178
+ endforeach()
179
+
180
+ set(astra_camera_EXPORTED_TARGETS "astra_camera_gencfg;astra_camera_generate_messages_cpp;astra_camera_generate_messages_eus;astra_camera_generate_messages_lisp;astra_camera_generate_messages_nodejs;astra_camera_generate_messages_py")
181
+ # create dummy targets for exported code generation targets to make life of users easier
182
+ foreach(t ${astra_camera_EXPORTED_TARGETS})
183
+ if(NOT TARGET ${t})
184
+ add_custom_target(${t})
185
+ endif()
186
+ endforeach()
187
+
188
+ set(depends "cv_bridge;dynamic_reconfigure;image_geometry;image_transport;message_runtime;roscpp;sensor_msgs;tf2;tf2_ros;std_srvs;message_filters;camera_info_manager")
189
+ foreach(depend ${depends})
190
+ string(REPLACE " " ";" depend_list ${depend})
191
+ # the package name of the dependency must be kept in a unique variable so that it is not overwritten in recursive calls
192
+ list(GET depend_list 0 astra_camera_dep)
193
+ list(LENGTH depend_list count)
194
+ if(${count} EQUAL 1)
195
+ # simple dependencies must only be find_package()-ed once
196
+ if(NOT ${astra_camera_dep}_FOUND)
197
+ find_package(${astra_camera_dep} REQUIRED NO_MODULE)
198
+ endif()
199
+ else()
200
+ # dependencies with components must be find_package()-ed again
201
+ list(REMOVE_AT depend_list 0)
202
+ find_package(${astra_camera_dep} REQUIRED NO_MODULE ${depend_list})
203
+ endif()
204
+ _list_append_unique(astra_camera_INCLUDE_DIRS ${${astra_camera_dep}_INCLUDE_DIRS})
205
+
206
+ # merge build configuration keywords with library names to correctly deduplicate
207
+ _pack_libraries_with_build_configuration(astra_camera_LIBRARIES ${astra_camera_LIBRARIES})
208
+ _pack_libraries_with_build_configuration(_libraries ${${astra_camera_dep}_LIBRARIES})
209
+ _list_append_deduplicate(astra_camera_LIBRARIES ${_libraries})
210
+ # undo build configuration keyword merging after deduplication
211
+ _unpack_libraries_with_build_configuration(astra_camera_LIBRARIES ${astra_camera_LIBRARIES})
212
+
213
+ _list_append_unique(astra_camera_LIBRARY_DIRS ${${astra_camera_dep}_LIBRARY_DIRS})
214
+ _list_append_deduplicate(astra_camera_EXPORTED_TARGETS ${${astra_camera_dep}_EXPORTED_TARGETS})
215
+ endforeach()
216
+
217
+ set(pkg_cfg_extras "astra_camera-msg-extras.cmake")
218
+ foreach(extra ${pkg_cfg_extras})
219
+ if(NOT IS_ABSOLUTE ${extra})
220
+ set(extra ${astra_camera_DIR}/${extra})
221
+ endif()
222
+ include(${extra})
223
+ endforeach()
camera_ws/devel/share/astra_camera/docs/AstraConfig-usage.dox ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ \subsubsection usage Usage
2
+ \verbatim
3
+ <node name="Astra" pkg="astra_camera" type="Astra">
4
+ <param name="edited_video_modes" type="str" value="{\"enum\": [{\"name\": \"1024_768_5\", \"type\": \"int\", \"value\": 1, \"srcline\": 11, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1024x768@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1024_768_10\", \"type\": \"int\", \"value\": 2, \"srcline\": 12, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1024x768@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1024_768_15\", \"type\": \"int\", \"value\": 3, \"srcline\": 13, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1024x768@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1024_768_30\", \"type\": \"int\", \"value\": 4, \"srcline\": 14, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1024x768@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1024_768_60\", \"type\": \"int\", \"value\": 5, \"srcline\": 15, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1024x768@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_1024_5\", \"type\": \"int\", \"value\": 6, \"srcline\": 16, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x1024@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_1024_10\", \"type\": \"int\", \"value\": 7, \"srcline\": 17, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x1024@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_1024_15\", \"type\": \"int\", \"value\": 8, \"srcline\": 18, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x1024@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_1024_30\", \"type\": \"int\", \"value\": 9, \"srcline\": 19, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x1024@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_1024_60\", \"type\": \"int\", \"value\": 10, \"srcline\": 20, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x1024@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_720_5\", \"type\": \"int\", \"value\": 11, \"srcline\": 21, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x720@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_720_10\", \"type\": \"int\", \"value\": 12, \"srcline\": 22, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x720@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_720_15\", \"type\": \"int\", \"value\": 13, \"srcline\": 23, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x720@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_720_30\", \"type\": \"int\", \"value\": 14, \"srcline\": 24, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x720@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_720_60\", \"type\": \"int\", \"value\": 15, \"srcline\": 25, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x720@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_800_5\", \"type\": \"int\", \"value\": 16, \"srcline\": 26, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x800@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_800_10\", \"type\": \"int\", \"value\": 17, \"srcline\": 27, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x800@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_800_15\", \"type\": \"int\", \"value\": 18, \"srcline\": 28, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x800@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_800_30\", \"type\": \"int\", \"value\": 19, \"srcline\": 29, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x800@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_800_60\", \"type\": \"int\", \"value\": 20, \"srcline\": 30, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x800@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"160_120_5\", \"type\": \"int\", \"value\": 21, \"srcline\": 31, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"160x120@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"160_120_10\", \"type\": \"int\", \"value\": 22, \"srcline\": 32, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"160x120@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"160_120_15\", \"type\": \"int\", \"value\": 23, \"srcline\": 33, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"160x120@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"160_120_30\", \"type\": \"int\", \"value\": 24, \"srcline\": 34, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"160x120@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"160_120_60\", \"type\": \"int\", \"value\": 25, \"srcline\": 35, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"160x120@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"240_180_5\", \"type\": \"int\", \"value\": 26, \"srcline\": 36, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"240x180@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"240_180_10\", \"type\": \"int\", \"value\": 27, \"srcline\": 37, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"240x180@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"240_180_15\", \"type\": \"int\", \"value\": 28, \"srcline\": 38, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"240x180@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"240_180_30\", \"type\": \"int\", \"value\": 29, \"srcline\": 39, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"240x180@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"240_180_60\", \"type\": \"int\", \"value\": 30, \"srcline\": 40, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"240x180@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_180_5\", \"type\": \"int\", \"value\": 31, \"srcline\": 41, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x180@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_180_10\", \"type\": \"int\", \"value\": 32, \"srcline\": 42, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x180@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_180_15\", \"type\": \"int\", \"value\": 33, \"srcline\": 43, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x180@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_180_30\", \"type\": \"int\", \"value\": 34, \"srcline\": 44, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x180@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_180_60\", \"type\": \"int\", \"value\": 35, \"srcline\": 45, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x180@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_200_5\", \"type\": \"int\", \"value\": 36, \"srcline\": 46, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x200@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_200_10\", \"type\": \"int\", \"value\": 37, \"srcline\": 47, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x200@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_200_15\", \"type\": \"int\", \"value\": 38, \"srcline\": 48, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x200@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_200_30\", \"type\": \"int\", \"value\": 39, \"srcline\": 49, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x200@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_200_60\", \"type\": \"int\", \"value\": 40, \"srcline\": 50, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x200@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_240_5\", \"type\": \"int\", \"value\": 41, \"srcline\": 51, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x240@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_240_10\", \"type\": \"int\", \"value\": 42, \"srcline\": 52, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x240@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_240_15\", \"type\": \"int\", \"value\": 43, \"srcline\": 53, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x240@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_240_30\", \"type\": \"int\", \"value\": 44, \"srcline\": 54, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x240@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_240_60\", \"type\": \"int\", \"value\": 45, \"srcline\": 55, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x240@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"480_360_5\", \"type\": \"int\", \"value\": 46, \"srcline\": 56, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"480x360@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"480_360_10\", \"type\": \"int\", \"value\": 47, \"srcline\": 57, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"480x360@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"480_360_15\", \"type\": \"int\", \"value\": 48, \"srcline\": 58, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"480x360@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"480_360_30\", \"type\": \"int\", \"value\": 49, \"srcline\": 59, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"480x360@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"480_360_60\", \"type\": \"int\", \"value\": 50, \"srcline\": 60, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"480x360@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"512_384_5\", \"type\": \"int\", \"value\": 51, \"srcline\": 61, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"512x384@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"512_384_10\", \"type\": \"int\", \"value\": 52, \"srcline\": 62, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"512x384@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"512_384_15\", \"type\": \"int\", \"value\": 53, \"srcline\": 63, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"512x384@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"512_384_30\", \"type\": \"int\", \"value\": 54, \"srcline\": 64, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"512x384@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"512_384_60\", \"type\": \"int\", \"value\": 55, \"srcline\": 65, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"512x384@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_360_5\", \"type\": \"int\", \"value\": 56, \"srcline\": 66, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x360@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_360_10\", \"type\": \"int\", \"value\": 57, \"srcline\": 67, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x360@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_360_15\", \"type\": \"int\", \"value\": 58, \"srcline\": 68, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x360@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_360_30\", \"type\": \"int\", \"value\": 59, \"srcline\": 69, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x360@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_360_60\", \"type\": \"int\", \"value\": 60, \"srcline\": 70, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x360@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_400_5\", \"type\": \"int\", \"value\": 61, \"srcline\": 71, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x400@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_400_10\", \"type\": \"int\", \"value\": 62, \"srcline\": 72, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x400@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_400_15\", \"type\": \"int\", \"value\": 63, \"srcline\": 73, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x400@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_400_30\", \"type\": \"int\", \"value\": 64, \"srcline\": 74, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x400@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_400_60\", \"type\": \"int\", \"value\": 65, \"srcline\": 75, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x400@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_480_5\", \"type\": \"int\", \"value\": 66, \"srcline\": 76, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x480@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_480_10\", \"type\": \"int\", \"value\": 67, \"srcline\": 77, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x480@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_480_15\", \"type\": \"int\", \"value\": 68, \"srcline\": 78, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x480@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_480_30\", \"type\": \"int\", \"value\": 69, \"srcline\": 79, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x480@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_480_60\", \"type\": \"int\", \"value\": 70, \"srcline\": 80, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x480@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"160_100_5\", \"type\": \"int\", \"value\": 71, \"srcline\": 81, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"160x100@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"160_100_15\", \"type\": \"int\", \"value\": 72, \"srcline\": 82, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"160x100@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"160_100_30\", \"type\": \"int\", \"value\": 73, \"srcline\": 83, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"160x100@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"160_100_60\", \"type\": \"int\", \"value\": 74, \"srcline\": 84, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"160x100@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}], \"enum_description\": \"output mode\"}" />
5
+ <param name="rgb_preferred" type="bool" value="True" />
6
+ <param name="ir_mode" type="int" value="68" />
7
+ <param name="color_mode" type="int" value="68" />
8
+ <param name="depth_mode" type="int" value="69" />
9
+ <param name="depth_align" type="bool" value="False" />
10
+ <param name="color_depth_synchronization" type="bool" value="False" />
11
+ <param name="auto_exposure" type="bool" value="True" />
12
+ <param name="auto_white_balance" type="bool" value="True" />
13
+ <param name="data_skip" type="int" value="0" />
14
+ <param name="ir_time_offset" type="double" value="-0.033" />
15
+ <param name="color_time_offset" type="double" value="-0.033" />
16
+ <param name="depth_time_offset" type="double" value="-0.033" />
17
+ <param name="depth_ir_offset_x" type="double" value="5.0" />
18
+ <param name="depth_ir_offset_y" type="double" value="4.0" />
19
+ <param name="z_offset_mm" type="int" value="0" />
20
+ <param name="z_scaling" type="double" value="1.0" />
21
+ <param name="use_device_time" type="bool" value="True" />
22
+ <param name="keep_alive" type="bool" value="False" />
23
+ </node>
24
+ \endverbatim
25
+
camera_ws/devel/share/astra_camera/docs/AstraConfig.wikidoc ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Autogenerated param section. Do not hand edit.
2
+ param {
3
+ group.0 {
4
+ name=Dynamically Reconfigurable Parameters
5
+ desc=See the [[dynamic_reconfigure]] package for details on dynamically reconfigurable parameters.
6
+ 0.name= ~edited_video_modes
7
+ 0.default= {\"enum\": [{\"name\": \"1024_768_5\", \"type\": \"int\", \"value\": 1, \"srcline\": 11, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1024x768@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1024_768_10\", \"type\": \"int\", \"value\": 2, \"srcline\": 12, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1024x768@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1024_768_15\", \"type\": \"int\", \"value\": 3, \"srcline\": 13, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1024x768@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1024_768_30\", \"type\": \"int\", \"value\": 4, \"srcline\": 14, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1024x768@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1024_768_60\", \"type\": \"int\", \"value\": 5, \"srcline\": 15, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1024x768@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_1024_5\", \"type\": \"int\", \"value\": 6, \"srcline\": 16, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x1024@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_1024_10\", \"type\": \"int\", \"value\": 7, \"srcline\": 17, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x1024@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_1024_15\", \"type\": \"int\", \"value\": 8, \"srcline\": 18, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x1024@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_1024_30\", \"type\": \"int\", \"value\": 9, \"srcline\": 19, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x1024@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_1024_60\", \"type\": \"int\", \"value\": 10, \"srcline\": 20, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x1024@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_720_5\", \"type\": \"int\", \"value\": 11, \"srcline\": 21, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x720@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_720_10\", \"type\": \"int\", \"value\": 12, \"srcline\": 22, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x720@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_720_15\", \"type\": \"int\", \"value\": 13, \"srcline\": 23, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x720@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_720_30\", \"type\": \"int\", \"value\": 14, \"srcline\": 24, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x720@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_720_60\", \"type\": \"int\", \"value\": 15, \"srcline\": 25, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x720@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_800_5\", \"type\": \"int\", \"value\": 16, \"srcline\": 26, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x800@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_800_10\", \"type\": \"int\", \"value\": 17, \"srcline\": 27, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x800@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_800_15\", \"type\": \"int\", \"value\": 18, \"srcline\": 28, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x800@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_800_30\", \"type\": \"int\", \"value\": 19, \"srcline\": 29, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x800@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"1280_800_60\", \"type\": \"int\", \"value\": 20, \"srcline\": 30, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"1280x800@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"160_120_5\", \"type\": \"int\", \"value\": 21, \"srcline\": 31, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"160x120@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"160_120_10\", \"type\": \"int\", \"value\": 22, \"srcline\": 32, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"160x120@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"160_120_15\", \"type\": \"int\", \"value\": 23, \"srcline\": 33, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"160x120@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"160_120_30\", \"type\": \"int\", \"value\": 24, \"srcline\": 34, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"160x120@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"160_120_60\", \"type\": \"int\", \"value\": 25, \"srcline\": 35, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"160x120@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"240_180_5\", \"type\": \"int\", \"value\": 26, \"srcline\": 36, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"240x180@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"240_180_10\", \"type\": \"int\", \"value\": 27, \"srcline\": 37, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"240x180@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"240_180_15\", \"type\": \"int\", \"value\": 28, \"srcline\": 38, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"240x180@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"240_180_30\", \"type\": \"int\", \"value\": 29, \"srcline\": 39, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"240x180@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"240_180_60\", \"type\": \"int\", \"value\": 30, \"srcline\": 40, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"240x180@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_180_5\", \"type\": \"int\", \"value\": 31, \"srcline\": 41, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x180@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_180_10\", \"type\": \"int\", \"value\": 32, \"srcline\": 42, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x180@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_180_15\", \"type\": \"int\", \"value\": 33, \"srcline\": 43, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x180@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_180_30\", \"type\": \"int\", \"value\": 34, \"srcline\": 44, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x180@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_180_60\", \"type\": \"int\", \"value\": 35, \"srcline\": 45, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x180@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_200_5\", \"type\": \"int\", \"value\": 36, \"srcline\": 46, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x200@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_200_10\", \"type\": \"int\", \"value\": 37, \"srcline\": 47, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x200@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_200_15\", \"type\": \"int\", \"value\": 38, \"srcline\": 48, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x200@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_200_30\", \"type\": \"int\", \"value\": 39, \"srcline\": 49, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x200@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_200_60\", \"type\": \"int\", \"value\": 40, \"srcline\": 50, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x200@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_240_5\", \"type\": \"int\", \"value\": 41, \"srcline\": 51, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x240@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_240_10\", \"type\": \"int\", \"value\": 42, \"srcline\": 52, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x240@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_240_15\", \"type\": \"int\", \"value\": 43, \"srcline\": 53, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x240@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_240_30\", \"type\": \"int\", \"value\": 44, \"srcline\": 54, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x240@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"320_240_60\", \"type\": \"int\", \"value\": 45, \"srcline\": 55, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"320x240@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"480_360_5\", \"type\": \"int\", \"value\": 46, \"srcline\": 56, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"480x360@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"480_360_10\", \"type\": \"int\", \"value\": 47, \"srcline\": 57, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"480x360@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"480_360_15\", \"type\": \"int\", \"value\": 48, \"srcline\": 58, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"480x360@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"480_360_30\", \"type\": \"int\", \"value\": 49, \"srcline\": 59, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"480x360@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"480_360_60\", \"type\": \"int\", \"value\": 50, \"srcline\": 60, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"480x360@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"512_384_5\", \"type\": \"int\", \"value\": 51, \"srcline\": 61, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"512x384@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"512_384_10\", \"type\": \"int\", \"value\": 52, \"srcline\": 62, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"512x384@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"512_384_15\", \"type\": \"int\", \"value\": 53, \"srcline\": 63, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"512x384@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"512_384_30\", \"type\": \"int\", \"value\": 54, \"srcline\": 64, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"512x384@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"512_384_60\", \"type\": \"int\", \"value\": 55, \"srcline\": 65, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"512x384@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_360_5\", \"type\": \"int\", \"value\": 56, \"srcline\": 66, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x360@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_360_10\", \"type\": \"int\", \"value\": 57, \"srcline\": 67, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x360@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_360_15\", \"type\": \"int\", \"value\": 58, \"srcline\": 68, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x360@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_360_30\", \"type\": \"int\", \"value\": 59, \"srcline\": 69, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x360@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_360_60\", \"type\": \"int\", \"value\": 60, \"srcline\": 70, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x360@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_400_5\", \"type\": \"int\", \"value\": 61, \"srcline\": 71, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x400@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_400_10\", \"type\": \"int\", \"value\": 62, \"srcline\": 72, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x400@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_400_15\", \"type\": \"int\", \"value\": 63, \"srcline\": 73, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x400@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_400_30\", \"type\": \"int\", \"value\": 64, \"srcline\": 74, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x400@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_400_60\", \"type\": \"int\", \"value\": 65, \"srcline\": 75, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x400@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_480_5\", \"type\": \"int\", \"value\": 66, \"srcline\": 76, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x480@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_480_10\", \"type\": \"int\", \"value\": 67, \"srcline\": 77, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x480@10\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_480_15\", \"type\": \"int\", \"value\": 68, \"srcline\": 78, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x480@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_480_30\", \"type\": \"int\", \"value\": 69, \"srcline\": 79, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x480@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"640_480_60\", \"type\": \"int\", \"value\": 70, \"srcline\": 80, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"640x480@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"160_100_5\", \"type\": \"int\", \"value\": 71, \"srcline\": 81, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"160x100@5\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"160_100_15\", \"type\": \"int\", \"value\": 72, \"srcline\": 82, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"160x100@15\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"160_100_30\", \"type\": \"int\", \"value\": 73, \"srcline\": 83, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"160x100@30\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}, {\"name\": \"160_100_60\", \"type\": \"int\", \"value\": 74, \"srcline\": 84, \"srcfile\": \"/home/agilex/cobot_magic/camera_ws/src/ros_astra_camera/cfg/Astra.cfg\", \"description\": \"160x100@60\", \"ctype\": \"int\", \"cconsttype\": \"const int\"}], \"enum_description\": \"output mode\"}
8
+ 0.type= str
9
+ 0.desc=edited video mode
10
+ 1.name= ~rgb_preferred
11
+ 1.default= True
12
+ 1.type= bool
13
+ 1.desc=Preferred camera stream Possible values are: RGB (True): RGB video stream preferred, IR (True): IR video stream preferred
14
+ 2.name= ~ir_mode
15
+ 2.default= 68
16
+ 2.type= int
17
+ 2.desc=Video mode for IR camera Possible values are: 1024_768_5 (1): 1024x768@5, 1024_768_10 (2): 1024x768@10, 1024_768_15 (3): 1024x768@15, 1024_768_30 (4): 1024x768@30, 1024_768_60 (5): 1024x768@60, 1280_1024_5 (6): 1280x1024@5, 1280_1024_10 (7): 1280x1024@10, 1280_1024_15 (8): 1280x1024@15, 1280_1024_30 (9): 1280x1024@30, 1280_1024_60 (10): 1280x1024@60, 1280_720_5 (11): 1280x720@5, 1280_720_10 (12): 1280x720@10, 1280_720_15 (13): 1280x720@15, 1280_720_30 (14): 1280x720@30, 1280_720_60 (15): 1280x720@60, 1280_800_5 (16): 1280x800@5, 1280_800_10 (17): 1280x800@10, 1280_800_15 (18): 1280x800@15, 1280_800_30 (19): 1280x800@30, 1280_800_60 (20): 1280x800@60, 160_120_5 (21): 160x120@5, 160_120_10 (22): 160x120@10, 160_120_15 (23): 160x120@15, 160_120_30 (24): 160x120@30, 160_120_60 (25): 160x120@60, 240_180_5 (26): 240x180@5, 240_180_10 (27): 240x180@10, 240_180_15 (28): 240x180@15, 240_180_30 (29): 240x180@30, 240_180_60 (30): 240x180@60, 320_180_5 (31): 320x180@5, 320_180_10 (32): 320x180@10, 320_180_15 (33): 320x180@15, 320_180_30 (34): 320x180@30, 320_180_60 (35): 320x180@60, 320_200_5 (36): 320x200@5, 320_200_10 (37): 320x200@10, 320_200_15 (38): 320x200@15, 320_200_30 (39): 320x200@30, 320_200_60 (40): 320x200@60, 320_240_5 (41): 320x240@5, 320_240_10 (42): 320x240@10, 320_240_15 (43): 320x240@15, 320_240_30 (44): 320x240@30, 320_240_60 (45): 320x240@60, 480_360_5 (46): 480x360@5, 480_360_10 (47): 480x360@10, 480_360_15 (48): 480x360@15, 480_360_30 (49): 480x360@30, 480_360_60 (50): 480x360@60, 512_384_5 (51): 512x384@5, 512_384_10 (52): 512x384@10, 512_384_15 (53): 512x384@15, 512_384_30 (54): 512x384@30, 512_384_60 (55): 512x384@60, 640_360_5 (56): 640x360@5, 640_360_10 (57): 640x360@10, 640_360_15 (58): 640x360@15, 640_360_30 (59): 640x360@30, 640_360_60 (60): 640x360@60, 640_400_5 (61): 640x400@5, 640_400_10 (62): 640x400@10, 640_400_15 (63): 640x400@15, 640_400_30 (64): 640x400@30, 640_400_60 (65): 640x400@60, 640_480_5 (66): 640x480@5, 640_480_10 (67): 640x480@10, 640_480_15 (68): 640x480@15, 640_480_30 (69): 640x480@30, 640_480_60 (70): 640x480@60, 160_100_5 (71): 160x100@5, 160_100_15 (72): 160x100@15, 160_100_30 (73): 160x100@30, 160_100_60 (74): 160x100@60
18
+ 3.name= ~color_mode
19
+ 3.default= 68
20
+ 3.type= int
21
+ 3.desc=Video mode for color camera Possible values are: 1024_768_5 (1): 1024x768@5, 1024_768_10 (2): 1024x768@10, 1024_768_15 (3): 1024x768@15, 1024_768_30 (4): 1024x768@30, 1024_768_60 (5): 1024x768@60, 1280_1024_5 (6): 1280x1024@5, 1280_1024_10 (7): 1280x1024@10, 1280_1024_15 (8): 1280x1024@15, 1280_1024_30 (9): 1280x1024@30, 1280_1024_60 (10): 1280x1024@60, 1280_720_5 (11): 1280x720@5, 1280_720_10 (12): 1280x720@10, 1280_720_15 (13): 1280x720@15, 1280_720_30 (14): 1280x720@30, 1280_720_60 (15): 1280x720@60, 1280_800_5 (16): 1280x800@5, 1280_800_10 (17): 1280x800@10, 1280_800_15 (18): 1280x800@15, 1280_800_30 (19): 1280x800@30, 1280_800_60 (20): 1280x800@60, 160_120_5 (21): 160x120@5, 160_120_10 (22): 160x120@10, 160_120_15 (23): 160x120@15, 160_120_30 (24): 160x120@30, 160_120_60 (25): 160x120@60, 240_180_5 (26): 240x180@5, 240_180_10 (27): 240x180@10, 240_180_15 (28): 240x180@15, 240_180_30 (29): 240x180@30, 240_180_60 (30): 240x180@60, 320_180_5 (31): 320x180@5, 320_180_10 (32): 320x180@10, 320_180_15 (33): 320x180@15, 320_180_30 (34): 320x180@30, 320_180_60 (35): 320x180@60, 320_200_5 (36): 320x200@5, 320_200_10 (37): 320x200@10, 320_200_15 (38): 320x200@15, 320_200_30 (39): 320x200@30, 320_200_60 (40): 320x200@60, 320_240_5 (41): 320x240@5, 320_240_10 (42): 320x240@10, 320_240_15 (43): 320x240@15, 320_240_30 (44): 320x240@30, 320_240_60 (45): 320x240@60, 480_360_5 (46): 480x360@5, 480_360_10 (47): 480x360@10, 480_360_15 (48): 480x360@15, 480_360_30 (49): 480x360@30, 480_360_60 (50): 480x360@60, 512_384_5 (51): 512x384@5, 512_384_10 (52): 512x384@10, 512_384_15 (53): 512x384@15, 512_384_30 (54): 512x384@30, 512_384_60 (55): 512x384@60, 640_360_5 (56): 640x360@5, 640_360_10 (57): 640x360@10, 640_360_15 (58): 640x360@15, 640_360_30 (59): 640x360@30, 640_360_60 (60): 640x360@60, 640_400_5 (61): 640x400@5, 640_400_10 (62): 640x400@10, 640_400_15 (63): 640x400@15, 640_400_30 (64): 640x400@30, 640_400_60 (65): 640x400@60, 640_480_5 (66): 640x480@5, 640_480_10 (67): 640x480@10, 640_480_15 (68): 640x480@15, 640_480_30 (69): 640x480@30, 640_480_60 (70): 640x480@60, 160_100_5 (71): 160x100@5, 160_100_15 (72): 160x100@15, 160_100_30 (73): 160x100@30, 160_100_60 (74): 160x100@60
22
+ 4.name= ~depth_mode
23
+ 4.default= 69
24
+ 4.type= int
25
+ 4.desc=Video mode for depth camera Possible values are: 1024_768_5 (1): 1024x768@5, 1024_768_10 (2): 1024x768@10, 1024_768_15 (3): 1024x768@15, 1024_768_30 (4): 1024x768@30, 1024_768_60 (5): 1024x768@60, 1280_1024_5 (6): 1280x1024@5, 1280_1024_10 (7): 1280x1024@10, 1280_1024_15 (8): 1280x1024@15, 1280_1024_30 (9): 1280x1024@30, 1280_1024_60 (10): 1280x1024@60, 1280_720_5 (11): 1280x720@5, 1280_720_10 (12): 1280x720@10, 1280_720_15 (13): 1280x720@15, 1280_720_30 (14): 1280x720@30, 1280_720_60 (15): 1280x720@60, 1280_800_5 (16): 1280x800@5, 1280_800_10 (17): 1280x800@10, 1280_800_15 (18): 1280x800@15, 1280_800_30 (19): 1280x800@30, 1280_800_60 (20): 1280x800@60, 160_120_5 (21): 160x120@5, 160_120_10 (22): 160x120@10, 160_120_15 (23): 160x120@15, 160_120_30 (24): 160x120@30, 160_120_60 (25): 160x120@60, 240_180_5 (26): 240x180@5, 240_180_10 (27): 240x180@10, 240_180_15 (28): 240x180@15, 240_180_30 (29): 240x180@30, 240_180_60 (30): 240x180@60, 320_180_5 (31): 320x180@5, 320_180_10 (32): 320x180@10, 320_180_15 (33): 320x180@15, 320_180_30 (34): 320x180@30, 320_180_60 (35): 320x180@60, 320_200_5 (36): 320x200@5, 320_200_10 (37): 320x200@10, 320_200_15 (38): 320x200@15, 320_200_30 (39): 320x200@30, 320_200_60 (40): 320x200@60, 320_240_5 (41): 320x240@5, 320_240_10 (42): 320x240@10, 320_240_15 (43): 320x240@15, 320_240_30 (44): 320x240@30, 320_240_60 (45): 320x240@60, 480_360_5 (46): 480x360@5, 480_360_10 (47): 480x360@10, 480_360_15 (48): 480x360@15, 480_360_30 (49): 480x360@30, 480_360_60 (50): 480x360@60, 512_384_5 (51): 512x384@5, 512_384_10 (52): 512x384@10, 512_384_15 (53): 512x384@15, 512_384_30 (54): 512x384@30, 512_384_60 (55): 512x384@60, 640_360_5 (56): 640x360@5, 640_360_10 (57): 640x360@10, 640_360_15 (58): 640x360@15, 640_360_30 (59): 640x360@30, 640_360_60 (60): 640x360@60, 640_400_5 (61): 640x400@5, 640_400_10 (62): 640x400@10, 640_400_15 (63): 640x400@15, 640_400_30 (64): 640x400@30, 640_400_60 (65): 640x400@60, 640_480_5 (66): 640x480@5, 640_480_10 (67): 640x480@10, 640_480_15 (68): 640x480@15, 640_480_30 (69): 640x480@30, 640_480_60 (70): 640x480@60, 160_100_5 (71): 160x100@5, 160_100_15 (72): 160x100@15, 160_100_30 (73): 160x100@30, 160_100_60 (74): 160x100@60
26
+ 5.name= ~depth_align
27
+ 5.default= False
28
+ 5.type= bool
29
+ 5.desc=Hardware depth to color
30
+ 6.name= ~color_depth_synchronization
31
+ 6.default= False
32
+ 6.type= bool
33
+ 6.desc=Synchronization of color and depth camera
34
+ 7.name= ~auto_exposure
35
+ 7.default= True
36
+ 7.type= bool
37
+ 7.desc=Auto-Exposure
38
+ 8.name= ~auto_white_balance
39
+ 8.default= True
40
+ 8.type= bool
41
+ 8.desc=Auto-White-Balance
42
+ 9.name= ~data_skip
43
+ 9.default= 0
44
+ 9.type= int
45
+ 9.desc=Skip N images for every image published (rgb/depth/depth_registered/ir) Range: 0 to 10
46
+ 10.name= ~ir_time_offset
47
+ 10.default= -0.033
48
+ 10.type= double
49
+ 10.desc=ir image time offset in seconds Range: -1.0 to 1.0
50
+ 11.name= ~color_time_offset
51
+ 11.default= -0.033
52
+ 11.type= double
53
+ 11.desc=color image time offset in seconds Range: -1.0 to 1.0
54
+ 12.name= ~depth_time_offset
55
+ 12.default= -0.033
56
+ 12.type= double
57
+ 12.desc=depth image time offset in seconds Range: -1.0 to 1.0
58
+ 13.name= ~depth_ir_offset_x
59
+ 13.default= 5.0
60
+ 13.type= double
61
+ 13.desc=X offset between IR and depth images Range: -20.0 to 20.0
62
+ 14.name= ~depth_ir_offset_y
63
+ 14.default= 4.0
64
+ 14.type= double
65
+ 14.desc=Y offset between IR and depth images Range: -20.0 to 20.0
66
+ 15.name= ~z_offset_mm
67
+ 15.default= 0
68
+ 15.type= int
69
+ 15.desc=Z offset in mm Range: -200 to 200
70
+ 16.name= ~z_scaling
71
+ 16.default= 1.0
72
+ 16.type= double
73
+ 16.desc=Scaling factor for depth values Range: 0.5 to 1.5
74
+ 17.name= ~use_device_time
75
+ 17.default= True
76
+ 17.type= bool
77
+ 17.desc=Use internal timer of OpenNI device
78
+ 18.name= ~keep_alive
79
+ 18.default= False
80
+ 18.type= bool
81
+ 18.desc=Send keep alive message to device
82
+ }
83
+ }
84
+ # End of autogenerated section. You may edit below.
camera_ws/devel/share/common-lisp/ros/astra_camera/msg/DeviceInfo.lisp ADDED
@@ -0,0 +1,242 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ; Auto-generated. Do not edit!
2
+
3
+
4
+ (cl:in-package astra_camera-msg)
5
+
6
+
7
+ ;//! \htmlinclude DeviceInfo.msg.html
8
+
9
+ (cl:defclass <DeviceInfo> (roslisp-msg-protocol:ros-message)
10
+ ((header
11
+ :reader header
12
+ :initarg :header
13
+ :type std_msgs-msg:Header
14
+ :initform (cl:make-instance 'std_msgs-msg:Header))
15
+ (name
16
+ :reader name
17
+ :initarg :name
18
+ :type cl:string
19
+ :initform "")
20
+ (vid
21
+ :reader vid
22
+ :initarg :vid
23
+ :type cl:integer
24
+ :initform 0)
25
+ (pid
26
+ :reader pid
27
+ :initarg :pid
28
+ :type cl:integer
29
+ :initform 0)
30
+ (serial_number
31
+ :reader serial_number
32
+ :initarg :serial_number
33
+ :type cl:string
34
+ :initform "")
35
+ (firmware_version
36
+ :reader firmware_version
37
+ :initarg :firmware_version
38
+ :type cl:string
39
+ :initform "")
40
+ (supported_min_sdk_version
41
+ :reader supported_min_sdk_version
42
+ :initarg :supported_min_sdk_version
43
+ :type cl:string
44
+ :initform "")
45
+ (hardware_version
46
+ :reader hardware_version
47
+ :initarg :hardware_version
48
+ :type cl:string
49
+ :initform ""))
50
+ )
51
+
52
+ (cl:defclass DeviceInfo (<DeviceInfo>)
53
+ ())
54
+
55
+ (cl:defmethod cl:initialize-instance :after ((m <DeviceInfo>) cl:&rest args)
56
+ (cl:declare (cl:ignorable args))
57
+ (cl:unless (cl:typep m 'DeviceInfo)
58
+ (roslisp-msg-protocol:msg-deprecation-warning "using old message class name astra_camera-msg:<DeviceInfo> is deprecated: use astra_camera-msg:DeviceInfo instead.")))
59
+
60
+ (cl:ensure-generic-function 'header-val :lambda-list '(m))
61
+ (cl:defmethod header-val ((m <DeviceInfo>))
62
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-msg:header-val is deprecated. Use astra_camera-msg:header instead.")
63
+ (header m))
64
+
65
+ (cl:ensure-generic-function 'name-val :lambda-list '(m))
66
+ (cl:defmethod name-val ((m <DeviceInfo>))
67
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-msg:name-val is deprecated. Use astra_camera-msg:name instead.")
68
+ (name m))
69
+
70
+ (cl:ensure-generic-function 'vid-val :lambda-list '(m))
71
+ (cl:defmethod vid-val ((m <DeviceInfo>))
72
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-msg:vid-val is deprecated. Use astra_camera-msg:vid instead.")
73
+ (vid m))
74
+
75
+ (cl:ensure-generic-function 'pid-val :lambda-list '(m))
76
+ (cl:defmethod pid-val ((m <DeviceInfo>))
77
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-msg:pid-val is deprecated. Use astra_camera-msg:pid instead.")
78
+ (pid m))
79
+
80
+ (cl:ensure-generic-function 'serial_number-val :lambda-list '(m))
81
+ (cl:defmethod serial_number-val ((m <DeviceInfo>))
82
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-msg:serial_number-val is deprecated. Use astra_camera-msg:serial_number instead.")
83
+ (serial_number m))
84
+
85
+ (cl:ensure-generic-function 'firmware_version-val :lambda-list '(m))
86
+ (cl:defmethod firmware_version-val ((m <DeviceInfo>))
87
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-msg:firmware_version-val is deprecated. Use astra_camera-msg:firmware_version instead.")
88
+ (firmware_version m))
89
+
90
+ (cl:ensure-generic-function 'supported_min_sdk_version-val :lambda-list '(m))
91
+ (cl:defmethod supported_min_sdk_version-val ((m <DeviceInfo>))
92
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-msg:supported_min_sdk_version-val is deprecated. Use astra_camera-msg:supported_min_sdk_version instead.")
93
+ (supported_min_sdk_version m))
94
+
95
+ (cl:ensure-generic-function 'hardware_version-val :lambda-list '(m))
96
+ (cl:defmethod hardware_version-val ((m <DeviceInfo>))
97
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-msg:hardware_version-val is deprecated. Use astra_camera-msg:hardware_version instead.")
98
+ (hardware_version m))
99
+ (cl:defmethod roslisp-msg-protocol:serialize ((msg <DeviceInfo>) ostream)
100
+ "Serializes a message object of type '<DeviceInfo>"
101
+ (roslisp-msg-protocol:serialize (cl:slot-value msg 'header) ostream)
102
+ (cl:let ((__ros_str_len (cl:length (cl:slot-value msg 'name))))
103
+ (cl:write-byte (cl:ldb (cl:byte 8 0) __ros_str_len) ostream)
104
+ (cl:write-byte (cl:ldb (cl:byte 8 8) __ros_str_len) ostream)
105
+ (cl:write-byte (cl:ldb (cl:byte 8 16) __ros_str_len) ostream)
106
+ (cl:write-byte (cl:ldb (cl:byte 8 24) __ros_str_len) ostream))
107
+ (cl:map cl:nil #'(cl:lambda (c) (cl:write-byte (cl:char-code c) ostream)) (cl:slot-value msg 'name))
108
+ (cl:let* ((signed (cl:slot-value msg 'vid)) (unsigned (cl:if (cl:< signed 0) (cl:+ signed 4294967296) signed)))
109
+ (cl:write-byte (cl:ldb (cl:byte 8 0) unsigned) ostream)
110
+ (cl:write-byte (cl:ldb (cl:byte 8 8) unsigned) ostream)
111
+ (cl:write-byte (cl:ldb (cl:byte 8 16) unsigned) ostream)
112
+ (cl:write-byte (cl:ldb (cl:byte 8 24) unsigned) ostream)
113
+ )
114
+ (cl:let* ((signed (cl:slot-value msg 'pid)) (unsigned (cl:if (cl:< signed 0) (cl:+ signed 4294967296) signed)))
115
+ (cl:write-byte (cl:ldb (cl:byte 8 0) unsigned) ostream)
116
+ (cl:write-byte (cl:ldb (cl:byte 8 8) unsigned) ostream)
117
+ (cl:write-byte (cl:ldb (cl:byte 8 16) unsigned) ostream)
118
+ (cl:write-byte (cl:ldb (cl:byte 8 24) unsigned) ostream)
119
+ )
120
+ (cl:let ((__ros_str_len (cl:length (cl:slot-value msg 'serial_number))))
121
+ (cl:write-byte (cl:ldb (cl:byte 8 0) __ros_str_len) ostream)
122
+ (cl:write-byte (cl:ldb (cl:byte 8 8) __ros_str_len) ostream)
123
+ (cl:write-byte (cl:ldb (cl:byte 8 16) __ros_str_len) ostream)
124
+ (cl:write-byte (cl:ldb (cl:byte 8 24) __ros_str_len) ostream))
125
+ (cl:map cl:nil #'(cl:lambda (c) (cl:write-byte (cl:char-code c) ostream)) (cl:slot-value msg 'serial_number))
126
+ (cl:let ((__ros_str_len (cl:length (cl:slot-value msg 'firmware_version))))
127
+ (cl:write-byte (cl:ldb (cl:byte 8 0) __ros_str_len) ostream)
128
+ (cl:write-byte (cl:ldb (cl:byte 8 8) __ros_str_len) ostream)
129
+ (cl:write-byte (cl:ldb (cl:byte 8 16) __ros_str_len) ostream)
130
+ (cl:write-byte (cl:ldb (cl:byte 8 24) __ros_str_len) ostream))
131
+ (cl:map cl:nil #'(cl:lambda (c) (cl:write-byte (cl:char-code c) ostream)) (cl:slot-value msg 'firmware_version))
132
+ (cl:let ((__ros_str_len (cl:length (cl:slot-value msg 'supported_min_sdk_version))))
133
+ (cl:write-byte (cl:ldb (cl:byte 8 0) __ros_str_len) ostream)
134
+ (cl:write-byte (cl:ldb (cl:byte 8 8) __ros_str_len) ostream)
135
+ (cl:write-byte (cl:ldb (cl:byte 8 16) __ros_str_len) ostream)
136
+ (cl:write-byte (cl:ldb (cl:byte 8 24) __ros_str_len) ostream))
137
+ (cl:map cl:nil #'(cl:lambda (c) (cl:write-byte (cl:char-code c) ostream)) (cl:slot-value msg 'supported_min_sdk_version))
138
+ (cl:let ((__ros_str_len (cl:length (cl:slot-value msg 'hardware_version))))
139
+ (cl:write-byte (cl:ldb (cl:byte 8 0) __ros_str_len) ostream)
140
+ (cl:write-byte (cl:ldb (cl:byte 8 8) __ros_str_len) ostream)
141
+ (cl:write-byte (cl:ldb (cl:byte 8 16) __ros_str_len) ostream)
142
+ (cl:write-byte (cl:ldb (cl:byte 8 24) __ros_str_len) ostream))
143
+ (cl:map cl:nil #'(cl:lambda (c) (cl:write-byte (cl:char-code c) ostream)) (cl:slot-value msg 'hardware_version))
144
+ )
145
+ (cl:defmethod roslisp-msg-protocol:deserialize ((msg <DeviceInfo>) istream)
146
+ "Deserializes a message object of type '<DeviceInfo>"
147
+ (roslisp-msg-protocol:deserialize (cl:slot-value msg 'header) istream)
148
+ (cl:let ((__ros_str_len 0))
149
+ (cl:setf (cl:ldb (cl:byte 8 0) __ros_str_len) (cl:read-byte istream))
150
+ (cl:setf (cl:ldb (cl:byte 8 8) __ros_str_len) (cl:read-byte istream))
151
+ (cl:setf (cl:ldb (cl:byte 8 16) __ros_str_len) (cl:read-byte istream))
152
+ (cl:setf (cl:ldb (cl:byte 8 24) __ros_str_len) (cl:read-byte istream))
153
+ (cl:setf (cl:slot-value msg 'name) (cl:make-string __ros_str_len))
154
+ (cl:dotimes (__ros_str_idx __ros_str_len msg)
155
+ (cl:setf (cl:char (cl:slot-value msg 'name) __ros_str_idx) (cl:code-char (cl:read-byte istream)))))
156
+ (cl:let ((unsigned 0))
157
+ (cl:setf (cl:ldb (cl:byte 8 0) unsigned) (cl:read-byte istream))
158
+ (cl:setf (cl:ldb (cl:byte 8 8) unsigned) (cl:read-byte istream))
159
+ (cl:setf (cl:ldb (cl:byte 8 16) unsigned) (cl:read-byte istream))
160
+ (cl:setf (cl:ldb (cl:byte 8 24) unsigned) (cl:read-byte istream))
161
+ (cl:setf (cl:slot-value msg 'vid) (cl:if (cl:< unsigned 2147483648) unsigned (cl:- unsigned 4294967296))))
162
+ (cl:let ((unsigned 0))
163
+ (cl:setf (cl:ldb (cl:byte 8 0) unsigned) (cl:read-byte istream))
164
+ (cl:setf (cl:ldb (cl:byte 8 8) unsigned) (cl:read-byte istream))
165
+ (cl:setf (cl:ldb (cl:byte 8 16) unsigned) (cl:read-byte istream))
166
+ (cl:setf (cl:ldb (cl:byte 8 24) unsigned) (cl:read-byte istream))
167
+ (cl:setf (cl:slot-value msg 'pid) (cl:if (cl:< unsigned 2147483648) unsigned (cl:- unsigned 4294967296))))
168
+ (cl:let ((__ros_str_len 0))
169
+ (cl:setf (cl:ldb (cl:byte 8 0) __ros_str_len) (cl:read-byte istream))
170
+ (cl:setf (cl:ldb (cl:byte 8 8) __ros_str_len) (cl:read-byte istream))
171
+ (cl:setf (cl:ldb (cl:byte 8 16) __ros_str_len) (cl:read-byte istream))
172
+ (cl:setf (cl:ldb (cl:byte 8 24) __ros_str_len) (cl:read-byte istream))
173
+ (cl:setf (cl:slot-value msg 'serial_number) (cl:make-string __ros_str_len))
174
+ (cl:dotimes (__ros_str_idx __ros_str_len msg)
175
+ (cl:setf (cl:char (cl:slot-value msg 'serial_number) __ros_str_idx) (cl:code-char (cl:read-byte istream)))))
176
+ (cl:let ((__ros_str_len 0))
177
+ (cl:setf (cl:ldb (cl:byte 8 0) __ros_str_len) (cl:read-byte istream))
178
+ (cl:setf (cl:ldb (cl:byte 8 8) __ros_str_len) (cl:read-byte istream))
179
+ (cl:setf (cl:ldb (cl:byte 8 16) __ros_str_len) (cl:read-byte istream))
180
+ (cl:setf (cl:ldb (cl:byte 8 24) __ros_str_len) (cl:read-byte istream))
181
+ (cl:setf (cl:slot-value msg 'firmware_version) (cl:make-string __ros_str_len))
182
+ (cl:dotimes (__ros_str_idx __ros_str_len msg)
183
+ (cl:setf (cl:char (cl:slot-value msg 'firmware_version) __ros_str_idx) (cl:code-char (cl:read-byte istream)))))
184
+ (cl:let ((__ros_str_len 0))
185
+ (cl:setf (cl:ldb (cl:byte 8 0) __ros_str_len) (cl:read-byte istream))
186
+ (cl:setf (cl:ldb (cl:byte 8 8) __ros_str_len) (cl:read-byte istream))
187
+ (cl:setf (cl:ldb (cl:byte 8 16) __ros_str_len) (cl:read-byte istream))
188
+ (cl:setf (cl:ldb (cl:byte 8 24) __ros_str_len) (cl:read-byte istream))
189
+ (cl:setf (cl:slot-value msg 'supported_min_sdk_version) (cl:make-string __ros_str_len))
190
+ (cl:dotimes (__ros_str_idx __ros_str_len msg)
191
+ (cl:setf (cl:char (cl:slot-value msg 'supported_min_sdk_version) __ros_str_idx) (cl:code-char (cl:read-byte istream)))))
192
+ (cl:let ((__ros_str_len 0))
193
+ (cl:setf (cl:ldb (cl:byte 8 0) __ros_str_len) (cl:read-byte istream))
194
+ (cl:setf (cl:ldb (cl:byte 8 8) __ros_str_len) (cl:read-byte istream))
195
+ (cl:setf (cl:ldb (cl:byte 8 16) __ros_str_len) (cl:read-byte istream))
196
+ (cl:setf (cl:ldb (cl:byte 8 24) __ros_str_len) (cl:read-byte istream))
197
+ (cl:setf (cl:slot-value msg 'hardware_version) (cl:make-string __ros_str_len))
198
+ (cl:dotimes (__ros_str_idx __ros_str_len msg)
199
+ (cl:setf (cl:char (cl:slot-value msg 'hardware_version) __ros_str_idx) (cl:code-char (cl:read-byte istream)))))
200
+ msg
201
+ )
202
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<DeviceInfo>)))
203
+ "Returns string type for a message object of type '<DeviceInfo>"
204
+ "astra_camera/DeviceInfo")
205
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'DeviceInfo)))
206
+ "Returns string type for a message object of type 'DeviceInfo"
207
+ "astra_camera/DeviceInfo")
208
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<DeviceInfo>)))
209
+ "Returns md5sum for a message object of type '<DeviceInfo>"
210
+ "f8aabac6d632dd2641eb4f5942464a66")
211
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'DeviceInfo)))
212
+ "Returns md5sum for a message object of type 'DeviceInfo"
213
+ "f8aabac6d632dd2641eb4f5942464a66")
214
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<DeviceInfo>)))
215
+ "Returns full string definition for message of type '<DeviceInfo>"
216
+ (cl:format cl:nil "std_msgs/Header header~%string name~%int32 vid~%int32 pid~%string serial_number~%string firmware_version~%string supported_min_sdk_version~%string hardware_version~%~%================================================================================~%MSG: std_msgs/Header~%# Standard metadata for higher-level stamped data types.~%# This is generally used to communicate timestamped data ~%# in a particular coordinate frame.~%# ~%# sequence ID: consecutively increasing ID ~%uint32 seq~%#Two-integer timestamp that is expressed as:~%# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')~%# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')~%# time-handling sugar is provided by the client library~%time stamp~%#Frame this data is associated with~%string frame_id~%~%~%"))
217
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'DeviceInfo)))
218
+ "Returns full string definition for message of type 'DeviceInfo"
219
+ (cl:format cl:nil "std_msgs/Header header~%string name~%int32 vid~%int32 pid~%string serial_number~%string firmware_version~%string supported_min_sdk_version~%string hardware_version~%~%================================================================================~%MSG: std_msgs/Header~%# Standard metadata for higher-level stamped data types.~%# This is generally used to communicate timestamped data ~%# in a particular coordinate frame.~%# ~%# sequence ID: consecutively increasing ID ~%uint32 seq~%#Two-integer timestamp that is expressed as:~%# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')~%# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')~%# time-handling sugar is provided by the client library~%time stamp~%#Frame this data is associated with~%string frame_id~%~%~%"))
220
+ (cl:defmethod roslisp-msg-protocol:serialization-length ((msg <DeviceInfo>))
221
+ (cl:+ 0
222
+ (roslisp-msg-protocol:serialization-length (cl:slot-value msg 'header))
223
+ 4 (cl:length (cl:slot-value msg 'name))
224
+ 4
225
+ 4
226
+ 4 (cl:length (cl:slot-value msg 'serial_number))
227
+ 4 (cl:length (cl:slot-value msg 'firmware_version))
228
+ 4 (cl:length (cl:slot-value msg 'supported_min_sdk_version))
229
+ 4 (cl:length (cl:slot-value msg 'hardware_version))
230
+ ))
231
+ (cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <DeviceInfo>))
232
+ "Converts a ROS message object to a list"
233
+ (cl:list 'DeviceInfo
234
+ (cl:cons ':header (header msg))
235
+ (cl:cons ':name (name msg))
236
+ (cl:cons ':vid (vid msg))
237
+ (cl:cons ':pid (pid msg))
238
+ (cl:cons ':serial_number (serial_number msg))
239
+ (cl:cons ':firmware_version (firmware_version msg))
240
+ (cl:cons ':supported_min_sdk_version (supported_min_sdk_version msg))
241
+ (cl:cons ':hardware_version (hardware_version msg))
242
+ ))
camera_ws/devel/share/common-lisp/ros/astra_camera/msg/_package_DeviceInfo.lisp ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (cl:in-package astra_camera-msg)
2
+ (cl:export '(HEADER-VAL
3
+ HEADER
4
+ NAME-VAL
5
+ NAME
6
+ VID-VAL
7
+ VID
8
+ PID-VAL
9
+ PID
10
+ SERIAL_NUMBER-VAL
11
+ SERIAL_NUMBER
12
+ FIRMWARE_VERSION-VAL
13
+ FIRMWARE_VERSION
14
+ SUPPORTED_MIN_SDK_VERSION-VAL
15
+ SUPPORTED_MIN_SDK_VERSION
16
+ HARDWARE_VERSION-VAL
17
+ HARDWARE_VERSION
18
+ ))
camera_ws/devel/share/common-lisp/ros/astra_camera/srv/GetBool.lisp ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ; Auto-generated. Do not edit!
2
+
3
+
4
+ (cl:in-package astra_camera-srv)
5
+
6
+
7
+ ;//! \htmlinclude GetBool-request.msg.html
8
+
9
+ (cl:defclass <GetBool-request> (roslisp-msg-protocol:ros-message)
10
+ ()
11
+ )
12
+
13
+ (cl:defclass GetBool-request (<GetBool-request>)
14
+ ())
15
+
16
+ (cl:defmethod cl:initialize-instance :after ((m <GetBool-request>) cl:&rest args)
17
+ (cl:declare (cl:ignorable args))
18
+ (cl:unless (cl:typep m 'GetBool-request)
19
+ (roslisp-msg-protocol:msg-deprecation-warning "using old message class name astra_camera-srv:<GetBool-request> is deprecated: use astra_camera-srv:GetBool-request instead.")))
20
+ (cl:defmethod roslisp-msg-protocol:serialize ((msg <GetBool-request>) ostream)
21
+ "Serializes a message object of type '<GetBool-request>"
22
+ )
23
+ (cl:defmethod roslisp-msg-protocol:deserialize ((msg <GetBool-request>) istream)
24
+ "Deserializes a message object of type '<GetBool-request>"
25
+ msg
26
+ )
27
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<GetBool-request>)))
28
+ "Returns string type for a service object of type '<GetBool-request>"
29
+ "astra_camera/GetBoolRequest")
30
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'GetBool-request)))
31
+ "Returns string type for a service object of type 'GetBool-request"
32
+ "astra_camera/GetBoolRequest")
33
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<GetBool-request>)))
34
+ "Returns md5sum for a message object of type '<GetBool-request>"
35
+ "43f76a855b16e988566e147b692f2fab")
36
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'GetBool-request)))
37
+ "Returns md5sum for a message object of type 'GetBool-request"
38
+ "43f76a855b16e988566e147b692f2fab")
39
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<GetBool-request>)))
40
+ "Returns full string definition for message of type '<GetBool-request>"
41
+ (cl:format cl:nil "~%~%"))
42
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'GetBool-request)))
43
+ "Returns full string definition for message of type 'GetBool-request"
44
+ (cl:format cl:nil "~%~%"))
45
+ (cl:defmethod roslisp-msg-protocol:serialization-length ((msg <GetBool-request>))
46
+ (cl:+ 0
47
+ ))
48
+ (cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <GetBool-request>))
49
+ "Converts a ROS message object to a list"
50
+ (cl:list 'GetBool-request
51
+ ))
52
+ ;//! \htmlinclude GetBool-response.msg.html
53
+
54
+ (cl:defclass <GetBool-response> (roslisp-msg-protocol:ros-message)
55
+ ((data
56
+ :reader data
57
+ :initarg :data
58
+ :type cl:boolean
59
+ :initform cl:nil)
60
+ (success
61
+ :reader success
62
+ :initarg :success
63
+ :type cl:boolean
64
+ :initform cl:nil)
65
+ (message
66
+ :reader message
67
+ :initarg :message
68
+ :type cl:string
69
+ :initform ""))
70
+ )
71
+
72
+ (cl:defclass GetBool-response (<GetBool-response>)
73
+ ())
74
+
75
+ (cl:defmethod cl:initialize-instance :after ((m <GetBool-response>) cl:&rest args)
76
+ (cl:declare (cl:ignorable args))
77
+ (cl:unless (cl:typep m 'GetBool-response)
78
+ (roslisp-msg-protocol:msg-deprecation-warning "using old message class name astra_camera-srv:<GetBool-response> is deprecated: use astra_camera-srv:GetBool-response instead.")))
79
+
80
+ (cl:ensure-generic-function 'data-val :lambda-list '(m))
81
+ (cl:defmethod data-val ((m <GetBool-response>))
82
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:data-val is deprecated. Use astra_camera-srv:data instead.")
83
+ (data m))
84
+
85
+ (cl:ensure-generic-function 'success-val :lambda-list '(m))
86
+ (cl:defmethod success-val ((m <GetBool-response>))
87
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:success-val is deprecated. Use astra_camera-srv:success instead.")
88
+ (success m))
89
+
90
+ (cl:ensure-generic-function 'message-val :lambda-list '(m))
91
+ (cl:defmethod message-val ((m <GetBool-response>))
92
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:message-val is deprecated. Use astra_camera-srv:message instead.")
93
+ (message m))
94
+ (cl:defmethod roslisp-msg-protocol:serialize ((msg <GetBool-response>) ostream)
95
+ "Serializes a message object of type '<GetBool-response>"
96
+ (cl:write-byte (cl:ldb (cl:byte 8 0) (cl:if (cl:slot-value msg 'data) 1 0)) ostream)
97
+ (cl:write-byte (cl:ldb (cl:byte 8 0) (cl:if (cl:slot-value msg 'success) 1 0)) ostream)
98
+ (cl:let ((__ros_str_len (cl:length (cl:slot-value msg 'message))))
99
+ (cl:write-byte (cl:ldb (cl:byte 8 0) __ros_str_len) ostream)
100
+ (cl:write-byte (cl:ldb (cl:byte 8 8) __ros_str_len) ostream)
101
+ (cl:write-byte (cl:ldb (cl:byte 8 16) __ros_str_len) ostream)
102
+ (cl:write-byte (cl:ldb (cl:byte 8 24) __ros_str_len) ostream))
103
+ (cl:map cl:nil #'(cl:lambda (c) (cl:write-byte (cl:char-code c) ostream)) (cl:slot-value msg 'message))
104
+ )
105
+ (cl:defmethod roslisp-msg-protocol:deserialize ((msg <GetBool-response>) istream)
106
+ "Deserializes a message object of type '<GetBool-response>"
107
+ (cl:setf (cl:slot-value msg 'data) (cl:not (cl:zerop (cl:read-byte istream))))
108
+ (cl:setf (cl:slot-value msg 'success) (cl:not (cl:zerop (cl:read-byte istream))))
109
+ (cl:let ((__ros_str_len 0))
110
+ (cl:setf (cl:ldb (cl:byte 8 0) __ros_str_len) (cl:read-byte istream))
111
+ (cl:setf (cl:ldb (cl:byte 8 8) __ros_str_len) (cl:read-byte istream))
112
+ (cl:setf (cl:ldb (cl:byte 8 16) __ros_str_len) (cl:read-byte istream))
113
+ (cl:setf (cl:ldb (cl:byte 8 24) __ros_str_len) (cl:read-byte istream))
114
+ (cl:setf (cl:slot-value msg 'message) (cl:make-string __ros_str_len))
115
+ (cl:dotimes (__ros_str_idx __ros_str_len msg)
116
+ (cl:setf (cl:char (cl:slot-value msg 'message) __ros_str_idx) (cl:code-char (cl:read-byte istream)))))
117
+ msg
118
+ )
119
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<GetBool-response>)))
120
+ "Returns string type for a service object of type '<GetBool-response>"
121
+ "astra_camera/GetBoolResponse")
122
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'GetBool-response)))
123
+ "Returns string type for a service object of type 'GetBool-response"
124
+ "astra_camera/GetBoolResponse")
125
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<GetBool-response>)))
126
+ "Returns md5sum for a message object of type '<GetBool-response>"
127
+ "43f76a855b16e988566e147b692f2fab")
128
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'GetBool-response)))
129
+ "Returns md5sum for a message object of type 'GetBool-response"
130
+ "43f76a855b16e988566e147b692f2fab")
131
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<GetBool-response>)))
132
+ "Returns full string definition for message of type '<GetBool-response>"
133
+ (cl:format cl:nil "bool data~%bool success~%string message~%~%~%~%"))
134
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'GetBool-response)))
135
+ "Returns full string definition for message of type 'GetBool-response"
136
+ (cl:format cl:nil "bool data~%bool success~%string message~%~%~%~%"))
137
+ (cl:defmethod roslisp-msg-protocol:serialization-length ((msg <GetBool-response>))
138
+ (cl:+ 0
139
+ 1
140
+ 1
141
+ 4 (cl:length (cl:slot-value msg 'message))
142
+ ))
143
+ (cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <GetBool-response>))
144
+ "Converts a ROS message object to a list"
145
+ (cl:list 'GetBool-response
146
+ (cl:cons ':data (data msg))
147
+ (cl:cons ':success (success msg))
148
+ (cl:cons ':message (message msg))
149
+ ))
150
+ (cl:defmethod roslisp-msg-protocol:service-request-type ((msg (cl:eql 'GetBool)))
151
+ 'GetBool-request)
152
+ (cl:defmethod roslisp-msg-protocol:service-response-type ((msg (cl:eql 'GetBool)))
153
+ 'GetBool-response)
154
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'GetBool)))
155
+ "Returns string type for a service object of type '<GetBool>"
156
+ "astra_camera/GetBool")
camera_ws/devel/share/common-lisp/ros/astra_camera/srv/GetCameraInfo.lisp ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ; Auto-generated. Do not edit!
2
+
3
+
4
+ (cl:in-package astra_camera-srv)
5
+
6
+
7
+ ;//! \htmlinclude GetCameraInfo-request.msg.html
8
+
9
+ (cl:defclass <GetCameraInfo-request> (roslisp-msg-protocol:ros-message)
10
+ ()
11
+ )
12
+
13
+ (cl:defclass GetCameraInfo-request (<GetCameraInfo-request>)
14
+ ())
15
+
16
+ (cl:defmethod cl:initialize-instance :after ((m <GetCameraInfo-request>) cl:&rest args)
17
+ (cl:declare (cl:ignorable args))
18
+ (cl:unless (cl:typep m 'GetCameraInfo-request)
19
+ (roslisp-msg-protocol:msg-deprecation-warning "using old message class name astra_camera-srv:<GetCameraInfo-request> is deprecated: use astra_camera-srv:GetCameraInfo-request instead.")))
20
+ (cl:defmethod roslisp-msg-protocol:serialize ((msg <GetCameraInfo-request>) ostream)
21
+ "Serializes a message object of type '<GetCameraInfo-request>"
22
+ )
23
+ (cl:defmethod roslisp-msg-protocol:deserialize ((msg <GetCameraInfo-request>) istream)
24
+ "Deserializes a message object of type '<GetCameraInfo-request>"
25
+ msg
26
+ )
27
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<GetCameraInfo-request>)))
28
+ "Returns string type for a service object of type '<GetCameraInfo-request>"
29
+ "astra_camera/GetCameraInfoRequest")
30
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'GetCameraInfo-request)))
31
+ "Returns string type for a service object of type 'GetCameraInfo-request"
32
+ "astra_camera/GetCameraInfoRequest")
33
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<GetCameraInfo-request>)))
34
+ "Returns md5sum for a message object of type '<GetCameraInfo-request>"
35
+ "aacf7dfed1a501be45f34981291a5579")
36
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'GetCameraInfo-request)))
37
+ "Returns md5sum for a message object of type 'GetCameraInfo-request"
38
+ "aacf7dfed1a501be45f34981291a5579")
39
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<GetCameraInfo-request>)))
40
+ "Returns full string definition for message of type '<GetCameraInfo-request>"
41
+ (cl:format cl:nil "~%~%"))
42
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'GetCameraInfo-request)))
43
+ "Returns full string definition for message of type 'GetCameraInfo-request"
44
+ (cl:format cl:nil "~%~%"))
45
+ (cl:defmethod roslisp-msg-protocol:serialization-length ((msg <GetCameraInfo-request>))
46
+ (cl:+ 0
47
+ ))
48
+ (cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <GetCameraInfo-request>))
49
+ "Converts a ROS message object to a list"
50
+ (cl:list 'GetCameraInfo-request
51
+ ))
52
+ ;//! \htmlinclude GetCameraInfo-response.msg.html
53
+
54
+ (cl:defclass <GetCameraInfo-response> (roslisp-msg-protocol:ros-message)
55
+ ((info
56
+ :reader info
57
+ :initarg :info
58
+ :type sensor_msgs-msg:CameraInfo
59
+ :initform (cl:make-instance 'sensor_msgs-msg:CameraInfo))
60
+ (success
61
+ :reader success
62
+ :initarg :success
63
+ :type cl:boolean
64
+ :initform cl:nil)
65
+ (message
66
+ :reader message
67
+ :initarg :message
68
+ :type cl:string
69
+ :initform ""))
70
+ )
71
+
72
+ (cl:defclass GetCameraInfo-response (<GetCameraInfo-response>)
73
+ ())
74
+
75
+ (cl:defmethod cl:initialize-instance :after ((m <GetCameraInfo-response>) cl:&rest args)
76
+ (cl:declare (cl:ignorable args))
77
+ (cl:unless (cl:typep m 'GetCameraInfo-response)
78
+ (roslisp-msg-protocol:msg-deprecation-warning "using old message class name astra_camera-srv:<GetCameraInfo-response> is deprecated: use astra_camera-srv:GetCameraInfo-response instead.")))
79
+
80
+ (cl:ensure-generic-function 'info-val :lambda-list '(m))
81
+ (cl:defmethod info-val ((m <GetCameraInfo-response>))
82
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:info-val is deprecated. Use astra_camera-srv:info instead.")
83
+ (info m))
84
+
85
+ (cl:ensure-generic-function 'success-val :lambda-list '(m))
86
+ (cl:defmethod success-val ((m <GetCameraInfo-response>))
87
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:success-val is deprecated. Use astra_camera-srv:success instead.")
88
+ (success m))
89
+
90
+ (cl:ensure-generic-function 'message-val :lambda-list '(m))
91
+ (cl:defmethod message-val ((m <GetCameraInfo-response>))
92
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:message-val is deprecated. Use astra_camera-srv:message instead.")
93
+ (message m))
94
+ (cl:defmethod roslisp-msg-protocol:serialize ((msg <GetCameraInfo-response>) ostream)
95
+ "Serializes a message object of type '<GetCameraInfo-response>"
96
+ (roslisp-msg-protocol:serialize (cl:slot-value msg 'info) ostream)
97
+ (cl:write-byte (cl:ldb (cl:byte 8 0) (cl:if (cl:slot-value msg 'success) 1 0)) ostream)
98
+ (cl:let ((__ros_str_len (cl:length (cl:slot-value msg 'message))))
99
+ (cl:write-byte (cl:ldb (cl:byte 8 0) __ros_str_len) ostream)
100
+ (cl:write-byte (cl:ldb (cl:byte 8 8) __ros_str_len) ostream)
101
+ (cl:write-byte (cl:ldb (cl:byte 8 16) __ros_str_len) ostream)
102
+ (cl:write-byte (cl:ldb (cl:byte 8 24) __ros_str_len) ostream))
103
+ (cl:map cl:nil #'(cl:lambda (c) (cl:write-byte (cl:char-code c) ostream)) (cl:slot-value msg 'message))
104
+ )
105
+ (cl:defmethod roslisp-msg-protocol:deserialize ((msg <GetCameraInfo-response>) istream)
106
+ "Deserializes a message object of type '<GetCameraInfo-response>"
107
+ (roslisp-msg-protocol:deserialize (cl:slot-value msg 'info) istream)
108
+ (cl:setf (cl:slot-value msg 'success) (cl:not (cl:zerop (cl:read-byte istream))))
109
+ (cl:let ((__ros_str_len 0))
110
+ (cl:setf (cl:ldb (cl:byte 8 0) __ros_str_len) (cl:read-byte istream))
111
+ (cl:setf (cl:ldb (cl:byte 8 8) __ros_str_len) (cl:read-byte istream))
112
+ (cl:setf (cl:ldb (cl:byte 8 16) __ros_str_len) (cl:read-byte istream))
113
+ (cl:setf (cl:ldb (cl:byte 8 24) __ros_str_len) (cl:read-byte istream))
114
+ (cl:setf (cl:slot-value msg 'message) (cl:make-string __ros_str_len))
115
+ (cl:dotimes (__ros_str_idx __ros_str_len msg)
116
+ (cl:setf (cl:char (cl:slot-value msg 'message) __ros_str_idx) (cl:code-char (cl:read-byte istream)))))
117
+ msg
118
+ )
119
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<GetCameraInfo-response>)))
120
+ "Returns string type for a service object of type '<GetCameraInfo-response>"
121
+ "astra_camera/GetCameraInfoResponse")
122
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'GetCameraInfo-response)))
123
+ "Returns string type for a service object of type 'GetCameraInfo-response"
124
+ "astra_camera/GetCameraInfoResponse")
125
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<GetCameraInfo-response>)))
126
+ "Returns md5sum for a message object of type '<GetCameraInfo-response>"
127
+ "aacf7dfed1a501be45f34981291a5579")
128
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'GetCameraInfo-response)))
129
+ "Returns md5sum for a message object of type 'GetCameraInfo-response"
130
+ "aacf7dfed1a501be45f34981291a5579")
131
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<GetCameraInfo-response>)))
132
+ "Returns full string definition for message of type '<GetCameraInfo-response>"
133
+ (cl:format cl:nil "sensor_msgs/CameraInfo info~%bool success~%string message~%~%~%================================================================================~%MSG: sensor_msgs/CameraInfo~%# This message defines meta information for a camera. It should be in a~%# camera namespace on topic \"camera_info\" and accompanied by up to five~%# image topics named:~%#~%# image_raw - raw data from the camera driver, possibly Bayer encoded~%# image - monochrome, distorted~%# image_color - color, distorted~%# image_rect - monochrome, rectified~%# image_rect_color - color, rectified~%#~%# The image_pipeline contains packages (image_proc, stereo_image_proc)~%# for producing the four processed image topics from image_raw and~%# camera_info. The meaning of the camera parameters are described in~%# detail at http://www.ros.org/wiki/image_pipeline/CameraInfo.~%#~%# The image_geometry package provides a user-friendly interface to~%# common operations using this meta information. If you want to, e.g.,~%# project a 3d point into image coordinates, we strongly recommend~%# using image_geometry.~%#~%# If the camera is uncalibrated, the matrices D, K, R, P should be left~%# zeroed out. In particular, clients may assume that K[0] == 0.0~%# indicates an uncalibrated camera.~%~%#######################################################################~%# Image acquisition info #~%#######################################################################~%~%# Time of image acquisition, camera coordinate frame ID~%Header header # Header timestamp should be acquisition time of image~% # Header frame_id should be optical frame of camera~% # origin of frame should be optical center of camera~% # +x should point to the right in the image~% # +y should point down in the image~% # +z should point into the plane of the image~%~%~%#######################################################################~%# Calibration Parameters #~%#######################################################################~%# These are fixed during camera calibration. Their values will be the #~%# same in all messages until the camera is recalibrated. Note that #~%# self-calibrating systems may \"recalibrate\" frequently. #~%# #~%# The internal parameters can be used to warp a raw (distorted) image #~%# to: #~%# 1. An undistorted image (requires D and K) #~%# 2. A rectified image (requires D, K, R) #~%# The projection matrix P projects 3D points into the rectified image.#~%#######################################################################~%~%# The image dimensions with which the camera was calibrated. Normally~%# this will be the full camera resolution in pixels.~%uint32 height~%uint32 width~%~%# The distortion model used. Supported models are listed in~%# sensor_msgs/distortion_models.h. For most cameras, \"plumb_bob\" - a~%# simple model of radial and tangential distortion - is sufficient.~%string distortion_model~%~%# The distortion parameters, size depending on the distortion model.~%# For \"plumb_bob\", the 5 parameters are: (k1, k2, t1, t2, k3).~%float64[] D~%~%# Intrinsic camera matrix for the raw (distorted) images.~%# [fx 0 cx]~%# K = [ 0 fy cy]~%# [ 0 0 1]~%# Projects 3D points in the camera coordinate frame to 2D pixel~%# coordinates using the focal lengths (fx, fy) and principal point~%# (cx, cy).~%float64[9] K # 3x3 row-major matrix~%~%# Rectification matrix (stereo cameras only)~%# A rotation matrix aligning the camera coordinate system to the ideal~%# stereo image plane so that epipolar lines in both stereo images are~%# parallel.~%float64[9] R # 3x3 row-major matrix~%~%# Projection/camera matrix~%# [fx' 0 cx' Tx]~%# P = [ 0 fy' cy' Ty]~%# [ 0 0 1 0]~%# By convention, this matrix specifies the intrinsic (camera) matrix~%# of the processed (rectified) image. That is, the left 3x3 portion~%# is the normal camera intrinsic matrix for the rectified image.~%# It projects 3D points in the camera coordinate frame to 2D pixel~%# coordinates using the focal lengths (fx', fy') and principal point~%# (cx', cy') - these may differ from the values in K.~%# For monocular cameras, Tx = Ty = 0. Normally, monocular cameras will~%# also have R = the identity and P[1:3,1:3] = K.~%# For a stereo pair, the fourth column [Tx Ty 0]' is related to the~%# position of the optical center of the second camera in the first~%# camera's frame. We assume Tz = 0 so both cameras are in the same~%# stereo image plane. The first camera always has Tx = Ty = 0. For~%# the right (second) camera of a horizontal stereo pair, Ty = 0 and~%# Tx = -fx' * B, where B is the baseline between the cameras.~%# Given a 3D point [X Y Z]', the projection (x, y) of the point onto~%# the rectified image is given by:~%# [u v w]' = P * [X Y Z 1]'~%# x = u / w~%# y = v / w~%# This holds for both images of a stereo pair.~%float64[12] P # 3x4 row-major matrix~%~%~%#######################################################################~%# Operational Parameters #~%#######################################################################~%# These define the image region actually captured by the camera #~%# driver. Although they affect the geometry of the output image, they #~%# may be changed freely without recalibrating the camera. #~%#######################################################################~%~%# Binning refers here to any camera setting which combines rectangular~%# neighborhoods of pixels into larger \"super-pixels.\" It reduces the~%# resolution of the output image to~%# (width / binning_x) x (height / binning_y).~%# The default values binning_x = binning_y = 0 is considered the same~%# as binning_x = binning_y = 1 (no subsampling).~%uint32 binning_x~%uint32 binning_y~%~%# Region of interest (subwindow of full camera resolution), given in~%# full resolution (unbinned) image coordinates. A particular ROI~%# always denotes the same window of pixels on the camera sensor,~%# regardless of binning settings.~%# The default setting of roi (all values 0) is considered the same as~%# full resolution (roi.width = width, roi.height = height).~%RegionOfInterest roi~%~%================================================================================~%MSG: std_msgs/Header~%# Standard metadata for higher-level stamped data types.~%# This is generally used to communicate timestamped data ~%# in a particular coordinate frame.~%# ~%# sequence ID: consecutively increasing ID ~%uint32 seq~%#Two-integer timestamp that is expressed as:~%# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')~%# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')~%# time-handling sugar is provided by the client library~%time stamp~%#Frame this data is associated with~%string frame_id~%~%================================================================================~%MSG: sensor_msgs/RegionOfInterest~%# This message is used to specify a region of interest within an image.~%#~%# When used to specify the ROI setting of the camera when the image was~%# taken, the height and width fields should either match the height and~%# width fields for the associated image; or height = width = 0~%# indicates that the full resolution image was captured.~%~%uint32 x_offset # Leftmost pixel of the ROI~% # (0 if the ROI includes the left edge of the image)~%uint32 y_offset # Topmost pixel of the ROI~% # (0 if the ROI includes the top edge of the image)~%uint32 height # Height of ROI~%uint32 width # Width of ROI~%~%# True if a distinct rectified ROI should be calculated from the \"raw\"~%# ROI in this message. Typically this should be False if the full image~%# is captured (ROI not used), and True if a subwindow is captured (ROI~%# used).~%bool do_rectify~%~%~%"))
134
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'GetCameraInfo-response)))
135
+ "Returns full string definition for message of type 'GetCameraInfo-response"
136
+ (cl:format cl:nil "sensor_msgs/CameraInfo info~%bool success~%string message~%~%~%================================================================================~%MSG: sensor_msgs/CameraInfo~%# This message defines meta information for a camera. It should be in a~%# camera namespace on topic \"camera_info\" and accompanied by up to five~%# image topics named:~%#~%# image_raw - raw data from the camera driver, possibly Bayer encoded~%# image - monochrome, distorted~%# image_color - color, distorted~%# image_rect - monochrome, rectified~%# image_rect_color - color, rectified~%#~%# The image_pipeline contains packages (image_proc, stereo_image_proc)~%# for producing the four processed image topics from image_raw and~%# camera_info. The meaning of the camera parameters are described in~%# detail at http://www.ros.org/wiki/image_pipeline/CameraInfo.~%#~%# The image_geometry package provides a user-friendly interface to~%# common operations using this meta information. If you want to, e.g.,~%# project a 3d point into image coordinates, we strongly recommend~%# using image_geometry.~%#~%# If the camera is uncalibrated, the matrices D, K, R, P should be left~%# zeroed out. In particular, clients may assume that K[0] == 0.0~%# indicates an uncalibrated camera.~%~%#######################################################################~%# Image acquisition info #~%#######################################################################~%~%# Time of image acquisition, camera coordinate frame ID~%Header header # Header timestamp should be acquisition time of image~% # Header frame_id should be optical frame of camera~% # origin of frame should be optical center of camera~% # +x should point to the right in the image~% # +y should point down in the image~% # +z should point into the plane of the image~%~%~%#######################################################################~%# Calibration Parameters #~%#######################################################################~%# These are fixed during camera calibration. Their values will be the #~%# same in all messages until the camera is recalibrated. Note that #~%# self-calibrating systems may \"recalibrate\" frequently. #~%# #~%# The internal parameters can be used to warp a raw (distorted) image #~%# to: #~%# 1. An undistorted image (requires D and K) #~%# 2. A rectified image (requires D, K, R) #~%# The projection matrix P projects 3D points into the rectified image.#~%#######################################################################~%~%# The image dimensions with which the camera was calibrated. Normally~%# this will be the full camera resolution in pixels.~%uint32 height~%uint32 width~%~%# The distortion model used. Supported models are listed in~%# sensor_msgs/distortion_models.h. For most cameras, \"plumb_bob\" - a~%# simple model of radial and tangential distortion - is sufficient.~%string distortion_model~%~%# The distortion parameters, size depending on the distortion model.~%# For \"plumb_bob\", the 5 parameters are: (k1, k2, t1, t2, k3).~%float64[] D~%~%# Intrinsic camera matrix for the raw (distorted) images.~%# [fx 0 cx]~%# K = [ 0 fy cy]~%# [ 0 0 1]~%# Projects 3D points in the camera coordinate frame to 2D pixel~%# coordinates using the focal lengths (fx, fy) and principal point~%# (cx, cy).~%float64[9] K # 3x3 row-major matrix~%~%# Rectification matrix (stereo cameras only)~%# A rotation matrix aligning the camera coordinate system to the ideal~%# stereo image plane so that epipolar lines in both stereo images are~%# parallel.~%float64[9] R # 3x3 row-major matrix~%~%# Projection/camera matrix~%# [fx' 0 cx' Tx]~%# P = [ 0 fy' cy' Ty]~%# [ 0 0 1 0]~%# By convention, this matrix specifies the intrinsic (camera) matrix~%# of the processed (rectified) image. That is, the left 3x3 portion~%# is the normal camera intrinsic matrix for the rectified image.~%# It projects 3D points in the camera coordinate frame to 2D pixel~%# coordinates using the focal lengths (fx', fy') and principal point~%# (cx', cy') - these may differ from the values in K.~%# For monocular cameras, Tx = Ty = 0. Normally, monocular cameras will~%# also have R = the identity and P[1:3,1:3] = K.~%# For a stereo pair, the fourth column [Tx Ty 0]' is related to the~%# position of the optical center of the second camera in the first~%# camera's frame. We assume Tz = 0 so both cameras are in the same~%# stereo image plane. The first camera always has Tx = Ty = 0. For~%# the right (second) camera of a horizontal stereo pair, Ty = 0 and~%# Tx = -fx' * B, where B is the baseline between the cameras.~%# Given a 3D point [X Y Z]', the projection (x, y) of the point onto~%# the rectified image is given by:~%# [u v w]' = P * [X Y Z 1]'~%# x = u / w~%# y = v / w~%# This holds for both images of a stereo pair.~%float64[12] P # 3x4 row-major matrix~%~%~%#######################################################################~%# Operational Parameters #~%#######################################################################~%# These define the image region actually captured by the camera #~%# driver. Although they affect the geometry of the output image, they #~%# may be changed freely without recalibrating the camera. #~%#######################################################################~%~%# Binning refers here to any camera setting which combines rectangular~%# neighborhoods of pixels into larger \"super-pixels.\" It reduces the~%# resolution of the output image to~%# (width / binning_x) x (height / binning_y).~%# The default values binning_x = binning_y = 0 is considered the same~%# as binning_x = binning_y = 1 (no subsampling).~%uint32 binning_x~%uint32 binning_y~%~%# Region of interest (subwindow of full camera resolution), given in~%# full resolution (unbinned) image coordinates. A particular ROI~%# always denotes the same window of pixels on the camera sensor,~%# regardless of binning settings.~%# The default setting of roi (all values 0) is considered the same as~%# full resolution (roi.width = width, roi.height = height).~%RegionOfInterest roi~%~%================================================================================~%MSG: std_msgs/Header~%# Standard metadata for higher-level stamped data types.~%# This is generally used to communicate timestamped data ~%# in a particular coordinate frame.~%# ~%# sequence ID: consecutively increasing ID ~%uint32 seq~%#Two-integer timestamp that is expressed as:~%# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')~%# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')~%# time-handling sugar is provided by the client library~%time stamp~%#Frame this data is associated with~%string frame_id~%~%================================================================================~%MSG: sensor_msgs/RegionOfInterest~%# This message is used to specify a region of interest within an image.~%#~%# When used to specify the ROI setting of the camera when the image was~%# taken, the height and width fields should either match the height and~%# width fields for the associated image; or height = width = 0~%# indicates that the full resolution image was captured.~%~%uint32 x_offset # Leftmost pixel of the ROI~% # (0 if the ROI includes the left edge of the image)~%uint32 y_offset # Topmost pixel of the ROI~% # (0 if the ROI includes the top edge of the image)~%uint32 height # Height of ROI~%uint32 width # Width of ROI~%~%# True if a distinct rectified ROI should be calculated from the \"raw\"~%# ROI in this message. Typically this should be False if the full image~%# is captured (ROI not used), and True if a subwindow is captured (ROI~%# used).~%bool do_rectify~%~%~%"))
137
+ (cl:defmethod roslisp-msg-protocol:serialization-length ((msg <GetCameraInfo-response>))
138
+ (cl:+ 0
139
+ (roslisp-msg-protocol:serialization-length (cl:slot-value msg 'info))
140
+ 1
141
+ 4 (cl:length (cl:slot-value msg 'message))
142
+ ))
143
+ (cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <GetCameraInfo-response>))
144
+ "Converts a ROS message object to a list"
145
+ (cl:list 'GetCameraInfo-response
146
+ (cl:cons ':info (info msg))
147
+ (cl:cons ':success (success msg))
148
+ (cl:cons ':message (message msg))
149
+ ))
150
+ (cl:defmethod roslisp-msg-protocol:service-request-type ((msg (cl:eql 'GetCameraInfo)))
151
+ 'GetCameraInfo-request)
152
+ (cl:defmethod roslisp-msg-protocol:service-response-type ((msg (cl:eql 'GetCameraInfo)))
153
+ 'GetCameraInfo-response)
154
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'GetCameraInfo)))
155
+ "Returns string type for a service object of type '<GetCameraInfo>"
156
+ "astra_camera/GetCameraInfo")
camera_ws/devel/share/common-lisp/ros/astra_camera/srv/GetCameraParams.lisp ADDED
@@ -0,0 +1,304 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ; Auto-generated. Do not edit!
2
+
3
+
4
+ (cl:in-package astra_camera-srv)
5
+
6
+
7
+ ;//! \htmlinclude GetCameraParams-request.msg.html
8
+
9
+ (cl:defclass <GetCameraParams-request> (roslisp-msg-protocol:ros-message)
10
+ ()
11
+ )
12
+
13
+ (cl:defclass GetCameraParams-request (<GetCameraParams-request>)
14
+ ())
15
+
16
+ (cl:defmethod cl:initialize-instance :after ((m <GetCameraParams-request>) cl:&rest args)
17
+ (cl:declare (cl:ignorable args))
18
+ (cl:unless (cl:typep m 'GetCameraParams-request)
19
+ (roslisp-msg-protocol:msg-deprecation-warning "using old message class name astra_camera-srv:<GetCameraParams-request> is deprecated: use astra_camera-srv:GetCameraParams-request instead.")))
20
+ (cl:defmethod roslisp-msg-protocol:serialize ((msg <GetCameraParams-request>) ostream)
21
+ "Serializes a message object of type '<GetCameraParams-request>"
22
+ )
23
+ (cl:defmethod roslisp-msg-protocol:deserialize ((msg <GetCameraParams-request>) istream)
24
+ "Deserializes a message object of type '<GetCameraParams-request>"
25
+ msg
26
+ )
27
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<GetCameraParams-request>)))
28
+ "Returns string type for a service object of type '<GetCameraParams-request>"
29
+ "astra_camera/GetCameraParamsRequest")
30
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'GetCameraParams-request)))
31
+ "Returns string type for a service object of type 'GetCameraParams-request"
32
+ "astra_camera/GetCameraParamsRequest")
33
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<GetCameraParams-request>)))
34
+ "Returns md5sum for a message object of type '<GetCameraParams-request>"
35
+ "82a0d82977d6826869eb4772054042e0")
36
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'GetCameraParams-request)))
37
+ "Returns md5sum for a message object of type 'GetCameraParams-request"
38
+ "82a0d82977d6826869eb4772054042e0")
39
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<GetCameraParams-request>)))
40
+ "Returns full string definition for message of type '<GetCameraParams-request>"
41
+ (cl:format cl:nil "~%~%"))
42
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'GetCameraParams-request)))
43
+ "Returns full string definition for message of type 'GetCameraParams-request"
44
+ (cl:format cl:nil "~%~%"))
45
+ (cl:defmethod roslisp-msg-protocol:serialization-length ((msg <GetCameraParams-request>))
46
+ (cl:+ 0
47
+ ))
48
+ (cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <GetCameraParams-request>))
49
+ "Converts a ROS message object to a list"
50
+ (cl:list 'GetCameraParams-request
51
+ ))
52
+ ;//! \htmlinclude GetCameraParams-response.msg.html
53
+
54
+ (cl:defclass <GetCameraParams-response> (roslisp-msg-protocol:ros-message)
55
+ ((l_intr_p
56
+ :reader l_intr_p
57
+ :initarg :l_intr_p
58
+ :type (cl:vector cl:float)
59
+ :initform (cl:make-array 4 :element-type 'cl:float :initial-element 0.0))
60
+ (r_intr_p
61
+ :reader r_intr_p
62
+ :initarg :r_intr_p
63
+ :type (cl:vector cl:float)
64
+ :initform (cl:make-array 4 :element-type 'cl:float :initial-element 0.0))
65
+ (r2l_r
66
+ :reader r2l_r
67
+ :initarg :r2l_r
68
+ :type (cl:vector cl:float)
69
+ :initform (cl:make-array 9 :element-type 'cl:float :initial-element 0.0))
70
+ (r2l_t
71
+ :reader r2l_t
72
+ :initarg :r2l_t
73
+ :type (cl:vector cl:float)
74
+ :initform (cl:make-array 3 :element-type 'cl:float :initial-element 0.0))
75
+ (l_k
76
+ :reader l_k
77
+ :initarg :l_k
78
+ :type (cl:vector cl:float)
79
+ :initform (cl:make-array 5 :element-type 'cl:float :initial-element 0.0))
80
+ (r_k
81
+ :reader r_k
82
+ :initarg :r_k
83
+ :type (cl:vector cl:float)
84
+ :initform (cl:make-array 5 :element-type 'cl:float :initial-element 0.0))
85
+ (success
86
+ :reader success
87
+ :initarg :success
88
+ :type cl:boolean
89
+ :initform cl:nil)
90
+ (message
91
+ :reader message
92
+ :initarg :message
93
+ :type cl:string
94
+ :initform ""))
95
+ )
96
+
97
+ (cl:defclass GetCameraParams-response (<GetCameraParams-response>)
98
+ ())
99
+
100
+ (cl:defmethod cl:initialize-instance :after ((m <GetCameraParams-response>) cl:&rest args)
101
+ (cl:declare (cl:ignorable args))
102
+ (cl:unless (cl:typep m 'GetCameraParams-response)
103
+ (roslisp-msg-protocol:msg-deprecation-warning "using old message class name astra_camera-srv:<GetCameraParams-response> is deprecated: use astra_camera-srv:GetCameraParams-response instead.")))
104
+
105
+ (cl:ensure-generic-function 'l_intr_p-val :lambda-list '(m))
106
+ (cl:defmethod l_intr_p-val ((m <GetCameraParams-response>))
107
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:l_intr_p-val is deprecated. Use astra_camera-srv:l_intr_p instead.")
108
+ (l_intr_p m))
109
+
110
+ (cl:ensure-generic-function 'r_intr_p-val :lambda-list '(m))
111
+ (cl:defmethod r_intr_p-val ((m <GetCameraParams-response>))
112
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:r_intr_p-val is deprecated. Use astra_camera-srv:r_intr_p instead.")
113
+ (r_intr_p m))
114
+
115
+ (cl:ensure-generic-function 'r2l_r-val :lambda-list '(m))
116
+ (cl:defmethod r2l_r-val ((m <GetCameraParams-response>))
117
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:r2l_r-val is deprecated. Use astra_camera-srv:r2l_r instead.")
118
+ (r2l_r m))
119
+
120
+ (cl:ensure-generic-function 'r2l_t-val :lambda-list '(m))
121
+ (cl:defmethod r2l_t-val ((m <GetCameraParams-response>))
122
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:r2l_t-val is deprecated. Use astra_camera-srv:r2l_t instead.")
123
+ (r2l_t m))
124
+
125
+ (cl:ensure-generic-function 'l_k-val :lambda-list '(m))
126
+ (cl:defmethod l_k-val ((m <GetCameraParams-response>))
127
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:l_k-val is deprecated. Use astra_camera-srv:l_k instead.")
128
+ (l_k m))
129
+
130
+ (cl:ensure-generic-function 'r_k-val :lambda-list '(m))
131
+ (cl:defmethod r_k-val ((m <GetCameraParams-response>))
132
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:r_k-val is deprecated. Use astra_camera-srv:r_k instead.")
133
+ (r_k m))
134
+
135
+ (cl:ensure-generic-function 'success-val :lambda-list '(m))
136
+ (cl:defmethod success-val ((m <GetCameraParams-response>))
137
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:success-val is deprecated. Use astra_camera-srv:success instead.")
138
+ (success m))
139
+
140
+ (cl:ensure-generic-function 'message-val :lambda-list '(m))
141
+ (cl:defmethod message-val ((m <GetCameraParams-response>))
142
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:message-val is deprecated. Use astra_camera-srv:message instead.")
143
+ (message m))
144
+ (cl:defmethod roslisp-msg-protocol:serialize ((msg <GetCameraParams-response>) ostream)
145
+ "Serializes a message object of type '<GetCameraParams-response>"
146
+ (cl:map cl:nil #'(cl:lambda (ele) (cl:let ((bits (roslisp-utils:encode-single-float-bits ele)))
147
+ (cl:write-byte (cl:ldb (cl:byte 8 0) bits) ostream)
148
+ (cl:write-byte (cl:ldb (cl:byte 8 8) bits) ostream)
149
+ (cl:write-byte (cl:ldb (cl:byte 8 16) bits) ostream)
150
+ (cl:write-byte (cl:ldb (cl:byte 8 24) bits) ostream)))
151
+ (cl:slot-value msg 'l_intr_p))
152
+ (cl:map cl:nil #'(cl:lambda (ele) (cl:let ((bits (roslisp-utils:encode-single-float-bits ele)))
153
+ (cl:write-byte (cl:ldb (cl:byte 8 0) bits) ostream)
154
+ (cl:write-byte (cl:ldb (cl:byte 8 8) bits) ostream)
155
+ (cl:write-byte (cl:ldb (cl:byte 8 16) bits) ostream)
156
+ (cl:write-byte (cl:ldb (cl:byte 8 24) bits) ostream)))
157
+ (cl:slot-value msg 'r_intr_p))
158
+ (cl:map cl:nil #'(cl:lambda (ele) (cl:let ((bits (roslisp-utils:encode-single-float-bits ele)))
159
+ (cl:write-byte (cl:ldb (cl:byte 8 0) bits) ostream)
160
+ (cl:write-byte (cl:ldb (cl:byte 8 8) bits) ostream)
161
+ (cl:write-byte (cl:ldb (cl:byte 8 16) bits) ostream)
162
+ (cl:write-byte (cl:ldb (cl:byte 8 24) bits) ostream)))
163
+ (cl:slot-value msg 'r2l_r))
164
+ (cl:map cl:nil #'(cl:lambda (ele) (cl:let ((bits (roslisp-utils:encode-single-float-bits ele)))
165
+ (cl:write-byte (cl:ldb (cl:byte 8 0) bits) ostream)
166
+ (cl:write-byte (cl:ldb (cl:byte 8 8) bits) ostream)
167
+ (cl:write-byte (cl:ldb (cl:byte 8 16) bits) ostream)
168
+ (cl:write-byte (cl:ldb (cl:byte 8 24) bits) ostream)))
169
+ (cl:slot-value msg 'r2l_t))
170
+ (cl:map cl:nil #'(cl:lambda (ele) (cl:let ((bits (roslisp-utils:encode-single-float-bits ele)))
171
+ (cl:write-byte (cl:ldb (cl:byte 8 0) bits) ostream)
172
+ (cl:write-byte (cl:ldb (cl:byte 8 8) bits) ostream)
173
+ (cl:write-byte (cl:ldb (cl:byte 8 16) bits) ostream)
174
+ (cl:write-byte (cl:ldb (cl:byte 8 24) bits) ostream)))
175
+ (cl:slot-value msg 'l_k))
176
+ (cl:map cl:nil #'(cl:lambda (ele) (cl:let ((bits (roslisp-utils:encode-single-float-bits ele)))
177
+ (cl:write-byte (cl:ldb (cl:byte 8 0) bits) ostream)
178
+ (cl:write-byte (cl:ldb (cl:byte 8 8) bits) ostream)
179
+ (cl:write-byte (cl:ldb (cl:byte 8 16) bits) ostream)
180
+ (cl:write-byte (cl:ldb (cl:byte 8 24) bits) ostream)))
181
+ (cl:slot-value msg 'r_k))
182
+ (cl:write-byte (cl:ldb (cl:byte 8 0) (cl:if (cl:slot-value msg 'success) 1 0)) ostream)
183
+ (cl:let ((__ros_str_len (cl:length (cl:slot-value msg 'message))))
184
+ (cl:write-byte (cl:ldb (cl:byte 8 0) __ros_str_len) ostream)
185
+ (cl:write-byte (cl:ldb (cl:byte 8 8) __ros_str_len) ostream)
186
+ (cl:write-byte (cl:ldb (cl:byte 8 16) __ros_str_len) ostream)
187
+ (cl:write-byte (cl:ldb (cl:byte 8 24) __ros_str_len) ostream))
188
+ (cl:map cl:nil #'(cl:lambda (c) (cl:write-byte (cl:char-code c) ostream)) (cl:slot-value msg 'message))
189
+ )
190
+ (cl:defmethod roslisp-msg-protocol:deserialize ((msg <GetCameraParams-response>) istream)
191
+ "Deserializes a message object of type '<GetCameraParams-response>"
192
+ (cl:setf (cl:slot-value msg 'l_intr_p) (cl:make-array 4))
193
+ (cl:let ((vals (cl:slot-value msg 'l_intr_p)))
194
+ (cl:dotimes (i 4)
195
+ (cl:let ((bits 0))
196
+ (cl:setf (cl:ldb (cl:byte 8 0) bits) (cl:read-byte istream))
197
+ (cl:setf (cl:ldb (cl:byte 8 8) bits) (cl:read-byte istream))
198
+ (cl:setf (cl:ldb (cl:byte 8 16) bits) (cl:read-byte istream))
199
+ (cl:setf (cl:ldb (cl:byte 8 24) bits) (cl:read-byte istream))
200
+ (cl:setf (cl:aref vals i) (roslisp-utils:decode-single-float-bits bits)))))
201
+ (cl:setf (cl:slot-value msg 'r_intr_p) (cl:make-array 4))
202
+ (cl:let ((vals (cl:slot-value msg 'r_intr_p)))
203
+ (cl:dotimes (i 4)
204
+ (cl:let ((bits 0))
205
+ (cl:setf (cl:ldb (cl:byte 8 0) bits) (cl:read-byte istream))
206
+ (cl:setf (cl:ldb (cl:byte 8 8) bits) (cl:read-byte istream))
207
+ (cl:setf (cl:ldb (cl:byte 8 16) bits) (cl:read-byte istream))
208
+ (cl:setf (cl:ldb (cl:byte 8 24) bits) (cl:read-byte istream))
209
+ (cl:setf (cl:aref vals i) (roslisp-utils:decode-single-float-bits bits)))))
210
+ (cl:setf (cl:slot-value msg 'r2l_r) (cl:make-array 9))
211
+ (cl:let ((vals (cl:slot-value msg 'r2l_r)))
212
+ (cl:dotimes (i 9)
213
+ (cl:let ((bits 0))
214
+ (cl:setf (cl:ldb (cl:byte 8 0) bits) (cl:read-byte istream))
215
+ (cl:setf (cl:ldb (cl:byte 8 8) bits) (cl:read-byte istream))
216
+ (cl:setf (cl:ldb (cl:byte 8 16) bits) (cl:read-byte istream))
217
+ (cl:setf (cl:ldb (cl:byte 8 24) bits) (cl:read-byte istream))
218
+ (cl:setf (cl:aref vals i) (roslisp-utils:decode-single-float-bits bits)))))
219
+ (cl:setf (cl:slot-value msg 'r2l_t) (cl:make-array 3))
220
+ (cl:let ((vals (cl:slot-value msg 'r2l_t)))
221
+ (cl:dotimes (i 3)
222
+ (cl:let ((bits 0))
223
+ (cl:setf (cl:ldb (cl:byte 8 0) bits) (cl:read-byte istream))
224
+ (cl:setf (cl:ldb (cl:byte 8 8) bits) (cl:read-byte istream))
225
+ (cl:setf (cl:ldb (cl:byte 8 16) bits) (cl:read-byte istream))
226
+ (cl:setf (cl:ldb (cl:byte 8 24) bits) (cl:read-byte istream))
227
+ (cl:setf (cl:aref vals i) (roslisp-utils:decode-single-float-bits bits)))))
228
+ (cl:setf (cl:slot-value msg 'l_k) (cl:make-array 5))
229
+ (cl:let ((vals (cl:slot-value msg 'l_k)))
230
+ (cl:dotimes (i 5)
231
+ (cl:let ((bits 0))
232
+ (cl:setf (cl:ldb (cl:byte 8 0) bits) (cl:read-byte istream))
233
+ (cl:setf (cl:ldb (cl:byte 8 8) bits) (cl:read-byte istream))
234
+ (cl:setf (cl:ldb (cl:byte 8 16) bits) (cl:read-byte istream))
235
+ (cl:setf (cl:ldb (cl:byte 8 24) bits) (cl:read-byte istream))
236
+ (cl:setf (cl:aref vals i) (roslisp-utils:decode-single-float-bits bits)))))
237
+ (cl:setf (cl:slot-value msg 'r_k) (cl:make-array 5))
238
+ (cl:let ((vals (cl:slot-value msg 'r_k)))
239
+ (cl:dotimes (i 5)
240
+ (cl:let ((bits 0))
241
+ (cl:setf (cl:ldb (cl:byte 8 0) bits) (cl:read-byte istream))
242
+ (cl:setf (cl:ldb (cl:byte 8 8) bits) (cl:read-byte istream))
243
+ (cl:setf (cl:ldb (cl:byte 8 16) bits) (cl:read-byte istream))
244
+ (cl:setf (cl:ldb (cl:byte 8 24) bits) (cl:read-byte istream))
245
+ (cl:setf (cl:aref vals i) (roslisp-utils:decode-single-float-bits bits)))))
246
+ (cl:setf (cl:slot-value msg 'success) (cl:not (cl:zerop (cl:read-byte istream))))
247
+ (cl:let ((__ros_str_len 0))
248
+ (cl:setf (cl:ldb (cl:byte 8 0) __ros_str_len) (cl:read-byte istream))
249
+ (cl:setf (cl:ldb (cl:byte 8 8) __ros_str_len) (cl:read-byte istream))
250
+ (cl:setf (cl:ldb (cl:byte 8 16) __ros_str_len) (cl:read-byte istream))
251
+ (cl:setf (cl:ldb (cl:byte 8 24) __ros_str_len) (cl:read-byte istream))
252
+ (cl:setf (cl:slot-value msg 'message) (cl:make-string __ros_str_len))
253
+ (cl:dotimes (__ros_str_idx __ros_str_len msg)
254
+ (cl:setf (cl:char (cl:slot-value msg 'message) __ros_str_idx) (cl:code-char (cl:read-byte istream)))))
255
+ msg
256
+ )
257
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<GetCameraParams-response>)))
258
+ "Returns string type for a service object of type '<GetCameraParams-response>"
259
+ "astra_camera/GetCameraParamsResponse")
260
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'GetCameraParams-response)))
261
+ "Returns string type for a service object of type 'GetCameraParams-response"
262
+ "astra_camera/GetCameraParamsResponse")
263
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<GetCameraParams-response>)))
264
+ "Returns md5sum for a message object of type '<GetCameraParams-response>"
265
+ "82a0d82977d6826869eb4772054042e0")
266
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'GetCameraParams-response)))
267
+ "Returns md5sum for a message object of type 'GetCameraParams-response"
268
+ "82a0d82977d6826869eb4772054042e0")
269
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<GetCameraParams-response>)))
270
+ "Returns full string definition for message of type '<GetCameraParams-response>"
271
+ (cl:format cl:nil "float32[4] l_intr_p~%float32[4] r_intr_p~%float32[9] r2l_r~%float32[3] r2l_t~%float32[5] l_k~%float32[5] r_k~%bool success~%string message~%~%~%~%"))
272
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'GetCameraParams-response)))
273
+ "Returns full string definition for message of type 'GetCameraParams-response"
274
+ (cl:format cl:nil "float32[4] l_intr_p~%float32[4] r_intr_p~%float32[9] r2l_r~%float32[3] r2l_t~%float32[5] l_k~%float32[5] r_k~%bool success~%string message~%~%~%~%"))
275
+ (cl:defmethod roslisp-msg-protocol:serialization-length ((msg <GetCameraParams-response>))
276
+ (cl:+ 0
277
+ 0 (cl:reduce #'cl:+ (cl:slot-value msg 'l_intr_p) :key #'(cl:lambda (ele) (cl:declare (cl:ignorable ele)) (cl:+ 4)))
278
+ 0 (cl:reduce #'cl:+ (cl:slot-value msg 'r_intr_p) :key #'(cl:lambda (ele) (cl:declare (cl:ignorable ele)) (cl:+ 4)))
279
+ 0 (cl:reduce #'cl:+ (cl:slot-value msg 'r2l_r) :key #'(cl:lambda (ele) (cl:declare (cl:ignorable ele)) (cl:+ 4)))
280
+ 0 (cl:reduce #'cl:+ (cl:slot-value msg 'r2l_t) :key #'(cl:lambda (ele) (cl:declare (cl:ignorable ele)) (cl:+ 4)))
281
+ 0 (cl:reduce #'cl:+ (cl:slot-value msg 'l_k) :key #'(cl:lambda (ele) (cl:declare (cl:ignorable ele)) (cl:+ 4)))
282
+ 0 (cl:reduce #'cl:+ (cl:slot-value msg 'r_k) :key #'(cl:lambda (ele) (cl:declare (cl:ignorable ele)) (cl:+ 4)))
283
+ 1
284
+ 4 (cl:length (cl:slot-value msg 'message))
285
+ ))
286
+ (cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <GetCameraParams-response>))
287
+ "Converts a ROS message object to a list"
288
+ (cl:list 'GetCameraParams-response
289
+ (cl:cons ':l_intr_p (l_intr_p msg))
290
+ (cl:cons ':r_intr_p (r_intr_p msg))
291
+ (cl:cons ':r2l_r (r2l_r msg))
292
+ (cl:cons ':r2l_t (r2l_t msg))
293
+ (cl:cons ':l_k (l_k msg))
294
+ (cl:cons ':r_k (r_k msg))
295
+ (cl:cons ':success (success msg))
296
+ (cl:cons ':message (message msg))
297
+ ))
298
+ (cl:defmethod roslisp-msg-protocol:service-request-type ((msg (cl:eql 'GetCameraParams)))
299
+ 'GetCameraParams-request)
300
+ (cl:defmethod roslisp-msg-protocol:service-response-type ((msg (cl:eql 'GetCameraParams)))
301
+ 'GetCameraParams-response)
302
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'GetCameraParams)))
303
+ "Returns string type for a service object of type '<GetCameraParams>"
304
+ "astra_camera/GetCameraParams")
camera_ws/devel/share/common-lisp/ros/astra_camera/srv/GetDeviceInfo.lisp ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ; Auto-generated. Do not edit!
2
+
3
+
4
+ (cl:in-package astra_camera-srv)
5
+
6
+
7
+ ;//! \htmlinclude GetDeviceInfo-request.msg.html
8
+
9
+ (cl:defclass <GetDeviceInfo-request> (roslisp-msg-protocol:ros-message)
10
+ ()
11
+ )
12
+
13
+ (cl:defclass GetDeviceInfo-request (<GetDeviceInfo-request>)
14
+ ())
15
+
16
+ (cl:defmethod cl:initialize-instance :after ((m <GetDeviceInfo-request>) cl:&rest args)
17
+ (cl:declare (cl:ignorable args))
18
+ (cl:unless (cl:typep m 'GetDeviceInfo-request)
19
+ (roslisp-msg-protocol:msg-deprecation-warning "using old message class name astra_camera-srv:<GetDeviceInfo-request> is deprecated: use astra_camera-srv:GetDeviceInfo-request instead.")))
20
+ (cl:defmethod roslisp-msg-protocol:serialize ((msg <GetDeviceInfo-request>) ostream)
21
+ "Serializes a message object of type '<GetDeviceInfo-request>"
22
+ )
23
+ (cl:defmethod roslisp-msg-protocol:deserialize ((msg <GetDeviceInfo-request>) istream)
24
+ "Deserializes a message object of type '<GetDeviceInfo-request>"
25
+ msg
26
+ )
27
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<GetDeviceInfo-request>)))
28
+ "Returns string type for a service object of type '<GetDeviceInfo-request>"
29
+ "astra_camera/GetDeviceInfoRequest")
30
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'GetDeviceInfo-request)))
31
+ "Returns string type for a service object of type 'GetDeviceInfo-request"
32
+ "astra_camera/GetDeviceInfoRequest")
33
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<GetDeviceInfo-request>)))
34
+ "Returns md5sum for a message object of type '<GetDeviceInfo-request>"
35
+ "1e369ba84c0330473501a0820257661a")
36
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'GetDeviceInfo-request)))
37
+ "Returns md5sum for a message object of type 'GetDeviceInfo-request"
38
+ "1e369ba84c0330473501a0820257661a")
39
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<GetDeviceInfo-request>)))
40
+ "Returns full string definition for message of type '<GetDeviceInfo-request>"
41
+ (cl:format cl:nil "~%~%"))
42
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'GetDeviceInfo-request)))
43
+ "Returns full string definition for message of type 'GetDeviceInfo-request"
44
+ (cl:format cl:nil "~%~%"))
45
+ (cl:defmethod roslisp-msg-protocol:serialization-length ((msg <GetDeviceInfo-request>))
46
+ (cl:+ 0
47
+ ))
48
+ (cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <GetDeviceInfo-request>))
49
+ "Converts a ROS message object to a list"
50
+ (cl:list 'GetDeviceInfo-request
51
+ ))
52
+ ;//! \htmlinclude GetDeviceInfo-response.msg.html
53
+
54
+ (cl:defclass <GetDeviceInfo-response> (roslisp-msg-protocol:ros-message)
55
+ ((info
56
+ :reader info
57
+ :initarg :info
58
+ :type astra_camera-msg:DeviceInfo
59
+ :initform (cl:make-instance 'astra_camera-msg:DeviceInfo))
60
+ (success
61
+ :reader success
62
+ :initarg :success
63
+ :type cl:boolean
64
+ :initform cl:nil)
65
+ (message
66
+ :reader message
67
+ :initarg :message
68
+ :type cl:string
69
+ :initform ""))
70
+ )
71
+
72
+ (cl:defclass GetDeviceInfo-response (<GetDeviceInfo-response>)
73
+ ())
74
+
75
+ (cl:defmethod cl:initialize-instance :after ((m <GetDeviceInfo-response>) cl:&rest args)
76
+ (cl:declare (cl:ignorable args))
77
+ (cl:unless (cl:typep m 'GetDeviceInfo-response)
78
+ (roslisp-msg-protocol:msg-deprecation-warning "using old message class name astra_camera-srv:<GetDeviceInfo-response> is deprecated: use astra_camera-srv:GetDeviceInfo-response instead.")))
79
+
80
+ (cl:ensure-generic-function 'info-val :lambda-list '(m))
81
+ (cl:defmethod info-val ((m <GetDeviceInfo-response>))
82
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:info-val is deprecated. Use astra_camera-srv:info instead.")
83
+ (info m))
84
+
85
+ (cl:ensure-generic-function 'success-val :lambda-list '(m))
86
+ (cl:defmethod success-val ((m <GetDeviceInfo-response>))
87
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:success-val is deprecated. Use astra_camera-srv:success instead.")
88
+ (success m))
89
+
90
+ (cl:ensure-generic-function 'message-val :lambda-list '(m))
91
+ (cl:defmethod message-val ((m <GetDeviceInfo-response>))
92
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:message-val is deprecated. Use astra_camera-srv:message instead.")
93
+ (message m))
94
+ (cl:defmethod roslisp-msg-protocol:serialize ((msg <GetDeviceInfo-response>) ostream)
95
+ "Serializes a message object of type '<GetDeviceInfo-response>"
96
+ (roslisp-msg-protocol:serialize (cl:slot-value msg 'info) ostream)
97
+ (cl:write-byte (cl:ldb (cl:byte 8 0) (cl:if (cl:slot-value msg 'success) 1 0)) ostream)
98
+ (cl:let ((__ros_str_len (cl:length (cl:slot-value msg 'message))))
99
+ (cl:write-byte (cl:ldb (cl:byte 8 0) __ros_str_len) ostream)
100
+ (cl:write-byte (cl:ldb (cl:byte 8 8) __ros_str_len) ostream)
101
+ (cl:write-byte (cl:ldb (cl:byte 8 16) __ros_str_len) ostream)
102
+ (cl:write-byte (cl:ldb (cl:byte 8 24) __ros_str_len) ostream))
103
+ (cl:map cl:nil #'(cl:lambda (c) (cl:write-byte (cl:char-code c) ostream)) (cl:slot-value msg 'message))
104
+ )
105
+ (cl:defmethod roslisp-msg-protocol:deserialize ((msg <GetDeviceInfo-response>) istream)
106
+ "Deserializes a message object of type '<GetDeviceInfo-response>"
107
+ (roslisp-msg-protocol:deserialize (cl:slot-value msg 'info) istream)
108
+ (cl:setf (cl:slot-value msg 'success) (cl:not (cl:zerop (cl:read-byte istream))))
109
+ (cl:let ((__ros_str_len 0))
110
+ (cl:setf (cl:ldb (cl:byte 8 0) __ros_str_len) (cl:read-byte istream))
111
+ (cl:setf (cl:ldb (cl:byte 8 8) __ros_str_len) (cl:read-byte istream))
112
+ (cl:setf (cl:ldb (cl:byte 8 16) __ros_str_len) (cl:read-byte istream))
113
+ (cl:setf (cl:ldb (cl:byte 8 24) __ros_str_len) (cl:read-byte istream))
114
+ (cl:setf (cl:slot-value msg 'message) (cl:make-string __ros_str_len))
115
+ (cl:dotimes (__ros_str_idx __ros_str_len msg)
116
+ (cl:setf (cl:char (cl:slot-value msg 'message) __ros_str_idx) (cl:code-char (cl:read-byte istream)))))
117
+ msg
118
+ )
119
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<GetDeviceInfo-response>)))
120
+ "Returns string type for a service object of type '<GetDeviceInfo-response>"
121
+ "astra_camera/GetDeviceInfoResponse")
122
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'GetDeviceInfo-response)))
123
+ "Returns string type for a service object of type 'GetDeviceInfo-response"
124
+ "astra_camera/GetDeviceInfoResponse")
125
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<GetDeviceInfo-response>)))
126
+ "Returns md5sum for a message object of type '<GetDeviceInfo-response>"
127
+ "1e369ba84c0330473501a0820257661a")
128
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'GetDeviceInfo-response)))
129
+ "Returns md5sum for a message object of type 'GetDeviceInfo-response"
130
+ "1e369ba84c0330473501a0820257661a")
131
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<GetDeviceInfo-response>)))
132
+ "Returns full string definition for message of type '<GetDeviceInfo-response>"
133
+ (cl:format cl:nil "DeviceInfo info~%bool success~%string message~%~%~%================================================================================~%MSG: astra_camera/DeviceInfo~%std_msgs/Header header~%string name~%int32 vid~%int32 pid~%string serial_number~%string firmware_version~%string supported_min_sdk_version~%string hardware_version~%~%================================================================================~%MSG: std_msgs/Header~%# Standard metadata for higher-level stamped data types.~%# This is generally used to communicate timestamped data ~%# in a particular coordinate frame.~%# ~%# sequence ID: consecutively increasing ID ~%uint32 seq~%#Two-integer timestamp that is expressed as:~%# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')~%# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')~%# time-handling sugar is provided by the client library~%time stamp~%#Frame this data is associated with~%string frame_id~%~%~%"))
134
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'GetDeviceInfo-response)))
135
+ "Returns full string definition for message of type 'GetDeviceInfo-response"
136
+ (cl:format cl:nil "DeviceInfo info~%bool success~%string message~%~%~%================================================================================~%MSG: astra_camera/DeviceInfo~%std_msgs/Header header~%string name~%int32 vid~%int32 pid~%string serial_number~%string firmware_version~%string supported_min_sdk_version~%string hardware_version~%~%================================================================================~%MSG: std_msgs/Header~%# Standard metadata for higher-level stamped data types.~%# This is generally used to communicate timestamped data ~%# in a particular coordinate frame.~%# ~%# sequence ID: consecutively increasing ID ~%uint32 seq~%#Two-integer timestamp that is expressed as:~%# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')~%# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')~%# time-handling sugar is provided by the client library~%time stamp~%#Frame this data is associated with~%string frame_id~%~%~%"))
137
+ (cl:defmethod roslisp-msg-protocol:serialization-length ((msg <GetDeviceInfo-response>))
138
+ (cl:+ 0
139
+ (roslisp-msg-protocol:serialization-length (cl:slot-value msg 'info))
140
+ 1
141
+ 4 (cl:length (cl:slot-value msg 'message))
142
+ ))
143
+ (cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <GetDeviceInfo-response>))
144
+ "Converts a ROS message object to a list"
145
+ (cl:list 'GetDeviceInfo-response
146
+ (cl:cons ':info (info msg))
147
+ (cl:cons ':success (success msg))
148
+ (cl:cons ':message (message msg))
149
+ ))
150
+ (cl:defmethod roslisp-msg-protocol:service-request-type ((msg (cl:eql 'GetDeviceInfo)))
151
+ 'GetDeviceInfo-request)
152
+ (cl:defmethod roslisp-msg-protocol:service-response-type ((msg (cl:eql 'GetDeviceInfo)))
153
+ 'GetDeviceInfo-response)
154
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'GetDeviceInfo)))
155
+ "Returns string type for a service object of type '<GetDeviceInfo>"
156
+ "astra_camera/GetDeviceInfo")
camera_ws/devel/share/common-lisp/ros/astra_camera/srv/GetDouble.lisp ADDED
@@ -0,0 +1,173 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ; Auto-generated. Do not edit!
2
+
3
+
4
+ (cl:in-package astra_camera-srv)
5
+
6
+
7
+ ;//! \htmlinclude GetDouble-request.msg.html
8
+
9
+ (cl:defclass <GetDouble-request> (roslisp-msg-protocol:ros-message)
10
+ ()
11
+ )
12
+
13
+ (cl:defclass GetDouble-request (<GetDouble-request>)
14
+ ())
15
+
16
+ (cl:defmethod cl:initialize-instance :after ((m <GetDouble-request>) cl:&rest args)
17
+ (cl:declare (cl:ignorable args))
18
+ (cl:unless (cl:typep m 'GetDouble-request)
19
+ (roslisp-msg-protocol:msg-deprecation-warning "using old message class name astra_camera-srv:<GetDouble-request> is deprecated: use astra_camera-srv:GetDouble-request instead.")))
20
+ (cl:defmethod roslisp-msg-protocol:serialize ((msg <GetDouble-request>) ostream)
21
+ "Serializes a message object of type '<GetDouble-request>"
22
+ )
23
+ (cl:defmethod roslisp-msg-protocol:deserialize ((msg <GetDouble-request>) istream)
24
+ "Deserializes a message object of type '<GetDouble-request>"
25
+ msg
26
+ )
27
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<GetDouble-request>)))
28
+ "Returns string type for a service object of type '<GetDouble-request>"
29
+ "astra_camera/GetDoubleRequest")
30
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'GetDouble-request)))
31
+ "Returns string type for a service object of type 'GetDouble-request"
32
+ "astra_camera/GetDoubleRequest")
33
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<GetDouble-request>)))
34
+ "Returns md5sum for a message object of type '<GetDouble-request>"
35
+ "edb830bb55b38159c2bb5a997bcb994d")
36
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'GetDouble-request)))
37
+ "Returns md5sum for a message object of type 'GetDouble-request"
38
+ "edb830bb55b38159c2bb5a997bcb994d")
39
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<GetDouble-request>)))
40
+ "Returns full string definition for message of type '<GetDouble-request>"
41
+ (cl:format cl:nil "~%~%"))
42
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'GetDouble-request)))
43
+ "Returns full string definition for message of type 'GetDouble-request"
44
+ (cl:format cl:nil "~%~%"))
45
+ (cl:defmethod roslisp-msg-protocol:serialization-length ((msg <GetDouble-request>))
46
+ (cl:+ 0
47
+ ))
48
+ (cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <GetDouble-request>))
49
+ "Converts a ROS message object to a list"
50
+ (cl:list 'GetDouble-request
51
+ ))
52
+ ;//! \htmlinclude GetDouble-response.msg.html
53
+
54
+ (cl:defclass <GetDouble-response> (roslisp-msg-protocol:ros-message)
55
+ ((data
56
+ :reader data
57
+ :initarg :data
58
+ :type cl:float
59
+ :initform 0.0)
60
+ (success
61
+ :reader success
62
+ :initarg :success
63
+ :type cl:boolean
64
+ :initform cl:nil)
65
+ (message
66
+ :reader message
67
+ :initarg :message
68
+ :type cl:string
69
+ :initform ""))
70
+ )
71
+
72
+ (cl:defclass GetDouble-response (<GetDouble-response>)
73
+ ())
74
+
75
+ (cl:defmethod cl:initialize-instance :after ((m <GetDouble-response>) cl:&rest args)
76
+ (cl:declare (cl:ignorable args))
77
+ (cl:unless (cl:typep m 'GetDouble-response)
78
+ (roslisp-msg-protocol:msg-deprecation-warning "using old message class name astra_camera-srv:<GetDouble-response> is deprecated: use astra_camera-srv:GetDouble-response instead.")))
79
+
80
+ (cl:ensure-generic-function 'data-val :lambda-list '(m))
81
+ (cl:defmethod data-val ((m <GetDouble-response>))
82
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:data-val is deprecated. Use astra_camera-srv:data instead.")
83
+ (data m))
84
+
85
+ (cl:ensure-generic-function 'success-val :lambda-list '(m))
86
+ (cl:defmethod success-val ((m <GetDouble-response>))
87
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:success-val is deprecated. Use astra_camera-srv:success instead.")
88
+ (success m))
89
+
90
+ (cl:ensure-generic-function 'message-val :lambda-list '(m))
91
+ (cl:defmethod message-val ((m <GetDouble-response>))
92
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:message-val is deprecated. Use astra_camera-srv:message instead.")
93
+ (message m))
94
+ (cl:defmethod roslisp-msg-protocol:serialize ((msg <GetDouble-response>) ostream)
95
+ "Serializes a message object of type '<GetDouble-response>"
96
+ (cl:let ((bits (roslisp-utils:encode-double-float-bits (cl:slot-value msg 'data))))
97
+ (cl:write-byte (cl:ldb (cl:byte 8 0) bits) ostream)
98
+ (cl:write-byte (cl:ldb (cl:byte 8 8) bits) ostream)
99
+ (cl:write-byte (cl:ldb (cl:byte 8 16) bits) ostream)
100
+ (cl:write-byte (cl:ldb (cl:byte 8 24) bits) ostream)
101
+ (cl:write-byte (cl:ldb (cl:byte 8 32) bits) ostream)
102
+ (cl:write-byte (cl:ldb (cl:byte 8 40) bits) ostream)
103
+ (cl:write-byte (cl:ldb (cl:byte 8 48) bits) ostream)
104
+ (cl:write-byte (cl:ldb (cl:byte 8 56) bits) ostream))
105
+ (cl:write-byte (cl:ldb (cl:byte 8 0) (cl:if (cl:slot-value msg 'success) 1 0)) ostream)
106
+ (cl:let ((__ros_str_len (cl:length (cl:slot-value msg 'message))))
107
+ (cl:write-byte (cl:ldb (cl:byte 8 0) __ros_str_len) ostream)
108
+ (cl:write-byte (cl:ldb (cl:byte 8 8) __ros_str_len) ostream)
109
+ (cl:write-byte (cl:ldb (cl:byte 8 16) __ros_str_len) ostream)
110
+ (cl:write-byte (cl:ldb (cl:byte 8 24) __ros_str_len) ostream))
111
+ (cl:map cl:nil #'(cl:lambda (c) (cl:write-byte (cl:char-code c) ostream)) (cl:slot-value msg 'message))
112
+ )
113
+ (cl:defmethod roslisp-msg-protocol:deserialize ((msg <GetDouble-response>) istream)
114
+ "Deserializes a message object of type '<GetDouble-response>"
115
+ (cl:let ((bits 0))
116
+ (cl:setf (cl:ldb (cl:byte 8 0) bits) (cl:read-byte istream))
117
+ (cl:setf (cl:ldb (cl:byte 8 8) bits) (cl:read-byte istream))
118
+ (cl:setf (cl:ldb (cl:byte 8 16) bits) (cl:read-byte istream))
119
+ (cl:setf (cl:ldb (cl:byte 8 24) bits) (cl:read-byte istream))
120
+ (cl:setf (cl:ldb (cl:byte 8 32) bits) (cl:read-byte istream))
121
+ (cl:setf (cl:ldb (cl:byte 8 40) bits) (cl:read-byte istream))
122
+ (cl:setf (cl:ldb (cl:byte 8 48) bits) (cl:read-byte istream))
123
+ (cl:setf (cl:ldb (cl:byte 8 56) bits) (cl:read-byte istream))
124
+ (cl:setf (cl:slot-value msg 'data) (roslisp-utils:decode-double-float-bits bits)))
125
+ (cl:setf (cl:slot-value msg 'success) (cl:not (cl:zerop (cl:read-byte istream))))
126
+ (cl:let ((__ros_str_len 0))
127
+ (cl:setf (cl:ldb (cl:byte 8 0) __ros_str_len) (cl:read-byte istream))
128
+ (cl:setf (cl:ldb (cl:byte 8 8) __ros_str_len) (cl:read-byte istream))
129
+ (cl:setf (cl:ldb (cl:byte 8 16) __ros_str_len) (cl:read-byte istream))
130
+ (cl:setf (cl:ldb (cl:byte 8 24) __ros_str_len) (cl:read-byte istream))
131
+ (cl:setf (cl:slot-value msg 'message) (cl:make-string __ros_str_len))
132
+ (cl:dotimes (__ros_str_idx __ros_str_len msg)
133
+ (cl:setf (cl:char (cl:slot-value msg 'message) __ros_str_idx) (cl:code-char (cl:read-byte istream)))))
134
+ msg
135
+ )
136
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<GetDouble-response>)))
137
+ "Returns string type for a service object of type '<GetDouble-response>"
138
+ "astra_camera/GetDoubleResponse")
139
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'GetDouble-response)))
140
+ "Returns string type for a service object of type 'GetDouble-response"
141
+ "astra_camera/GetDoubleResponse")
142
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<GetDouble-response>)))
143
+ "Returns md5sum for a message object of type '<GetDouble-response>"
144
+ "edb830bb55b38159c2bb5a997bcb994d")
145
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'GetDouble-response)))
146
+ "Returns md5sum for a message object of type 'GetDouble-response"
147
+ "edb830bb55b38159c2bb5a997bcb994d")
148
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<GetDouble-response>)))
149
+ "Returns full string definition for message of type '<GetDouble-response>"
150
+ (cl:format cl:nil "float64 data~%bool success~%string message~%~%~%~%"))
151
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'GetDouble-response)))
152
+ "Returns full string definition for message of type 'GetDouble-response"
153
+ (cl:format cl:nil "float64 data~%bool success~%string message~%~%~%~%"))
154
+ (cl:defmethod roslisp-msg-protocol:serialization-length ((msg <GetDouble-response>))
155
+ (cl:+ 0
156
+ 8
157
+ 1
158
+ 4 (cl:length (cl:slot-value msg 'message))
159
+ ))
160
+ (cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <GetDouble-response>))
161
+ "Converts a ROS message object to a list"
162
+ (cl:list 'GetDouble-response
163
+ (cl:cons ':data (data msg))
164
+ (cl:cons ':success (success msg))
165
+ (cl:cons ':message (message msg))
166
+ ))
167
+ (cl:defmethod roslisp-msg-protocol:service-request-type ((msg (cl:eql 'GetDouble)))
168
+ 'GetDouble-request)
169
+ (cl:defmethod roslisp-msg-protocol:service-response-type ((msg (cl:eql 'GetDouble)))
170
+ 'GetDouble-response)
171
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'GetDouble)))
172
+ "Returns string type for a service object of type '<GetDouble>"
173
+ "astra_camera/GetDouble")
camera_ws/devel/share/common-lisp/ros/astra_camera/srv/GetInt32.lisp ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ; Auto-generated. Do not edit!
2
+
3
+
4
+ (cl:in-package astra_camera-srv)
5
+
6
+
7
+ ;//! \htmlinclude GetInt32-request.msg.html
8
+
9
+ (cl:defclass <GetInt32-request> (roslisp-msg-protocol:ros-message)
10
+ ()
11
+ )
12
+
13
+ (cl:defclass GetInt32-request (<GetInt32-request>)
14
+ ())
15
+
16
+ (cl:defmethod cl:initialize-instance :after ((m <GetInt32-request>) cl:&rest args)
17
+ (cl:declare (cl:ignorable args))
18
+ (cl:unless (cl:typep m 'GetInt32-request)
19
+ (roslisp-msg-protocol:msg-deprecation-warning "using old message class name astra_camera-srv:<GetInt32-request> is deprecated: use astra_camera-srv:GetInt32-request instead.")))
20
+ (cl:defmethod roslisp-msg-protocol:serialize ((msg <GetInt32-request>) ostream)
21
+ "Serializes a message object of type '<GetInt32-request>"
22
+ )
23
+ (cl:defmethod roslisp-msg-protocol:deserialize ((msg <GetInt32-request>) istream)
24
+ "Deserializes a message object of type '<GetInt32-request>"
25
+ msg
26
+ )
27
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<GetInt32-request>)))
28
+ "Returns string type for a service object of type '<GetInt32-request>"
29
+ "astra_camera/GetInt32Request")
30
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'GetInt32-request)))
31
+ "Returns string type for a service object of type 'GetInt32-request"
32
+ "astra_camera/GetInt32Request")
33
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<GetInt32-request>)))
34
+ "Returns md5sum for a message object of type '<GetInt32-request>"
35
+ "1e06c77f31583d55c01571a573d75b9f")
36
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'GetInt32-request)))
37
+ "Returns md5sum for a message object of type 'GetInt32-request"
38
+ "1e06c77f31583d55c01571a573d75b9f")
39
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<GetInt32-request>)))
40
+ "Returns full string definition for message of type '<GetInt32-request>"
41
+ (cl:format cl:nil "~%~%"))
42
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'GetInt32-request)))
43
+ "Returns full string definition for message of type 'GetInt32-request"
44
+ (cl:format cl:nil "~%~%"))
45
+ (cl:defmethod roslisp-msg-protocol:serialization-length ((msg <GetInt32-request>))
46
+ (cl:+ 0
47
+ ))
48
+ (cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <GetInt32-request>))
49
+ "Converts a ROS message object to a list"
50
+ (cl:list 'GetInt32-request
51
+ ))
52
+ ;//! \htmlinclude GetInt32-response.msg.html
53
+
54
+ (cl:defclass <GetInt32-response> (roslisp-msg-protocol:ros-message)
55
+ ((data
56
+ :reader data
57
+ :initarg :data
58
+ :type cl:integer
59
+ :initform 0)
60
+ (success
61
+ :reader success
62
+ :initarg :success
63
+ :type cl:boolean
64
+ :initform cl:nil)
65
+ (message
66
+ :reader message
67
+ :initarg :message
68
+ :type cl:string
69
+ :initform ""))
70
+ )
71
+
72
+ (cl:defclass GetInt32-response (<GetInt32-response>)
73
+ ())
74
+
75
+ (cl:defmethod cl:initialize-instance :after ((m <GetInt32-response>) cl:&rest args)
76
+ (cl:declare (cl:ignorable args))
77
+ (cl:unless (cl:typep m 'GetInt32-response)
78
+ (roslisp-msg-protocol:msg-deprecation-warning "using old message class name astra_camera-srv:<GetInt32-response> is deprecated: use astra_camera-srv:GetInt32-response instead.")))
79
+
80
+ (cl:ensure-generic-function 'data-val :lambda-list '(m))
81
+ (cl:defmethod data-val ((m <GetInt32-response>))
82
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:data-val is deprecated. Use astra_camera-srv:data instead.")
83
+ (data m))
84
+
85
+ (cl:ensure-generic-function 'success-val :lambda-list '(m))
86
+ (cl:defmethod success-val ((m <GetInt32-response>))
87
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:success-val is deprecated. Use astra_camera-srv:success instead.")
88
+ (success m))
89
+
90
+ (cl:ensure-generic-function 'message-val :lambda-list '(m))
91
+ (cl:defmethod message-val ((m <GetInt32-response>))
92
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:message-val is deprecated. Use astra_camera-srv:message instead.")
93
+ (message m))
94
+ (cl:defmethod roslisp-msg-protocol:serialize ((msg <GetInt32-response>) ostream)
95
+ "Serializes a message object of type '<GetInt32-response>"
96
+ (cl:let* ((signed (cl:slot-value msg 'data)) (unsigned (cl:if (cl:< signed 0) (cl:+ signed 4294967296) signed)))
97
+ (cl:write-byte (cl:ldb (cl:byte 8 0) unsigned) ostream)
98
+ (cl:write-byte (cl:ldb (cl:byte 8 8) unsigned) ostream)
99
+ (cl:write-byte (cl:ldb (cl:byte 8 16) unsigned) ostream)
100
+ (cl:write-byte (cl:ldb (cl:byte 8 24) unsigned) ostream)
101
+ )
102
+ (cl:write-byte (cl:ldb (cl:byte 8 0) (cl:if (cl:slot-value msg 'success) 1 0)) ostream)
103
+ (cl:let ((__ros_str_len (cl:length (cl:slot-value msg 'message))))
104
+ (cl:write-byte (cl:ldb (cl:byte 8 0) __ros_str_len) ostream)
105
+ (cl:write-byte (cl:ldb (cl:byte 8 8) __ros_str_len) ostream)
106
+ (cl:write-byte (cl:ldb (cl:byte 8 16) __ros_str_len) ostream)
107
+ (cl:write-byte (cl:ldb (cl:byte 8 24) __ros_str_len) ostream))
108
+ (cl:map cl:nil #'(cl:lambda (c) (cl:write-byte (cl:char-code c) ostream)) (cl:slot-value msg 'message))
109
+ )
110
+ (cl:defmethod roslisp-msg-protocol:deserialize ((msg <GetInt32-response>) istream)
111
+ "Deserializes a message object of type '<GetInt32-response>"
112
+ (cl:let ((unsigned 0))
113
+ (cl:setf (cl:ldb (cl:byte 8 0) unsigned) (cl:read-byte istream))
114
+ (cl:setf (cl:ldb (cl:byte 8 8) unsigned) (cl:read-byte istream))
115
+ (cl:setf (cl:ldb (cl:byte 8 16) unsigned) (cl:read-byte istream))
116
+ (cl:setf (cl:ldb (cl:byte 8 24) unsigned) (cl:read-byte istream))
117
+ (cl:setf (cl:slot-value msg 'data) (cl:if (cl:< unsigned 2147483648) unsigned (cl:- unsigned 4294967296))))
118
+ (cl:setf (cl:slot-value msg 'success) (cl:not (cl:zerop (cl:read-byte istream))))
119
+ (cl:let ((__ros_str_len 0))
120
+ (cl:setf (cl:ldb (cl:byte 8 0) __ros_str_len) (cl:read-byte istream))
121
+ (cl:setf (cl:ldb (cl:byte 8 8) __ros_str_len) (cl:read-byte istream))
122
+ (cl:setf (cl:ldb (cl:byte 8 16) __ros_str_len) (cl:read-byte istream))
123
+ (cl:setf (cl:ldb (cl:byte 8 24) __ros_str_len) (cl:read-byte istream))
124
+ (cl:setf (cl:slot-value msg 'message) (cl:make-string __ros_str_len))
125
+ (cl:dotimes (__ros_str_idx __ros_str_len msg)
126
+ (cl:setf (cl:char (cl:slot-value msg 'message) __ros_str_idx) (cl:code-char (cl:read-byte istream)))))
127
+ msg
128
+ )
129
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<GetInt32-response>)))
130
+ "Returns string type for a service object of type '<GetInt32-response>"
131
+ "astra_camera/GetInt32Response")
132
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'GetInt32-response)))
133
+ "Returns string type for a service object of type 'GetInt32-response"
134
+ "astra_camera/GetInt32Response")
135
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<GetInt32-response>)))
136
+ "Returns md5sum for a message object of type '<GetInt32-response>"
137
+ "1e06c77f31583d55c01571a573d75b9f")
138
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'GetInt32-response)))
139
+ "Returns md5sum for a message object of type 'GetInt32-response"
140
+ "1e06c77f31583d55c01571a573d75b9f")
141
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<GetInt32-response>)))
142
+ "Returns full string definition for message of type '<GetInt32-response>"
143
+ (cl:format cl:nil "int32 data~%bool success~%string message~%~%~%~%"))
144
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'GetInt32-response)))
145
+ "Returns full string definition for message of type 'GetInt32-response"
146
+ (cl:format cl:nil "int32 data~%bool success~%string message~%~%~%~%"))
147
+ (cl:defmethod roslisp-msg-protocol:serialization-length ((msg <GetInt32-response>))
148
+ (cl:+ 0
149
+ 4
150
+ 1
151
+ 4 (cl:length (cl:slot-value msg 'message))
152
+ ))
153
+ (cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <GetInt32-response>))
154
+ "Converts a ROS message object to a list"
155
+ (cl:list 'GetInt32-response
156
+ (cl:cons ':data (data msg))
157
+ (cl:cons ':success (success msg))
158
+ (cl:cons ':message (message msg))
159
+ ))
160
+ (cl:defmethod roslisp-msg-protocol:service-request-type ((msg (cl:eql 'GetInt32)))
161
+ 'GetInt32-request)
162
+ (cl:defmethod roslisp-msg-protocol:service-response-type ((msg (cl:eql 'GetInt32)))
163
+ 'GetInt32-response)
164
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'GetInt32)))
165
+ "Returns string type for a service object of type '<GetInt32>"
166
+ "astra_camera/GetInt32")
camera_ws/devel/share/common-lisp/ros/astra_camera/srv/SetInt32.lisp ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ; Auto-generated. Do not edit!
2
+
3
+
4
+ (cl:in-package astra_camera-srv)
5
+
6
+
7
+ ;//! \htmlinclude SetInt32-request.msg.html
8
+
9
+ (cl:defclass <SetInt32-request> (roslisp-msg-protocol:ros-message)
10
+ ((data
11
+ :reader data
12
+ :initarg :data
13
+ :type cl:integer
14
+ :initform 0))
15
+ )
16
+
17
+ (cl:defclass SetInt32-request (<SetInt32-request>)
18
+ ())
19
+
20
+ (cl:defmethod cl:initialize-instance :after ((m <SetInt32-request>) cl:&rest args)
21
+ (cl:declare (cl:ignorable args))
22
+ (cl:unless (cl:typep m 'SetInt32-request)
23
+ (roslisp-msg-protocol:msg-deprecation-warning "using old message class name astra_camera-srv:<SetInt32-request> is deprecated: use astra_camera-srv:SetInt32-request instead.")))
24
+
25
+ (cl:ensure-generic-function 'data-val :lambda-list '(m))
26
+ (cl:defmethod data-val ((m <SetInt32-request>))
27
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:data-val is deprecated. Use astra_camera-srv:data instead.")
28
+ (data m))
29
+ (cl:defmethod roslisp-msg-protocol:serialize ((msg <SetInt32-request>) ostream)
30
+ "Serializes a message object of type '<SetInt32-request>"
31
+ (cl:let* ((signed (cl:slot-value msg 'data)) (unsigned (cl:if (cl:< signed 0) (cl:+ signed 4294967296) signed)))
32
+ (cl:write-byte (cl:ldb (cl:byte 8 0) unsigned) ostream)
33
+ (cl:write-byte (cl:ldb (cl:byte 8 8) unsigned) ostream)
34
+ (cl:write-byte (cl:ldb (cl:byte 8 16) unsigned) ostream)
35
+ (cl:write-byte (cl:ldb (cl:byte 8 24) unsigned) ostream)
36
+ )
37
+ )
38
+ (cl:defmethod roslisp-msg-protocol:deserialize ((msg <SetInt32-request>) istream)
39
+ "Deserializes a message object of type '<SetInt32-request>"
40
+ (cl:let ((unsigned 0))
41
+ (cl:setf (cl:ldb (cl:byte 8 0) unsigned) (cl:read-byte istream))
42
+ (cl:setf (cl:ldb (cl:byte 8 8) unsigned) (cl:read-byte istream))
43
+ (cl:setf (cl:ldb (cl:byte 8 16) unsigned) (cl:read-byte istream))
44
+ (cl:setf (cl:ldb (cl:byte 8 24) unsigned) (cl:read-byte istream))
45
+ (cl:setf (cl:slot-value msg 'data) (cl:if (cl:< unsigned 2147483648) unsigned (cl:- unsigned 4294967296))))
46
+ msg
47
+ )
48
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<SetInt32-request>)))
49
+ "Returns string type for a service object of type '<SetInt32-request>"
50
+ "astra_camera/SetInt32Request")
51
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'SetInt32-request)))
52
+ "Returns string type for a service object of type 'SetInt32-request"
53
+ "astra_camera/SetInt32Request")
54
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<SetInt32-request>)))
55
+ "Returns md5sum for a message object of type '<SetInt32-request>"
56
+ "41a6318c88ca9d75d7a585e2aa4ca6ea")
57
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'SetInt32-request)))
58
+ "Returns md5sum for a message object of type 'SetInt32-request"
59
+ "41a6318c88ca9d75d7a585e2aa4ca6ea")
60
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<SetInt32-request>)))
61
+ "Returns full string definition for message of type '<SetInt32-request>"
62
+ (cl:format cl:nil "int32 data~%~%~%"))
63
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'SetInt32-request)))
64
+ "Returns full string definition for message of type 'SetInt32-request"
65
+ (cl:format cl:nil "int32 data~%~%~%"))
66
+ (cl:defmethod roslisp-msg-protocol:serialization-length ((msg <SetInt32-request>))
67
+ (cl:+ 0
68
+ 4
69
+ ))
70
+ (cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <SetInt32-request>))
71
+ "Converts a ROS message object to a list"
72
+ (cl:list 'SetInt32-request
73
+ (cl:cons ':data (data msg))
74
+ ))
75
+ ;//! \htmlinclude SetInt32-response.msg.html
76
+
77
+ (cl:defclass <SetInt32-response> (roslisp-msg-protocol:ros-message)
78
+ ((success
79
+ :reader success
80
+ :initarg :success
81
+ :type cl:boolean
82
+ :initform cl:nil)
83
+ (message
84
+ :reader message
85
+ :initarg :message
86
+ :type cl:string
87
+ :initform ""))
88
+ )
89
+
90
+ (cl:defclass SetInt32-response (<SetInt32-response>)
91
+ ())
92
+
93
+ (cl:defmethod cl:initialize-instance :after ((m <SetInt32-response>) cl:&rest args)
94
+ (cl:declare (cl:ignorable args))
95
+ (cl:unless (cl:typep m 'SetInt32-response)
96
+ (roslisp-msg-protocol:msg-deprecation-warning "using old message class name astra_camera-srv:<SetInt32-response> is deprecated: use astra_camera-srv:SetInt32-response instead.")))
97
+
98
+ (cl:ensure-generic-function 'success-val :lambda-list '(m))
99
+ (cl:defmethod success-val ((m <SetInt32-response>))
100
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:success-val is deprecated. Use astra_camera-srv:success instead.")
101
+ (success m))
102
+
103
+ (cl:ensure-generic-function 'message-val :lambda-list '(m))
104
+ (cl:defmethod message-val ((m <SetInt32-response>))
105
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:message-val is deprecated. Use astra_camera-srv:message instead.")
106
+ (message m))
107
+ (cl:defmethod roslisp-msg-protocol:serialize ((msg <SetInt32-response>) ostream)
108
+ "Serializes a message object of type '<SetInt32-response>"
109
+ (cl:write-byte (cl:ldb (cl:byte 8 0) (cl:if (cl:slot-value msg 'success) 1 0)) ostream)
110
+ (cl:let ((__ros_str_len (cl:length (cl:slot-value msg 'message))))
111
+ (cl:write-byte (cl:ldb (cl:byte 8 0) __ros_str_len) ostream)
112
+ (cl:write-byte (cl:ldb (cl:byte 8 8) __ros_str_len) ostream)
113
+ (cl:write-byte (cl:ldb (cl:byte 8 16) __ros_str_len) ostream)
114
+ (cl:write-byte (cl:ldb (cl:byte 8 24) __ros_str_len) ostream))
115
+ (cl:map cl:nil #'(cl:lambda (c) (cl:write-byte (cl:char-code c) ostream)) (cl:slot-value msg 'message))
116
+ )
117
+ (cl:defmethod roslisp-msg-protocol:deserialize ((msg <SetInt32-response>) istream)
118
+ "Deserializes a message object of type '<SetInt32-response>"
119
+ (cl:setf (cl:slot-value msg 'success) (cl:not (cl:zerop (cl:read-byte istream))))
120
+ (cl:let ((__ros_str_len 0))
121
+ (cl:setf (cl:ldb (cl:byte 8 0) __ros_str_len) (cl:read-byte istream))
122
+ (cl:setf (cl:ldb (cl:byte 8 8) __ros_str_len) (cl:read-byte istream))
123
+ (cl:setf (cl:ldb (cl:byte 8 16) __ros_str_len) (cl:read-byte istream))
124
+ (cl:setf (cl:ldb (cl:byte 8 24) __ros_str_len) (cl:read-byte istream))
125
+ (cl:setf (cl:slot-value msg 'message) (cl:make-string __ros_str_len))
126
+ (cl:dotimes (__ros_str_idx __ros_str_len msg)
127
+ (cl:setf (cl:char (cl:slot-value msg 'message) __ros_str_idx) (cl:code-char (cl:read-byte istream)))))
128
+ msg
129
+ )
130
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<SetInt32-response>)))
131
+ "Returns string type for a service object of type '<SetInt32-response>"
132
+ "astra_camera/SetInt32Response")
133
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'SetInt32-response)))
134
+ "Returns string type for a service object of type 'SetInt32-response"
135
+ "astra_camera/SetInt32Response")
136
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<SetInt32-response>)))
137
+ "Returns md5sum for a message object of type '<SetInt32-response>"
138
+ "41a6318c88ca9d75d7a585e2aa4ca6ea")
139
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'SetInt32-response)))
140
+ "Returns md5sum for a message object of type 'SetInt32-response"
141
+ "41a6318c88ca9d75d7a585e2aa4ca6ea")
142
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<SetInt32-response>)))
143
+ "Returns full string definition for message of type '<SetInt32-response>"
144
+ (cl:format cl:nil "bool success~%string message~%~%~%~%"))
145
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'SetInt32-response)))
146
+ "Returns full string definition for message of type 'SetInt32-response"
147
+ (cl:format cl:nil "bool success~%string message~%~%~%~%"))
148
+ (cl:defmethod roslisp-msg-protocol:serialization-length ((msg <SetInt32-response>))
149
+ (cl:+ 0
150
+ 1
151
+ 4 (cl:length (cl:slot-value msg 'message))
152
+ ))
153
+ (cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <SetInt32-response>))
154
+ "Converts a ROS message object to a list"
155
+ (cl:list 'SetInt32-response
156
+ (cl:cons ':success (success msg))
157
+ (cl:cons ':message (message msg))
158
+ ))
159
+ (cl:defmethod roslisp-msg-protocol:service-request-type ((msg (cl:eql 'SetInt32)))
160
+ 'SetInt32-request)
161
+ (cl:defmethod roslisp-msg-protocol:service-response-type ((msg (cl:eql 'SetInt32)))
162
+ 'SetInt32-response)
163
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'SetInt32)))
164
+ "Returns string type for a service object of type '<SetInt32>"
165
+ "astra_camera/SetInt32")
camera_ws/devel/share/common-lisp/ros/astra_camera/srv/SetString.lisp ADDED
@@ -0,0 +1,167 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ; Auto-generated. Do not edit!
2
+
3
+
4
+ (cl:in-package astra_camera-srv)
5
+
6
+
7
+ ;//! \htmlinclude SetString-request.msg.html
8
+
9
+ (cl:defclass <SetString-request> (roslisp-msg-protocol:ros-message)
10
+ ((data
11
+ :reader data
12
+ :initarg :data
13
+ :type cl:string
14
+ :initform ""))
15
+ )
16
+
17
+ (cl:defclass SetString-request (<SetString-request>)
18
+ ())
19
+
20
+ (cl:defmethod cl:initialize-instance :after ((m <SetString-request>) cl:&rest args)
21
+ (cl:declare (cl:ignorable args))
22
+ (cl:unless (cl:typep m 'SetString-request)
23
+ (roslisp-msg-protocol:msg-deprecation-warning "using old message class name astra_camera-srv:<SetString-request> is deprecated: use astra_camera-srv:SetString-request instead.")))
24
+
25
+ (cl:ensure-generic-function 'data-val :lambda-list '(m))
26
+ (cl:defmethod data-val ((m <SetString-request>))
27
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:data-val is deprecated. Use astra_camera-srv:data instead.")
28
+ (data m))
29
+ (cl:defmethod roslisp-msg-protocol:serialize ((msg <SetString-request>) ostream)
30
+ "Serializes a message object of type '<SetString-request>"
31
+ (cl:let ((__ros_str_len (cl:length (cl:slot-value msg 'data))))
32
+ (cl:write-byte (cl:ldb (cl:byte 8 0) __ros_str_len) ostream)
33
+ (cl:write-byte (cl:ldb (cl:byte 8 8) __ros_str_len) ostream)
34
+ (cl:write-byte (cl:ldb (cl:byte 8 16) __ros_str_len) ostream)
35
+ (cl:write-byte (cl:ldb (cl:byte 8 24) __ros_str_len) ostream))
36
+ (cl:map cl:nil #'(cl:lambda (c) (cl:write-byte (cl:char-code c) ostream)) (cl:slot-value msg 'data))
37
+ )
38
+ (cl:defmethod roslisp-msg-protocol:deserialize ((msg <SetString-request>) istream)
39
+ "Deserializes a message object of type '<SetString-request>"
40
+ (cl:let ((__ros_str_len 0))
41
+ (cl:setf (cl:ldb (cl:byte 8 0) __ros_str_len) (cl:read-byte istream))
42
+ (cl:setf (cl:ldb (cl:byte 8 8) __ros_str_len) (cl:read-byte istream))
43
+ (cl:setf (cl:ldb (cl:byte 8 16) __ros_str_len) (cl:read-byte istream))
44
+ (cl:setf (cl:ldb (cl:byte 8 24) __ros_str_len) (cl:read-byte istream))
45
+ (cl:setf (cl:slot-value msg 'data) (cl:make-string __ros_str_len))
46
+ (cl:dotimes (__ros_str_idx __ros_str_len msg)
47
+ (cl:setf (cl:char (cl:slot-value msg 'data) __ros_str_idx) (cl:code-char (cl:read-byte istream)))))
48
+ msg
49
+ )
50
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<SetString-request>)))
51
+ "Returns string type for a service object of type '<SetString-request>"
52
+ "astra_camera/SetStringRequest")
53
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'SetString-request)))
54
+ "Returns string type for a service object of type 'SetString-request"
55
+ "astra_camera/SetStringRequest")
56
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<SetString-request>)))
57
+ "Returns md5sum for a message object of type '<SetString-request>"
58
+ "546971982e3fbbd5a41e60fb6432e357")
59
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'SetString-request)))
60
+ "Returns md5sum for a message object of type 'SetString-request"
61
+ "546971982e3fbbd5a41e60fb6432e357")
62
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<SetString-request>)))
63
+ "Returns full string definition for message of type '<SetString-request>"
64
+ (cl:format cl:nil "string data~%~%~%"))
65
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'SetString-request)))
66
+ "Returns full string definition for message of type 'SetString-request"
67
+ (cl:format cl:nil "string data~%~%~%"))
68
+ (cl:defmethod roslisp-msg-protocol:serialization-length ((msg <SetString-request>))
69
+ (cl:+ 0
70
+ 4 (cl:length (cl:slot-value msg 'data))
71
+ ))
72
+ (cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <SetString-request>))
73
+ "Converts a ROS message object to a list"
74
+ (cl:list 'SetString-request
75
+ (cl:cons ':data (data msg))
76
+ ))
77
+ ;//! \htmlinclude SetString-response.msg.html
78
+
79
+ (cl:defclass <SetString-response> (roslisp-msg-protocol:ros-message)
80
+ ((success
81
+ :reader success
82
+ :initarg :success
83
+ :type cl:boolean
84
+ :initform cl:nil)
85
+ (message
86
+ :reader message
87
+ :initarg :message
88
+ :type cl:string
89
+ :initform ""))
90
+ )
91
+
92
+ (cl:defclass SetString-response (<SetString-response>)
93
+ ())
94
+
95
+ (cl:defmethod cl:initialize-instance :after ((m <SetString-response>) cl:&rest args)
96
+ (cl:declare (cl:ignorable args))
97
+ (cl:unless (cl:typep m 'SetString-response)
98
+ (roslisp-msg-protocol:msg-deprecation-warning "using old message class name astra_camera-srv:<SetString-response> is deprecated: use astra_camera-srv:SetString-response instead.")))
99
+
100
+ (cl:ensure-generic-function 'success-val :lambda-list '(m))
101
+ (cl:defmethod success-val ((m <SetString-response>))
102
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:success-val is deprecated. Use astra_camera-srv:success instead.")
103
+ (success m))
104
+
105
+ (cl:ensure-generic-function 'message-val :lambda-list '(m))
106
+ (cl:defmethod message-val ((m <SetString-response>))
107
+ (roslisp-msg-protocol:msg-deprecation-warning "Using old-style slot reader astra_camera-srv:message-val is deprecated. Use astra_camera-srv:message instead.")
108
+ (message m))
109
+ (cl:defmethod roslisp-msg-protocol:serialize ((msg <SetString-response>) ostream)
110
+ "Serializes a message object of type '<SetString-response>"
111
+ (cl:write-byte (cl:ldb (cl:byte 8 0) (cl:if (cl:slot-value msg 'success) 1 0)) ostream)
112
+ (cl:let ((__ros_str_len (cl:length (cl:slot-value msg 'message))))
113
+ (cl:write-byte (cl:ldb (cl:byte 8 0) __ros_str_len) ostream)
114
+ (cl:write-byte (cl:ldb (cl:byte 8 8) __ros_str_len) ostream)
115
+ (cl:write-byte (cl:ldb (cl:byte 8 16) __ros_str_len) ostream)
116
+ (cl:write-byte (cl:ldb (cl:byte 8 24) __ros_str_len) ostream))
117
+ (cl:map cl:nil #'(cl:lambda (c) (cl:write-byte (cl:char-code c) ostream)) (cl:slot-value msg 'message))
118
+ )
119
+ (cl:defmethod roslisp-msg-protocol:deserialize ((msg <SetString-response>) istream)
120
+ "Deserializes a message object of type '<SetString-response>"
121
+ (cl:setf (cl:slot-value msg 'success) (cl:not (cl:zerop (cl:read-byte istream))))
122
+ (cl:let ((__ros_str_len 0))
123
+ (cl:setf (cl:ldb (cl:byte 8 0) __ros_str_len) (cl:read-byte istream))
124
+ (cl:setf (cl:ldb (cl:byte 8 8) __ros_str_len) (cl:read-byte istream))
125
+ (cl:setf (cl:ldb (cl:byte 8 16) __ros_str_len) (cl:read-byte istream))
126
+ (cl:setf (cl:ldb (cl:byte 8 24) __ros_str_len) (cl:read-byte istream))
127
+ (cl:setf (cl:slot-value msg 'message) (cl:make-string __ros_str_len))
128
+ (cl:dotimes (__ros_str_idx __ros_str_len msg)
129
+ (cl:setf (cl:char (cl:slot-value msg 'message) __ros_str_idx) (cl:code-char (cl:read-byte istream)))))
130
+ msg
131
+ )
132
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql '<SetString-response>)))
133
+ "Returns string type for a service object of type '<SetString-response>"
134
+ "astra_camera/SetStringResponse")
135
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'SetString-response)))
136
+ "Returns string type for a service object of type 'SetString-response"
137
+ "astra_camera/SetStringResponse")
138
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql '<SetString-response>)))
139
+ "Returns md5sum for a message object of type '<SetString-response>"
140
+ "546971982e3fbbd5a41e60fb6432e357")
141
+ (cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'SetString-response)))
142
+ "Returns md5sum for a message object of type 'SetString-response"
143
+ "546971982e3fbbd5a41e60fb6432e357")
144
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql '<SetString-response>)))
145
+ "Returns full string definition for message of type '<SetString-response>"
146
+ (cl:format cl:nil "bool success~%string message~%~%~%~%"))
147
+ (cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'SetString-response)))
148
+ "Returns full string definition for message of type 'SetString-response"
149
+ (cl:format cl:nil "bool success~%string message~%~%~%~%"))
150
+ (cl:defmethod roslisp-msg-protocol:serialization-length ((msg <SetString-response>))
151
+ (cl:+ 0
152
+ 1
153
+ 4 (cl:length (cl:slot-value msg 'message))
154
+ ))
155
+ (cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg <SetString-response>))
156
+ "Converts a ROS message object to a list"
157
+ (cl:list 'SetString-response
158
+ (cl:cons ':success (success msg))
159
+ (cl:cons ':message (message msg))
160
+ ))
161
+ (cl:defmethod roslisp-msg-protocol:service-request-type ((msg (cl:eql 'SetString)))
162
+ 'SetString-request)
163
+ (cl:defmethod roslisp-msg-protocol:service-response-type ((msg (cl:eql 'SetString)))
164
+ 'SetString-response)
165
+ (cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'SetString)))
166
+ "Returns string type for a service object of type '<SetString>"
167
+ "astra_camera/SetString")
camera_ws/devel/share/common-lisp/ros/astra_camera/srv/_package.lisp ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (cl:defpackage astra_camera-srv
2
+ (:use )
3
+ (:export
4
+ "GETBOOL"
5
+ "<GETBOOL-REQUEST>"
6
+ "GETBOOL-REQUEST"
7
+ "<GETBOOL-RESPONSE>"
8
+ "GETBOOL-RESPONSE"
9
+ "GETCAMERAINFO"
10
+ "<GETCAMERAINFO-REQUEST>"
11
+ "GETCAMERAINFO-REQUEST"
12
+ "<GETCAMERAINFO-RESPONSE>"
13
+ "GETCAMERAINFO-RESPONSE"
14
+ "GETCAMERAPARAMS"
15
+ "<GETCAMERAPARAMS-REQUEST>"
16
+ "GETCAMERAPARAMS-REQUEST"
17
+ "<GETCAMERAPARAMS-RESPONSE>"
18
+ "GETCAMERAPARAMS-RESPONSE"
19
+ "GETDEVICEINFO"
20
+ "<GETDEVICEINFO-REQUEST>"
21
+ "GETDEVICEINFO-REQUEST"
22
+ "<GETDEVICEINFO-RESPONSE>"
23
+ "GETDEVICEINFO-RESPONSE"
24
+ "GETDOUBLE"
25
+ "<GETDOUBLE-REQUEST>"
26
+ "GETDOUBLE-REQUEST"
27
+ "<GETDOUBLE-RESPONSE>"
28
+ "GETDOUBLE-RESPONSE"
29
+ "GETINT32"
30
+ "<GETINT32-REQUEST>"
31
+ "GETINT32-REQUEST"
32
+ "<GETINT32-RESPONSE>"
33
+ "GETINT32-RESPONSE"
34
+ "GETSTRING"
35
+ "<GETSTRING-REQUEST>"
36
+ "GETSTRING-REQUEST"
37
+ "<GETSTRING-RESPONSE>"
38
+ "GETSTRING-RESPONSE"
39
+ "SETINT32"
40
+ "<SETINT32-REQUEST>"
41
+ "SETINT32-REQUEST"
42
+ "<SETINT32-RESPONSE>"
43
+ "SETINT32-RESPONSE"
44
+ "SETSTRING"
45
+ "<SETSTRING-REQUEST>"
46
+ "SETSTRING-REQUEST"
47
+ "<SETSTRING-RESPONSE>"
48
+ "SETSTRING-RESPONSE"
49
+ ))
50
+
camera_ws/devel/share/common-lisp/ros/astra_camera/srv/_package_GetBool.lisp ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ (cl:in-package astra_camera-srv)
2
+ (cl:export '(DATA-VAL
3
+ DATA
4
+ SUCCESS-VAL
5
+ SUCCESS
6
+ MESSAGE-VAL
7
+ MESSAGE
8
+ ))
camera_ws/devel/share/common-lisp/ros/astra_camera/srv/_package_GetCameraInfo.lisp ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ (cl:in-package astra_camera-srv)
2
+ (cl:export '(INFO-VAL
3
+ INFO
4
+ SUCCESS-VAL
5
+ SUCCESS
6
+ MESSAGE-VAL
7
+ MESSAGE
8
+ ))
camera_ws/devel/share/common-lisp/ros/astra_camera/srv/_package_GetCameraParams.lisp ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (cl:in-package astra_camera-srv)
2
+ (cl:export '(L_INTR_P-VAL
3
+ L_INTR_P
4
+ R_INTR_P-VAL
5
+ R_INTR_P
6
+ R2L_R-VAL
7
+ R2L_R
8
+ R2L_T-VAL
9
+ R2L_T
10
+ L_K-VAL
11
+ L_K
12
+ R_K-VAL
13
+ R_K
14
+ SUCCESS-VAL
15
+ SUCCESS
16
+ MESSAGE-VAL
17
+ MESSAGE
18
+ ))
camera_ws/devel/share/common-lisp/ros/astra_camera/srv/_package_GetDeviceInfo.lisp ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ (cl:in-package astra_camera-srv)
2
+ (cl:export '(INFO-VAL
3
+ INFO
4
+ SUCCESS-VAL
5
+ SUCCESS
6
+ MESSAGE-VAL
7
+ MESSAGE
8
+ ))
camera_ws/devel/share/common-lisp/ros/astra_camera/srv/_package_GetDouble.lisp ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ (cl:in-package astra_camera-srv)
2
+ (cl:export '(DATA-VAL
3
+ DATA
4
+ SUCCESS-VAL
5
+ SUCCESS
6
+ MESSAGE-VAL
7
+ MESSAGE
8
+ ))
camera_ws/devel/share/common-lisp/ros/astra_camera/srv/_package_GetInt32.lisp ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ (cl:in-package astra_camera-srv)
2
+ (cl:export '(DATA-VAL
3
+ DATA
4
+ SUCCESS-VAL
5
+ SUCCESS
6
+ MESSAGE-VAL
7
+ MESSAGE
8
+ ))
camera_ws/devel/share/common-lisp/ros/astra_camera/srv/_package_GetString.lisp ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ (cl:in-package astra_camera-srv)
2
+ (cl:export '(DATA-VAL
3
+ DATA
4
+ SUCCESS-VAL
5
+ SUCCESS
6
+ MESSAGE-VAL
7
+ MESSAGE
8
+ ))
camera_ws/devel/share/common-lisp/ros/astra_camera/srv/_package_SetInt32.lisp ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ (cl:in-package astra_camera-srv)
2
+ (cl:export '(DATA-VAL
3
+ DATA
4
+ SUCCESS-VAL
5
+ SUCCESS
6
+ MESSAGE-VAL
7
+ MESSAGE
8
+ ))
camera_ws/devel/share/common-lisp/ros/astra_camera/srv/_package_SetString.lisp ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ (cl:in-package astra_camera-srv)
2
+ (cl:export '(DATA-VAL
3
+ DATA
4
+ SUCCESS-VAL
5
+ SUCCESS
6
+ MESSAGE-VAL
7
+ MESSAGE
8
+ ))
camera_ws/devel/share/common-lisp/ros/astra_camera/srv/astra_camera-srv.asd ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ (cl:in-package :asdf)
3
+
4
+ (defsystem "astra_camera-srv"
5
+ :depends-on (:roslisp-msg-protocol :roslisp-utils :astra_camera-msg
6
+ :sensor_msgs-msg
7
+ )
8
+ :components ((:file "_package")
9
+ (:file "GetBool" :depends-on ("_package_GetBool"))
10
+ (:file "_package_GetBool" :depends-on ("_package"))
11
+ (:file "GetCameraInfo" :depends-on ("_package_GetCameraInfo"))
12
+ (:file "_package_GetCameraInfo" :depends-on ("_package"))
13
+ (:file "GetCameraParams" :depends-on ("_package_GetCameraParams"))
14
+ (:file "_package_GetCameraParams" :depends-on ("_package"))
15
+ (:file "GetDeviceInfo" :depends-on ("_package_GetDeviceInfo"))
16
+ (:file "_package_GetDeviceInfo" :depends-on ("_package"))
17
+ (:file "GetDouble" :depends-on ("_package_GetDouble"))
18
+ (:file "_package_GetDouble" :depends-on ("_package"))
19
+ (:file "GetInt32" :depends-on ("_package_GetInt32"))
20
+ (:file "_package_GetInt32" :depends-on ("_package"))
21
+ (:file "GetString" :depends-on ("_package_GetString"))
22
+ (:file "_package_GetString" :depends-on ("_package"))
23
+ (:file "SetInt32" :depends-on ("_package_SetInt32"))
24
+ (:file "_package_SetInt32" :depends-on ("_package"))
25
+ (:file "SetString" :depends-on ("_package_SetString"))
26
+ (:file "_package_SetString" :depends-on ("_package"))
27
+ ))
camera_ws/devel/share/common-lisp/ros/realsense2_camera/msg/_package_IMUInfo.lisp ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ (cl:in-package realsense2_camera-msg)
2
+ (cl:export '(FRAME_ID-VAL
3
+ FRAME_ID
4
+ DATA-VAL
5
+ DATA
6
+ NOISE_VARIANCES-VAL
7
+ NOISE_VARIANCES
8
+ BIAS_VARIANCES-VAL
9
+ BIAS_VARIANCES
10
+ ))
camera_ws/devel/share/gennodejs/ros/astra_camera/_index.js ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+
2
+ "use strict";
3
+
4
+ module.exports = {
5
+ msg: require('./msg/_index.js'),
6
+ srv: require('./srv/_index.js')
7
+ };
camera_ws/devel/share/gennodejs/ros/astra_camera/msg/DeviceInfo.js ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Auto-generated. Do not edit!
2
+
3
+ // (in-package astra_camera.msg)
4
+
5
+
6
+ "use strict";
7
+
8
+ const _serializer = _ros_msg_utils.Serialize;
9
+ const _arraySerializer = _serializer.Array;
10
+ const _deserializer = _ros_msg_utils.Deserialize;
11
+ const _arrayDeserializer = _deserializer.Array;
12
+ const _finder = _ros_msg_utils.Find;
13
+ const _getByteLength = _ros_msg_utils.getByteLength;
14
+ let std_msgs = _finder('std_msgs');
15
+
16
+ //-----------------------------------------------------------
17
+
18
+ class DeviceInfo {
19
+ constructor(initObj={}) {
20
+ if (initObj === null) {
21
+ // initObj === null is a special case for deserialization where we don't initialize fields
22
+ this.header = null;
23
+ this.name = null;
24
+ this.vid = null;
25
+ this.pid = null;
26
+ this.serial_number = null;
27
+ this.firmware_version = null;
28
+ this.supported_min_sdk_version = null;
29
+ this.hardware_version = null;
30
+ }
31
+ else {
32
+ if (initObj.hasOwnProperty('header')) {
33
+ this.header = initObj.header
34
+ }
35
+ else {
36
+ this.header = new std_msgs.msg.Header();
37
+ }
38
+ if (initObj.hasOwnProperty('name')) {
39
+ this.name = initObj.name
40
+ }
41
+ else {
42
+ this.name = '';
43
+ }
44
+ if (initObj.hasOwnProperty('vid')) {
45
+ this.vid = initObj.vid
46
+ }
47
+ else {
48
+ this.vid = 0;
49
+ }
50
+ if (initObj.hasOwnProperty('pid')) {
51
+ this.pid = initObj.pid
52
+ }
53
+ else {
54
+ this.pid = 0;
55
+ }
56
+ if (initObj.hasOwnProperty('serial_number')) {
57
+ this.serial_number = initObj.serial_number
58
+ }
59
+ else {
60
+ this.serial_number = '';
61
+ }
62
+ if (initObj.hasOwnProperty('firmware_version')) {
63
+ this.firmware_version = initObj.firmware_version
64
+ }
65
+ else {
66
+ this.firmware_version = '';
67
+ }
68
+ if (initObj.hasOwnProperty('supported_min_sdk_version')) {
69
+ this.supported_min_sdk_version = initObj.supported_min_sdk_version
70
+ }
71
+ else {
72
+ this.supported_min_sdk_version = '';
73
+ }
74
+ if (initObj.hasOwnProperty('hardware_version')) {
75
+ this.hardware_version = initObj.hardware_version
76
+ }
77
+ else {
78
+ this.hardware_version = '';
79
+ }
80
+ }
81
+ }
82
+
83
+ static serialize(obj, buffer, bufferOffset) {
84
+ // Serializes a message object of type DeviceInfo
85
+ // Serialize message field [header]
86
+ bufferOffset = std_msgs.msg.Header.serialize(obj.header, buffer, bufferOffset);
87
+ // Serialize message field [name]
88
+ bufferOffset = _serializer.string(obj.name, buffer, bufferOffset);
89
+ // Serialize message field [vid]
90
+ bufferOffset = _serializer.int32(obj.vid, buffer, bufferOffset);
91
+ // Serialize message field [pid]
92
+ bufferOffset = _serializer.int32(obj.pid, buffer, bufferOffset);
93
+ // Serialize message field [serial_number]
94
+ bufferOffset = _serializer.string(obj.serial_number, buffer, bufferOffset);
95
+ // Serialize message field [firmware_version]
96
+ bufferOffset = _serializer.string(obj.firmware_version, buffer, bufferOffset);
97
+ // Serialize message field [supported_min_sdk_version]
98
+ bufferOffset = _serializer.string(obj.supported_min_sdk_version, buffer, bufferOffset);
99
+ // Serialize message field [hardware_version]
100
+ bufferOffset = _serializer.string(obj.hardware_version, buffer, bufferOffset);
101
+ return bufferOffset;
102
+ }
103
+
104
+ static deserialize(buffer, bufferOffset=[0]) {
105
+ //deserializes a message object of type DeviceInfo
106
+ let len;
107
+ let data = new DeviceInfo(null);
108
+ // Deserialize message field [header]
109
+ data.header = std_msgs.msg.Header.deserialize(buffer, bufferOffset);
110
+ // Deserialize message field [name]
111
+ data.name = _deserializer.string(buffer, bufferOffset);
112
+ // Deserialize message field [vid]
113
+ data.vid = _deserializer.int32(buffer, bufferOffset);
114
+ // Deserialize message field [pid]
115
+ data.pid = _deserializer.int32(buffer, bufferOffset);
116
+ // Deserialize message field [serial_number]
117
+ data.serial_number = _deserializer.string(buffer, bufferOffset);
118
+ // Deserialize message field [firmware_version]
119
+ data.firmware_version = _deserializer.string(buffer, bufferOffset);
120
+ // Deserialize message field [supported_min_sdk_version]
121
+ data.supported_min_sdk_version = _deserializer.string(buffer, bufferOffset);
122
+ // Deserialize message field [hardware_version]
123
+ data.hardware_version = _deserializer.string(buffer, bufferOffset);
124
+ return data;
125
+ }
126
+
127
+ static getMessageSize(object) {
128
+ let length = 0;
129
+ length += std_msgs.msg.Header.getMessageSize(object.header);
130
+ length += _getByteLength(object.name);
131
+ length += _getByteLength(object.serial_number);
132
+ length += _getByteLength(object.firmware_version);
133
+ length += _getByteLength(object.supported_min_sdk_version);
134
+ length += _getByteLength(object.hardware_version);
135
+ return length + 28;
136
+ }
137
+
138
+ static datatype() {
139
+ // Returns string type for a message object
140
+ return 'astra_camera/DeviceInfo';
141
+ }
142
+
143
+ static md5sum() {
144
+ //Returns md5sum for a message object
145
+ return 'f8aabac6d632dd2641eb4f5942464a66';
146
+ }
147
+
148
+ static messageDefinition() {
149
+ // Returns full string definition for message
150
+ return `
151
+ std_msgs/Header header
152
+ string name
153
+ int32 vid
154
+ int32 pid
155
+ string serial_number
156
+ string firmware_version
157
+ string supported_min_sdk_version
158
+ string hardware_version
159
+
160
+ ================================================================================
161
+ MSG: std_msgs/Header
162
+ # Standard metadata for higher-level stamped data types.
163
+ # This is generally used to communicate timestamped data
164
+ # in a particular coordinate frame.
165
+ #
166
+ # sequence ID: consecutively increasing ID
167
+ uint32 seq
168
+ #Two-integer timestamp that is expressed as:
169
+ # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')
170
+ # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')
171
+ # time-handling sugar is provided by the client library
172
+ time stamp
173
+ #Frame this data is associated with
174
+ string frame_id
175
+
176
+ `;
177
+ }
178
+
179
+ static Resolve(msg) {
180
+ // deep-construct a valid message object instance of whatever was passed in
181
+ if (typeof msg !== 'object' || msg === null) {
182
+ msg = {};
183
+ }
184
+ const resolved = new DeviceInfo(null);
185
+ if (msg.header !== undefined) {
186
+ resolved.header = std_msgs.msg.Header.Resolve(msg.header)
187
+ }
188
+ else {
189
+ resolved.header = new std_msgs.msg.Header()
190
+ }
191
+
192
+ if (msg.name !== undefined) {
193
+ resolved.name = msg.name;
194
+ }
195
+ else {
196
+ resolved.name = ''
197
+ }
198
+
199
+ if (msg.vid !== undefined) {
200
+ resolved.vid = msg.vid;
201
+ }
202
+ else {
203
+ resolved.vid = 0
204
+ }
205
+
206
+ if (msg.pid !== undefined) {
207
+ resolved.pid = msg.pid;
208
+ }
209
+ else {
210
+ resolved.pid = 0
211
+ }
212
+
213
+ if (msg.serial_number !== undefined) {
214
+ resolved.serial_number = msg.serial_number;
215
+ }
216
+ else {
217
+ resolved.serial_number = ''
218
+ }
219
+
220
+ if (msg.firmware_version !== undefined) {
221
+ resolved.firmware_version = msg.firmware_version;
222
+ }
223
+ else {
224
+ resolved.firmware_version = ''
225
+ }
226
+
227
+ if (msg.supported_min_sdk_version !== undefined) {
228
+ resolved.supported_min_sdk_version = msg.supported_min_sdk_version;
229
+ }
230
+ else {
231
+ resolved.supported_min_sdk_version = ''
232
+ }
233
+
234
+ if (msg.hardware_version !== undefined) {
235
+ resolved.hardware_version = msg.hardware_version;
236
+ }
237
+ else {
238
+ resolved.hardware_version = ''
239
+ }
240
+
241
+ return resolved;
242
+ }
243
+ };
244
+
245
+ module.exports = DeviceInfo;
camera_ws/devel/share/gennodejs/ros/astra_camera/msg/Extrinsics.js ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Auto-generated. Do not edit!
2
+
3
+ // (in-package astra_camera.msg)
4
+
5
+
6
+ "use strict";
7
+
8
+ const _serializer = _ros_msg_utils.Serialize;
9
+ const _arraySerializer = _serializer.Array;
10
+ const _deserializer = _ros_msg_utils.Deserialize;
11
+ const _arrayDeserializer = _deserializer.Array;
12
+ const _finder = _ros_msg_utils.Find;
13
+ const _getByteLength = _ros_msg_utils.getByteLength;
14
+ let std_msgs = _finder('std_msgs');
15
+
16
+ //-----------------------------------------------------------
17
+
18
+ class Extrinsics {
19
+ constructor(initObj={}) {
20
+ if (initObj === null) {
21
+ // initObj === null is a special case for deserialization where we don't initialize fields
22
+ this.header = null;
23
+ this.rotation = null;
24
+ this.translation = null;
25
+ }
26
+ else {
27
+ if (initObj.hasOwnProperty('header')) {
28
+ this.header = initObj.header
29
+ }
30
+ else {
31
+ this.header = new std_msgs.msg.Header();
32
+ }
33
+ if (initObj.hasOwnProperty('rotation')) {
34
+ this.rotation = initObj.rotation
35
+ }
36
+ else {
37
+ this.rotation = new Array(9).fill(0);
38
+ }
39
+ if (initObj.hasOwnProperty('translation')) {
40
+ this.translation = initObj.translation
41
+ }
42
+ else {
43
+ this.translation = new Array(3).fill(0);
44
+ }
45
+ }
46
+ }
47
+
48
+ static serialize(obj, buffer, bufferOffset) {
49
+ // Serializes a message object of type Extrinsics
50
+ // Serialize message field [header]
51
+ bufferOffset = std_msgs.msg.Header.serialize(obj.header, buffer, bufferOffset);
52
+ // Check that the constant length array field [rotation] has the right length
53
+ if (obj.rotation.length !== 9) {
54
+ throw new Error('Unable to serialize array field rotation - length must be 9')
55
+ }
56
+ // Serialize message field [rotation]
57
+ bufferOffset = _arraySerializer.float64(obj.rotation, buffer, bufferOffset, 9);
58
+ // Check that the constant length array field [translation] has the right length
59
+ if (obj.translation.length !== 3) {
60
+ throw new Error('Unable to serialize array field translation - length must be 3')
61
+ }
62
+ // Serialize message field [translation]
63
+ bufferOffset = _arraySerializer.float64(obj.translation, buffer, bufferOffset, 3);
64
+ return bufferOffset;
65
+ }
66
+
67
+ static deserialize(buffer, bufferOffset=[0]) {
68
+ //deserializes a message object of type Extrinsics
69
+ let len;
70
+ let data = new Extrinsics(null);
71
+ // Deserialize message field [header]
72
+ data.header = std_msgs.msg.Header.deserialize(buffer, bufferOffset);
73
+ // Deserialize message field [rotation]
74
+ data.rotation = _arrayDeserializer.float64(buffer, bufferOffset, 9)
75
+ // Deserialize message field [translation]
76
+ data.translation = _arrayDeserializer.float64(buffer, bufferOffset, 3)
77
+ return data;
78
+ }
79
+
80
+ static getMessageSize(object) {
81
+ let length = 0;
82
+ length += std_msgs.msg.Header.getMessageSize(object.header);
83
+ return length + 96;
84
+ }
85
+
86
+ static datatype() {
87
+ // Returns string type for a message object
88
+ return 'astra_camera/Extrinsics';
89
+ }
90
+
91
+ static md5sum() {
92
+ //Returns md5sum for a message object
93
+ return '3627b43073f4cd5dd6dc179a49eda2ad';
94
+ }
95
+
96
+ static messageDefinition() {
97
+ // Returns full string definition for message
98
+ return `
99
+ std_msgs/Header header
100
+ float64[9] rotation
101
+ float64[3] translation
102
+
103
+ ================================================================================
104
+ MSG: std_msgs/Header
105
+ # Standard metadata for higher-level stamped data types.
106
+ # This is generally used to communicate timestamped data
107
+ # in a particular coordinate frame.
108
+ #
109
+ # sequence ID: consecutively increasing ID
110
+ uint32 seq
111
+ #Two-integer timestamp that is expressed as:
112
+ # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')
113
+ # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')
114
+ # time-handling sugar is provided by the client library
115
+ time stamp
116
+ #Frame this data is associated with
117
+ string frame_id
118
+
119
+ `;
120
+ }
121
+
122
+ static Resolve(msg) {
123
+ // deep-construct a valid message object instance of whatever was passed in
124
+ if (typeof msg !== 'object' || msg === null) {
125
+ msg = {};
126
+ }
127
+ const resolved = new Extrinsics(null);
128
+ if (msg.header !== undefined) {
129
+ resolved.header = std_msgs.msg.Header.Resolve(msg.header)
130
+ }
131
+ else {
132
+ resolved.header = new std_msgs.msg.Header()
133
+ }
134
+
135
+ if (msg.rotation !== undefined) {
136
+ resolved.rotation = msg.rotation;
137
+ }
138
+ else {
139
+ resolved.rotation = new Array(9).fill(0)
140
+ }
141
+
142
+ if (msg.translation !== undefined) {
143
+ resolved.translation = msg.translation;
144
+ }
145
+ else {
146
+ resolved.translation = new Array(3).fill(0)
147
+ }
148
+
149
+ return resolved;
150
+ }
151
+ };
152
+
153
+ module.exports = Extrinsics;
camera_ws/devel/share/gennodejs/ros/astra_camera/msg/Metadata.js ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Auto-generated. Do not edit!
2
+
3
+ // (in-package astra_camera.msg)
4
+
5
+
6
+ "use strict";
7
+
8
+ const _serializer = _ros_msg_utils.Serialize;
9
+ const _arraySerializer = _serializer.Array;
10
+ const _deserializer = _ros_msg_utils.Deserialize;
11
+ const _arrayDeserializer = _deserializer.Array;
12
+ const _finder = _ros_msg_utils.Find;
13
+ const _getByteLength = _ros_msg_utils.getByteLength;
14
+ let std_msgs = _finder('std_msgs');
15
+
16
+ //-----------------------------------------------------------
17
+
18
+ class Metadata {
19
+ constructor(initObj={}) {
20
+ if (initObj === null) {
21
+ // initObj === null is a special case for deserialization where we don't initialize fields
22
+ this.header = null;
23
+ this.json_data = null;
24
+ }
25
+ else {
26
+ if (initObj.hasOwnProperty('header')) {
27
+ this.header = initObj.header
28
+ }
29
+ else {
30
+ this.header = new std_msgs.msg.Header();
31
+ }
32
+ if (initObj.hasOwnProperty('json_data')) {
33
+ this.json_data = initObj.json_data
34
+ }
35
+ else {
36
+ this.json_data = '';
37
+ }
38
+ }
39
+ }
40
+
41
+ static serialize(obj, buffer, bufferOffset) {
42
+ // Serializes a message object of type Metadata
43
+ // Serialize message field [header]
44
+ bufferOffset = std_msgs.msg.Header.serialize(obj.header, buffer, bufferOffset);
45
+ // Serialize message field [json_data]
46
+ bufferOffset = _serializer.string(obj.json_data, buffer, bufferOffset);
47
+ return bufferOffset;
48
+ }
49
+
50
+ static deserialize(buffer, bufferOffset=[0]) {
51
+ //deserializes a message object of type Metadata
52
+ let len;
53
+ let data = new Metadata(null);
54
+ // Deserialize message field [header]
55
+ data.header = std_msgs.msg.Header.deserialize(buffer, bufferOffset);
56
+ // Deserialize message field [json_data]
57
+ data.json_data = _deserializer.string(buffer, bufferOffset);
58
+ return data;
59
+ }
60
+
61
+ static getMessageSize(object) {
62
+ let length = 0;
63
+ length += std_msgs.msg.Header.getMessageSize(object.header);
64
+ length += _getByteLength(object.json_data);
65
+ return length + 4;
66
+ }
67
+
68
+ static datatype() {
69
+ // Returns string type for a message object
70
+ return 'astra_camera/Metadata';
71
+ }
72
+
73
+ static md5sum() {
74
+ //Returns md5sum for a message object
75
+ return '4966ca002be16ee67fe4dbfb2f354787';
76
+ }
77
+
78
+ static messageDefinition() {
79
+ // Returns full string definition for message
80
+ return `
81
+ std_msgs/Header header
82
+ string json_data
83
+
84
+ ================================================================================
85
+ MSG: std_msgs/Header
86
+ # Standard metadata for higher-level stamped data types.
87
+ # This is generally used to communicate timestamped data
88
+ # in a particular coordinate frame.
89
+ #
90
+ # sequence ID: consecutively increasing ID
91
+ uint32 seq
92
+ #Two-integer timestamp that is expressed as:
93
+ # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')
94
+ # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')
95
+ # time-handling sugar is provided by the client library
96
+ time stamp
97
+ #Frame this data is associated with
98
+ string frame_id
99
+
100
+ `;
101
+ }
102
+
103
+ static Resolve(msg) {
104
+ // deep-construct a valid message object instance of whatever was passed in
105
+ if (typeof msg !== 'object' || msg === null) {
106
+ msg = {};
107
+ }
108
+ const resolved = new Metadata(null);
109
+ if (msg.header !== undefined) {
110
+ resolved.header = std_msgs.msg.Header.Resolve(msg.header)
111
+ }
112
+ else {
113
+ resolved.header = new std_msgs.msg.Header()
114
+ }
115
+
116
+ if (msg.json_data !== undefined) {
117
+ resolved.json_data = msg.json_data;
118
+ }
119
+ else {
120
+ resolved.json_data = ''
121
+ }
122
+
123
+ return resolved;
124
+ }
125
+ };
126
+
127
+ module.exports = Metadata;
camera_ws/devel/share/gennodejs/ros/astra_camera/msg/_index.js ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ "use strict";
3
+
4
+ let DeviceInfo = require('./DeviceInfo.js');
5
+ let Metadata = require('./Metadata.js');
6
+ let Extrinsics = require('./Extrinsics.js');
7
+
8
+ module.exports = {
9
+ DeviceInfo: DeviceInfo,
10
+ Metadata: Metadata,
11
+ Extrinsics: Extrinsics,
12
+ };
camera_ws/devel/share/gennodejs/ros/astra_camera/srv/GetBool.js ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Auto-generated. Do not edit!
2
+
3
+ // (in-package astra_camera.srv)
4
+
5
+
6
+ "use strict";
7
+
8
+ const _serializer = _ros_msg_utils.Serialize;
9
+ const _arraySerializer = _serializer.Array;
10
+ const _deserializer = _ros_msg_utils.Deserialize;
11
+ const _arrayDeserializer = _deserializer.Array;
12
+ const _finder = _ros_msg_utils.Find;
13
+ const _getByteLength = _ros_msg_utils.getByteLength;
14
+
15
+ //-----------------------------------------------------------
16
+
17
+
18
+ //-----------------------------------------------------------
19
+
20
+ class GetBoolRequest {
21
+ constructor(initObj={}) {
22
+ if (initObj === null) {
23
+ // initObj === null is a special case for deserialization where we don't initialize fields
24
+ }
25
+ else {
26
+ }
27
+ }
28
+
29
+ static serialize(obj, buffer, bufferOffset) {
30
+ // Serializes a message object of type GetBoolRequest
31
+ return bufferOffset;
32
+ }
33
+
34
+ static deserialize(buffer, bufferOffset=[0]) {
35
+ //deserializes a message object of type GetBoolRequest
36
+ let len;
37
+ let data = new GetBoolRequest(null);
38
+ return data;
39
+ }
40
+
41
+ static getMessageSize(object) {
42
+ return 0;
43
+ }
44
+
45
+ static datatype() {
46
+ // Returns string type for a service object
47
+ return 'astra_camera/GetBoolRequest';
48
+ }
49
+
50
+ static md5sum() {
51
+ //Returns md5sum for a message object
52
+ return 'd41d8cd98f00b204e9800998ecf8427e';
53
+ }
54
+
55
+ static messageDefinition() {
56
+ // Returns full string definition for message
57
+ return `
58
+
59
+ `;
60
+ }
61
+
62
+ static Resolve(msg) {
63
+ // deep-construct a valid message object instance of whatever was passed in
64
+ if (typeof msg !== 'object' || msg === null) {
65
+ msg = {};
66
+ }
67
+ const resolved = new GetBoolRequest(null);
68
+ return resolved;
69
+ }
70
+ };
71
+
72
+ class GetBoolResponse {
73
+ constructor(initObj={}) {
74
+ if (initObj === null) {
75
+ // initObj === null is a special case for deserialization where we don't initialize fields
76
+ this.data = null;
77
+ this.success = null;
78
+ this.message = null;
79
+ }
80
+ else {
81
+ if (initObj.hasOwnProperty('data')) {
82
+ this.data = initObj.data
83
+ }
84
+ else {
85
+ this.data = false;
86
+ }
87
+ if (initObj.hasOwnProperty('success')) {
88
+ this.success = initObj.success
89
+ }
90
+ else {
91
+ this.success = false;
92
+ }
93
+ if (initObj.hasOwnProperty('message')) {
94
+ this.message = initObj.message
95
+ }
96
+ else {
97
+ this.message = '';
98
+ }
99
+ }
100
+ }
101
+
102
+ static serialize(obj, buffer, bufferOffset) {
103
+ // Serializes a message object of type GetBoolResponse
104
+ // Serialize message field [data]
105
+ bufferOffset = _serializer.bool(obj.data, buffer, bufferOffset);
106
+ // Serialize message field [success]
107
+ bufferOffset = _serializer.bool(obj.success, buffer, bufferOffset);
108
+ // Serialize message field [message]
109
+ bufferOffset = _serializer.string(obj.message, buffer, bufferOffset);
110
+ return bufferOffset;
111
+ }
112
+
113
+ static deserialize(buffer, bufferOffset=[0]) {
114
+ //deserializes a message object of type GetBoolResponse
115
+ let len;
116
+ let data = new GetBoolResponse(null);
117
+ // Deserialize message field [data]
118
+ data.data = _deserializer.bool(buffer, bufferOffset);
119
+ // Deserialize message field [success]
120
+ data.success = _deserializer.bool(buffer, bufferOffset);
121
+ // Deserialize message field [message]
122
+ data.message = _deserializer.string(buffer, bufferOffset);
123
+ return data;
124
+ }
125
+
126
+ static getMessageSize(object) {
127
+ let length = 0;
128
+ length += _getByteLength(object.message);
129
+ return length + 6;
130
+ }
131
+
132
+ static datatype() {
133
+ // Returns string type for a service object
134
+ return 'astra_camera/GetBoolResponse';
135
+ }
136
+
137
+ static md5sum() {
138
+ //Returns md5sum for a message object
139
+ return '43f76a855b16e988566e147b692f2fab';
140
+ }
141
+
142
+ static messageDefinition() {
143
+ // Returns full string definition for message
144
+ return `
145
+ bool data
146
+ bool success
147
+ string message
148
+
149
+
150
+ `;
151
+ }
152
+
153
+ static Resolve(msg) {
154
+ // deep-construct a valid message object instance of whatever was passed in
155
+ if (typeof msg !== 'object' || msg === null) {
156
+ msg = {};
157
+ }
158
+ const resolved = new GetBoolResponse(null);
159
+ if (msg.data !== undefined) {
160
+ resolved.data = msg.data;
161
+ }
162
+ else {
163
+ resolved.data = false
164
+ }
165
+
166
+ if (msg.success !== undefined) {
167
+ resolved.success = msg.success;
168
+ }
169
+ else {
170
+ resolved.success = false
171
+ }
172
+
173
+ if (msg.message !== undefined) {
174
+ resolved.message = msg.message;
175
+ }
176
+ else {
177
+ resolved.message = ''
178
+ }
179
+
180
+ return resolved;
181
+ }
182
+ };
183
+
184
+ module.exports = {
185
+ Request: GetBoolRequest,
186
+ Response: GetBoolResponse,
187
+ md5sum() { return '43f76a855b16e988566e147b692f2fab'; },
188
+ datatype() { return 'astra_camera/GetBool'; }
189
+ };
camera_ws/devel/share/gennodejs/ros/astra_camera/srv/GetCameraParams.js ADDED
@@ -0,0 +1,308 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Auto-generated. Do not edit!
2
+
3
+ // (in-package astra_camera.srv)
4
+
5
+
6
+ "use strict";
7
+
8
+ const _serializer = _ros_msg_utils.Serialize;
9
+ const _arraySerializer = _serializer.Array;
10
+ const _deserializer = _ros_msg_utils.Deserialize;
11
+ const _arrayDeserializer = _deserializer.Array;
12
+ const _finder = _ros_msg_utils.Find;
13
+ const _getByteLength = _ros_msg_utils.getByteLength;
14
+
15
+ //-----------------------------------------------------------
16
+
17
+
18
+ //-----------------------------------------------------------
19
+
20
+ class GetCameraParamsRequest {
21
+ constructor(initObj={}) {
22
+ if (initObj === null) {
23
+ // initObj === null is a special case for deserialization where we don't initialize fields
24
+ }
25
+ else {
26
+ }
27
+ }
28
+
29
+ static serialize(obj, buffer, bufferOffset) {
30
+ // Serializes a message object of type GetCameraParamsRequest
31
+ return bufferOffset;
32
+ }
33
+
34
+ static deserialize(buffer, bufferOffset=[0]) {
35
+ //deserializes a message object of type GetCameraParamsRequest
36
+ let len;
37
+ let data = new GetCameraParamsRequest(null);
38
+ return data;
39
+ }
40
+
41
+ static getMessageSize(object) {
42
+ return 0;
43
+ }
44
+
45
+ static datatype() {
46
+ // Returns string type for a service object
47
+ return 'astra_camera/GetCameraParamsRequest';
48
+ }
49
+
50
+ static md5sum() {
51
+ //Returns md5sum for a message object
52
+ return 'd41d8cd98f00b204e9800998ecf8427e';
53
+ }
54
+
55
+ static messageDefinition() {
56
+ // Returns full string definition for message
57
+ return `
58
+
59
+ `;
60
+ }
61
+
62
+ static Resolve(msg) {
63
+ // deep-construct a valid message object instance of whatever was passed in
64
+ if (typeof msg !== 'object' || msg === null) {
65
+ msg = {};
66
+ }
67
+ const resolved = new GetCameraParamsRequest(null);
68
+ return resolved;
69
+ }
70
+ };
71
+
72
+ class GetCameraParamsResponse {
73
+ constructor(initObj={}) {
74
+ if (initObj === null) {
75
+ // initObj === null is a special case for deserialization where we don't initialize fields
76
+ this.l_intr_p = null;
77
+ this.r_intr_p = null;
78
+ this.r2l_r = null;
79
+ this.r2l_t = null;
80
+ this.l_k = null;
81
+ this.r_k = null;
82
+ this.success = null;
83
+ this.message = null;
84
+ }
85
+ else {
86
+ if (initObj.hasOwnProperty('l_intr_p')) {
87
+ this.l_intr_p = initObj.l_intr_p
88
+ }
89
+ else {
90
+ this.l_intr_p = new Array(4).fill(0);
91
+ }
92
+ if (initObj.hasOwnProperty('r_intr_p')) {
93
+ this.r_intr_p = initObj.r_intr_p
94
+ }
95
+ else {
96
+ this.r_intr_p = new Array(4).fill(0);
97
+ }
98
+ if (initObj.hasOwnProperty('r2l_r')) {
99
+ this.r2l_r = initObj.r2l_r
100
+ }
101
+ else {
102
+ this.r2l_r = new Array(9).fill(0);
103
+ }
104
+ if (initObj.hasOwnProperty('r2l_t')) {
105
+ this.r2l_t = initObj.r2l_t
106
+ }
107
+ else {
108
+ this.r2l_t = new Array(3).fill(0);
109
+ }
110
+ if (initObj.hasOwnProperty('l_k')) {
111
+ this.l_k = initObj.l_k
112
+ }
113
+ else {
114
+ this.l_k = new Array(5).fill(0);
115
+ }
116
+ if (initObj.hasOwnProperty('r_k')) {
117
+ this.r_k = initObj.r_k
118
+ }
119
+ else {
120
+ this.r_k = new Array(5).fill(0);
121
+ }
122
+ if (initObj.hasOwnProperty('success')) {
123
+ this.success = initObj.success
124
+ }
125
+ else {
126
+ this.success = false;
127
+ }
128
+ if (initObj.hasOwnProperty('message')) {
129
+ this.message = initObj.message
130
+ }
131
+ else {
132
+ this.message = '';
133
+ }
134
+ }
135
+ }
136
+
137
+ static serialize(obj, buffer, bufferOffset) {
138
+ // Serializes a message object of type GetCameraParamsResponse
139
+ // Check that the constant length array field [l_intr_p] has the right length
140
+ if (obj.l_intr_p.length !== 4) {
141
+ throw new Error('Unable to serialize array field l_intr_p - length must be 4')
142
+ }
143
+ // Serialize message field [l_intr_p]
144
+ bufferOffset = _arraySerializer.float32(obj.l_intr_p, buffer, bufferOffset, 4);
145
+ // Check that the constant length array field [r_intr_p] has the right length
146
+ if (obj.r_intr_p.length !== 4) {
147
+ throw new Error('Unable to serialize array field r_intr_p - length must be 4')
148
+ }
149
+ // Serialize message field [r_intr_p]
150
+ bufferOffset = _arraySerializer.float32(obj.r_intr_p, buffer, bufferOffset, 4);
151
+ // Check that the constant length array field [r2l_r] has the right length
152
+ if (obj.r2l_r.length !== 9) {
153
+ throw new Error('Unable to serialize array field r2l_r - length must be 9')
154
+ }
155
+ // Serialize message field [r2l_r]
156
+ bufferOffset = _arraySerializer.float32(obj.r2l_r, buffer, bufferOffset, 9);
157
+ // Check that the constant length array field [r2l_t] has the right length
158
+ if (obj.r2l_t.length !== 3) {
159
+ throw new Error('Unable to serialize array field r2l_t - length must be 3')
160
+ }
161
+ // Serialize message field [r2l_t]
162
+ bufferOffset = _arraySerializer.float32(obj.r2l_t, buffer, bufferOffset, 3);
163
+ // Check that the constant length array field [l_k] has the right length
164
+ if (obj.l_k.length !== 5) {
165
+ throw new Error('Unable to serialize array field l_k - length must be 5')
166
+ }
167
+ // Serialize message field [l_k]
168
+ bufferOffset = _arraySerializer.float32(obj.l_k, buffer, bufferOffset, 5);
169
+ // Check that the constant length array field [r_k] has the right length
170
+ if (obj.r_k.length !== 5) {
171
+ throw new Error('Unable to serialize array field r_k - length must be 5')
172
+ }
173
+ // Serialize message field [r_k]
174
+ bufferOffset = _arraySerializer.float32(obj.r_k, buffer, bufferOffset, 5);
175
+ // Serialize message field [success]
176
+ bufferOffset = _serializer.bool(obj.success, buffer, bufferOffset);
177
+ // Serialize message field [message]
178
+ bufferOffset = _serializer.string(obj.message, buffer, bufferOffset);
179
+ return bufferOffset;
180
+ }
181
+
182
+ static deserialize(buffer, bufferOffset=[0]) {
183
+ //deserializes a message object of type GetCameraParamsResponse
184
+ let len;
185
+ let data = new GetCameraParamsResponse(null);
186
+ // Deserialize message field [l_intr_p]
187
+ data.l_intr_p = _arrayDeserializer.float32(buffer, bufferOffset, 4)
188
+ // Deserialize message field [r_intr_p]
189
+ data.r_intr_p = _arrayDeserializer.float32(buffer, bufferOffset, 4)
190
+ // Deserialize message field [r2l_r]
191
+ data.r2l_r = _arrayDeserializer.float32(buffer, bufferOffset, 9)
192
+ // Deserialize message field [r2l_t]
193
+ data.r2l_t = _arrayDeserializer.float32(buffer, bufferOffset, 3)
194
+ // Deserialize message field [l_k]
195
+ data.l_k = _arrayDeserializer.float32(buffer, bufferOffset, 5)
196
+ // Deserialize message field [r_k]
197
+ data.r_k = _arrayDeserializer.float32(buffer, bufferOffset, 5)
198
+ // Deserialize message field [success]
199
+ data.success = _deserializer.bool(buffer, bufferOffset);
200
+ // Deserialize message field [message]
201
+ data.message = _deserializer.string(buffer, bufferOffset);
202
+ return data;
203
+ }
204
+
205
+ static getMessageSize(object) {
206
+ let length = 0;
207
+ length += _getByteLength(object.message);
208
+ return length + 125;
209
+ }
210
+
211
+ static datatype() {
212
+ // Returns string type for a service object
213
+ return 'astra_camera/GetCameraParamsResponse';
214
+ }
215
+
216
+ static md5sum() {
217
+ //Returns md5sum for a message object
218
+ return '82a0d82977d6826869eb4772054042e0';
219
+ }
220
+
221
+ static messageDefinition() {
222
+ // Returns full string definition for message
223
+ return `
224
+ float32[4] l_intr_p
225
+ float32[4] r_intr_p
226
+ float32[9] r2l_r
227
+ float32[3] r2l_t
228
+ float32[5] l_k
229
+ float32[5] r_k
230
+ bool success
231
+ string message
232
+
233
+
234
+ `;
235
+ }
236
+
237
+ static Resolve(msg) {
238
+ // deep-construct a valid message object instance of whatever was passed in
239
+ if (typeof msg !== 'object' || msg === null) {
240
+ msg = {};
241
+ }
242
+ const resolved = new GetCameraParamsResponse(null);
243
+ if (msg.l_intr_p !== undefined) {
244
+ resolved.l_intr_p = msg.l_intr_p;
245
+ }
246
+ else {
247
+ resolved.l_intr_p = new Array(4).fill(0)
248
+ }
249
+
250
+ if (msg.r_intr_p !== undefined) {
251
+ resolved.r_intr_p = msg.r_intr_p;
252
+ }
253
+ else {
254
+ resolved.r_intr_p = new Array(4).fill(0)
255
+ }
256
+
257
+ if (msg.r2l_r !== undefined) {
258
+ resolved.r2l_r = msg.r2l_r;
259
+ }
260
+ else {
261
+ resolved.r2l_r = new Array(9).fill(0)
262
+ }
263
+
264
+ if (msg.r2l_t !== undefined) {
265
+ resolved.r2l_t = msg.r2l_t;
266
+ }
267
+ else {
268
+ resolved.r2l_t = new Array(3).fill(0)
269
+ }
270
+
271
+ if (msg.l_k !== undefined) {
272
+ resolved.l_k = msg.l_k;
273
+ }
274
+ else {
275
+ resolved.l_k = new Array(5).fill(0)
276
+ }
277
+
278
+ if (msg.r_k !== undefined) {
279
+ resolved.r_k = msg.r_k;
280
+ }
281
+ else {
282
+ resolved.r_k = new Array(5).fill(0)
283
+ }
284
+
285
+ if (msg.success !== undefined) {
286
+ resolved.success = msg.success;
287
+ }
288
+ else {
289
+ resolved.success = false
290
+ }
291
+
292
+ if (msg.message !== undefined) {
293
+ resolved.message = msg.message;
294
+ }
295
+ else {
296
+ resolved.message = ''
297
+ }
298
+
299
+ return resolved;
300
+ }
301
+ };
302
+
303
+ module.exports = {
304
+ Request: GetCameraParamsRequest,
305
+ Response: GetCameraParamsResponse,
306
+ md5sum() { return '82a0d82977d6826869eb4772054042e0'; },
307
+ datatype() { return 'astra_camera/GetCameraParams'; }
308
+ };
camera_ws/devel/share/gennodejs/ros/astra_camera/srv/GetDeviceInfo.js ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Auto-generated. Do not edit!
2
+
3
+ // (in-package astra_camera.srv)
4
+
5
+
6
+ "use strict";
7
+
8
+ const _serializer = _ros_msg_utils.Serialize;
9
+ const _arraySerializer = _serializer.Array;
10
+ const _deserializer = _ros_msg_utils.Deserialize;
11
+ const _arrayDeserializer = _deserializer.Array;
12
+ const _finder = _ros_msg_utils.Find;
13
+ const _getByteLength = _ros_msg_utils.getByteLength;
14
+
15
+ //-----------------------------------------------------------
16
+
17
+ let DeviceInfo = require('../msg/DeviceInfo.js');
18
+
19
+ //-----------------------------------------------------------
20
+
21
+ class GetDeviceInfoRequest {
22
+ constructor(initObj={}) {
23
+ if (initObj === null) {
24
+ // initObj === null is a special case for deserialization where we don't initialize fields
25
+ }
26
+ else {
27
+ }
28
+ }
29
+
30
+ static serialize(obj, buffer, bufferOffset) {
31
+ // Serializes a message object of type GetDeviceInfoRequest
32
+ return bufferOffset;
33
+ }
34
+
35
+ static deserialize(buffer, bufferOffset=[0]) {
36
+ //deserializes a message object of type GetDeviceInfoRequest
37
+ let len;
38
+ let data = new GetDeviceInfoRequest(null);
39
+ return data;
40
+ }
41
+
42
+ static getMessageSize(object) {
43
+ return 0;
44
+ }
45
+
46
+ static datatype() {
47
+ // Returns string type for a service object
48
+ return 'astra_camera/GetDeviceInfoRequest';
49
+ }
50
+
51
+ static md5sum() {
52
+ //Returns md5sum for a message object
53
+ return 'd41d8cd98f00b204e9800998ecf8427e';
54
+ }
55
+
56
+ static messageDefinition() {
57
+ // Returns full string definition for message
58
+ return `
59
+
60
+ `;
61
+ }
62
+
63
+ static Resolve(msg) {
64
+ // deep-construct a valid message object instance of whatever was passed in
65
+ if (typeof msg !== 'object' || msg === null) {
66
+ msg = {};
67
+ }
68
+ const resolved = new GetDeviceInfoRequest(null);
69
+ return resolved;
70
+ }
71
+ };
72
+
73
+ class GetDeviceInfoResponse {
74
+ constructor(initObj={}) {
75
+ if (initObj === null) {
76
+ // initObj === null is a special case for deserialization where we don't initialize fields
77
+ this.info = null;
78
+ this.success = null;
79
+ this.message = null;
80
+ }
81
+ else {
82
+ if (initObj.hasOwnProperty('info')) {
83
+ this.info = initObj.info
84
+ }
85
+ else {
86
+ this.info = new DeviceInfo();
87
+ }
88
+ if (initObj.hasOwnProperty('success')) {
89
+ this.success = initObj.success
90
+ }
91
+ else {
92
+ this.success = false;
93
+ }
94
+ if (initObj.hasOwnProperty('message')) {
95
+ this.message = initObj.message
96
+ }
97
+ else {
98
+ this.message = '';
99
+ }
100
+ }
101
+ }
102
+
103
+ static serialize(obj, buffer, bufferOffset) {
104
+ // Serializes a message object of type GetDeviceInfoResponse
105
+ // Serialize message field [info]
106
+ bufferOffset = DeviceInfo.serialize(obj.info, buffer, bufferOffset);
107
+ // Serialize message field [success]
108
+ bufferOffset = _serializer.bool(obj.success, buffer, bufferOffset);
109
+ // Serialize message field [message]
110
+ bufferOffset = _serializer.string(obj.message, buffer, bufferOffset);
111
+ return bufferOffset;
112
+ }
113
+
114
+ static deserialize(buffer, bufferOffset=[0]) {
115
+ //deserializes a message object of type GetDeviceInfoResponse
116
+ let len;
117
+ let data = new GetDeviceInfoResponse(null);
118
+ // Deserialize message field [info]
119
+ data.info = DeviceInfo.deserialize(buffer, bufferOffset);
120
+ // Deserialize message field [success]
121
+ data.success = _deserializer.bool(buffer, bufferOffset);
122
+ // Deserialize message field [message]
123
+ data.message = _deserializer.string(buffer, bufferOffset);
124
+ return data;
125
+ }
126
+
127
+ static getMessageSize(object) {
128
+ let length = 0;
129
+ length += DeviceInfo.getMessageSize(object.info);
130
+ length += _getByteLength(object.message);
131
+ return length + 5;
132
+ }
133
+
134
+ static datatype() {
135
+ // Returns string type for a service object
136
+ return 'astra_camera/GetDeviceInfoResponse';
137
+ }
138
+
139
+ static md5sum() {
140
+ //Returns md5sum for a message object
141
+ return '1e369ba84c0330473501a0820257661a';
142
+ }
143
+
144
+ static messageDefinition() {
145
+ // Returns full string definition for message
146
+ return `
147
+ DeviceInfo info
148
+ bool success
149
+ string message
150
+
151
+
152
+ ================================================================================
153
+ MSG: astra_camera/DeviceInfo
154
+ std_msgs/Header header
155
+ string name
156
+ int32 vid
157
+ int32 pid
158
+ string serial_number
159
+ string firmware_version
160
+ string supported_min_sdk_version
161
+ string hardware_version
162
+
163
+ ================================================================================
164
+ MSG: std_msgs/Header
165
+ # Standard metadata for higher-level stamped data types.
166
+ # This is generally used to communicate timestamped data
167
+ # in a particular coordinate frame.
168
+ #
169
+ # sequence ID: consecutively increasing ID
170
+ uint32 seq
171
+ #Two-integer timestamp that is expressed as:
172
+ # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')
173
+ # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')
174
+ # time-handling sugar is provided by the client library
175
+ time stamp
176
+ #Frame this data is associated with
177
+ string frame_id
178
+
179
+ `;
180
+ }
181
+
182
+ static Resolve(msg) {
183
+ // deep-construct a valid message object instance of whatever was passed in
184
+ if (typeof msg !== 'object' || msg === null) {
185
+ msg = {};
186
+ }
187
+ const resolved = new GetDeviceInfoResponse(null);
188
+ if (msg.info !== undefined) {
189
+ resolved.info = DeviceInfo.Resolve(msg.info)
190
+ }
191
+ else {
192
+ resolved.info = new DeviceInfo()
193
+ }
194
+
195
+ if (msg.success !== undefined) {
196
+ resolved.success = msg.success;
197
+ }
198
+ else {
199
+ resolved.success = false
200
+ }
201
+
202
+ if (msg.message !== undefined) {
203
+ resolved.message = msg.message;
204
+ }
205
+ else {
206
+ resolved.message = ''
207
+ }
208
+
209
+ return resolved;
210
+ }
211
+ };
212
+
213
+ module.exports = {
214
+ Request: GetDeviceInfoRequest,
215
+ Response: GetDeviceInfoResponse,
216
+ md5sum() { return '1e369ba84c0330473501a0820257661a'; },
217
+ datatype() { return 'astra_camera/GetDeviceInfo'; }
218
+ };
camera_ws/devel/share/gennodejs/ros/astra_camera/srv/GetDouble.js ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Auto-generated. Do not edit!
2
+
3
+ // (in-package astra_camera.srv)
4
+
5
+
6
+ "use strict";
7
+
8
+ const _serializer = _ros_msg_utils.Serialize;
9
+ const _arraySerializer = _serializer.Array;
10
+ const _deserializer = _ros_msg_utils.Deserialize;
11
+ const _arrayDeserializer = _deserializer.Array;
12
+ const _finder = _ros_msg_utils.Find;
13
+ const _getByteLength = _ros_msg_utils.getByteLength;
14
+
15
+ //-----------------------------------------------------------
16
+
17
+
18
+ //-----------------------------------------------------------
19
+
20
+ class GetDoubleRequest {
21
+ constructor(initObj={}) {
22
+ if (initObj === null) {
23
+ // initObj === null is a special case for deserialization where we don't initialize fields
24
+ }
25
+ else {
26
+ }
27
+ }
28
+
29
+ static serialize(obj, buffer, bufferOffset) {
30
+ // Serializes a message object of type GetDoubleRequest
31
+ return bufferOffset;
32
+ }
33
+
34
+ static deserialize(buffer, bufferOffset=[0]) {
35
+ //deserializes a message object of type GetDoubleRequest
36
+ let len;
37
+ let data = new GetDoubleRequest(null);
38
+ return data;
39
+ }
40
+
41
+ static getMessageSize(object) {
42
+ return 0;
43
+ }
44
+
45
+ static datatype() {
46
+ // Returns string type for a service object
47
+ return 'astra_camera/GetDoubleRequest';
48
+ }
49
+
50
+ static md5sum() {
51
+ //Returns md5sum for a message object
52
+ return 'd41d8cd98f00b204e9800998ecf8427e';
53
+ }
54
+
55
+ static messageDefinition() {
56
+ // Returns full string definition for message
57
+ return `
58
+
59
+ `;
60
+ }
61
+
62
+ static Resolve(msg) {
63
+ // deep-construct a valid message object instance of whatever was passed in
64
+ if (typeof msg !== 'object' || msg === null) {
65
+ msg = {};
66
+ }
67
+ const resolved = new GetDoubleRequest(null);
68
+ return resolved;
69
+ }
70
+ };
71
+
72
+ class GetDoubleResponse {
73
+ constructor(initObj={}) {
74
+ if (initObj === null) {
75
+ // initObj === null is a special case for deserialization where we don't initialize fields
76
+ this.data = null;
77
+ this.success = null;
78
+ this.message = null;
79
+ }
80
+ else {
81
+ if (initObj.hasOwnProperty('data')) {
82
+ this.data = initObj.data
83
+ }
84
+ else {
85
+ this.data = 0.0;
86
+ }
87
+ if (initObj.hasOwnProperty('success')) {
88
+ this.success = initObj.success
89
+ }
90
+ else {
91
+ this.success = false;
92
+ }
93
+ if (initObj.hasOwnProperty('message')) {
94
+ this.message = initObj.message
95
+ }
96
+ else {
97
+ this.message = '';
98
+ }
99
+ }
100
+ }
101
+
102
+ static serialize(obj, buffer, bufferOffset) {
103
+ // Serializes a message object of type GetDoubleResponse
104
+ // Serialize message field [data]
105
+ bufferOffset = _serializer.float64(obj.data, buffer, bufferOffset);
106
+ // Serialize message field [success]
107
+ bufferOffset = _serializer.bool(obj.success, buffer, bufferOffset);
108
+ // Serialize message field [message]
109
+ bufferOffset = _serializer.string(obj.message, buffer, bufferOffset);
110
+ return bufferOffset;
111
+ }
112
+
113
+ static deserialize(buffer, bufferOffset=[0]) {
114
+ //deserializes a message object of type GetDoubleResponse
115
+ let len;
116
+ let data = new GetDoubleResponse(null);
117
+ // Deserialize message field [data]
118
+ data.data = _deserializer.float64(buffer, bufferOffset);
119
+ // Deserialize message field [success]
120
+ data.success = _deserializer.bool(buffer, bufferOffset);
121
+ // Deserialize message field [message]
122
+ data.message = _deserializer.string(buffer, bufferOffset);
123
+ return data;
124
+ }
125
+
126
+ static getMessageSize(object) {
127
+ let length = 0;
128
+ length += _getByteLength(object.message);
129
+ return length + 13;
130
+ }
131
+
132
+ static datatype() {
133
+ // Returns string type for a service object
134
+ return 'astra_camera/GetDoubleResponse';
135
+ }
136
+
137
+ static md5sum() {
138
+ //Returns md5sum for a message object
139
+ return 'edb830bb55b38159c2bb5a997bcb994d';
140
+ }
141
+
142
+ static messageDefinition() {
143
+ // Returns full string definition for message
144
+ return `
145
+ float64 data
146
+ bool success
147
+ string message
148
+
149
+
150
+ `;
151
+ }
152
+
153
+ static Resolve(msg) {
154
+ // deep-construct a valid message object instance of whatever was passed in
155
+ if (typeof msg !== 'object' || msg === null) {
156
+ msg = {};
157
+ }
158
+ const resolved = new GetDoubleResponse(null);
159
+ if (msg.data !== undefined) {
160
+ resolved.data = msg.data;
161
+ }
162
+ else {
163
+ resolved.data = 0.0
164
+ }
165
+
166
+ if (msg.success !== undefined) {
167
+ resolved.success = msg.success;
168
+ }
169
+ else {
170
+ resolved.success = false
171
+ }
172
+
173
+ if (msg.message !== undefined) {
174
+ resolved.message = msg.message;
175
+ }
176
+ else {
177
+ resolved.message = ''
178
+ }
179
+
180
+ return resolved;
181
+ }
182
+ };
183
+
184
+ module.exports = {
185
+ Request: GetDoubleRequest,
186
+ Response: GetDoubleResponse,
187
+ md5sum() { return 'edb830bb55b38159c2bb5a997bcb994d'; },
188
+ datatype() { return 'astra_camera/GetDouble'; }
189
+ };
camera_ws/devel/share/gennodejs/ros/astra_camera/srv/GetInt32.js ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Auto-generated. Do not edit!
2
+
3
+ // (in-package astra_camera.srv)
4
+
5
+
6
+ "use strict";
7
+
8
+ const _serializer = _ros_msg_utils.Serialize;
9
+ const _arraySerializer = _serializer.Array;
10
+ const _deserializer = _ros_msg_utils.Deserialize;
11
+ const _arrayDeserializer = _deserializer.Array;
12
+ const _finder = _ros_msg_utils.Find;
13
+ const _getByteLength = _ros_msg_utils.getByteLength;
14
+
15
+ //-----------------------------------------------------------
16
+
17
+
18
+ //-----------------------------------------------------------
19
+
20
+ class GetInt32Request {
21
+ constructor(initObj={}) {
22
+ if (initObj === null) {
23
+ // initObj === null is a special case for deserialization where we don't initialize fields
24
+ }
25
+ else {
26
+ }
27
+ }
28
+
29
+ static serialize(obj, buffer, bufferOffset) {
30
+ // Serializes a message object of type GetInt32Request
31
+ return bufferOffset;
32
+ }
33
+
34
+ static deserialize(buffer, bufferOffset=[0]) {
35
+ //deserializes a message object of type GetInt32Request
36
+ let len;
37
+ let data = new GetInt32Request(null);
38
+ return data;
39
+ }
40
+
41
+ static getMessageSize(object) {
42
+ return 0;
43
+ }
44
+
45
+ static datatype() {
46
+ // Returns string type for a service object
47
+ return 'astra_camera/GetInt32Request';
48
+ }
49
+
50
+ static md5sum() {
51
+ //Returns md5sum for a message object
52
+ return 'd41d8cd98f00b204e9800998ecf8427e';
53
+ }
54
+
55
+ static messageDefinition() {
56
+ // Returns full string definition for message
57
+ return `
58
+
59
+ `;
60
+ }
61
+
62
+ static Resolve(msg) {
63
+ // deep-construct a valid message object instance of whatever was passed in
64
+ if (typeof msg !== 'object' || msg === null) {
65
+ msg = {};
66
+ }
67
+ const resolved = new GetInt32Request(null);
68
+ return resolved;
69
+ }
70
+ };
71
+
72
+ class GetInt32Response {
73
+ constructor(initObj={}) {
74
+ if (initObj === null) {
75
+ // initObj === null is a special case for deserialization where we don't initialize fields
76
+ this.data = null;
77
+ this.success = null;
78
+ this.message = null;
79
+ }
80
+ else {
81
+ if (initObj.hasOwnProperty('data')) {
82
+ this.data = initObj.data
83
+ }
84
+ else {
85
+ this.data = 0;
86
+ }
87
+ if (initObj.hasOwnProperty('success')) {
88
+ this.success = initObj.success
89
+ }
90
+ else {
91
+ this.success = false;
92
+ }
93
+ if (initObj.hasOwnProperty('message')) {
94
+ this.message = initObj.message
95
+ }
96
+ else {
97
+ this.message = '';
98
+ }
99
+ }
100
+ }
101
+
102
+ static serialize(obj, buffer, bufferOffset) {
103
+ // Serializes a message object of type GetInt32Response
104
+ // Serialize message field [data]
105
+ bufferOffset = _serializer.int32(obj.data, buffer, bufferOffset);
106
+ // Serialize message field [success]
107
+ bufferOffset = _serializer.bool(obj.success, buffer, bufferOffset);
108
+ // Serialize message field [message]
109
+ bufferOffset = _serializer.string(obj.message, buffer, bufferOffset);
110
+ return bufferOffset;
111
+ }
112
+
113
+ static deserialize(buffer, bufferOffset=[0]) {
114
+ //deserializes a message object of type GetInt32Response
115
+ let len;
116
+ let data = new GetInt32Response(null);
117
+ // Deserialize message field [data]
118
+ data.data = _deserializer.int32(buffer, bufferOffset);
119
+ // Deserialize message field [success]
120
+ data.success = _deserializer.bool(buffer, bufferOffset);
121
+ // Deserialize message field [message]
122
+ data.message = _deserializer.string(buffer, bufferOffset);
123
+ return data;
124
+ }
125
+
126
+ static getMessageSize(object) {
127
+ let length = 0;
128
+ length += _getByteLength(object.message);
129
+ return length + 9;
130
+ }
131
+
132
+ static datatype() {
133
+ // Returns string type for a service object
134
+ return 'astra_camera/GetInt32Response';
135
+ }
136
+
137
+ static md5sum() {
138
+ //Returns md5sum for a message object
139
+ return '1e06c77f31583d55c01571a573d75b9f';
140
+ }
141
+
142
+ static messageDefinition() {
143
+ // Returns full string definition for message
144
+ return `
145
+ int32 data
146
+ bool success
147
+ string message
148
+
149
+
150
+ `;
151
+ }
152
+
153
+ static Resolve(msg) {
154
+ // deep-construct a valid message object instance of whatever was passed in
155
+ if (typeof msg !== 'object' || msg === null) {
156
+ msg = {};
157
+ }
158
+ const resolved = new GetInt32Response(null);
159
+ if (msg.data !== undefined) {
160
+ resolved.data = msg.data;
161
+ }
162
+ else {
163
+ resolved.data = 0
164
+ }
165
+
166
+ if (msg.success !== undefined) {
167
+ resolved.success = msg.success;
168
+ }
169
+ else {
170
+ resolved.success = false
171
+ }
172
+
173
+ if (msg.message !== undefined) {
174
+ resolved.message = msg.message;
175
+ }
176
+ else {
177
+ resolved.message = ''
178
+ }
179
+
180
+ return resolved;
181
+ }
182
+ };
183
+
184
+ module.exports = {
185
+ Request: GetInt32Request,
186
+ Response: GetInt32Response,
187
+ md5sum() { return '1e06c77f31583d55c01571a573d75b9f'; },
188
+ datatype() { return 'astra_camera/GetInt32'; }
189
+ };
camera_ws/devel/share/gennodejs/ros/astra_camera/srv/GetString.js ADDED
@@ -0,0 +1,190 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Auto-generated. Do not edit!
2
+
3
+ // (in-package astra_camera.srv)
4
+
5
+
6
+ "use strict";
7
+
8
+ const _serializer = _ros_msg_utils.Serialize;
9
+ const _arraySerializer = _serializer.Array;
10
+ const _deserializer = _ros_msg_utils.Deserialize;
11
+ const _arrayDeserializer = _deserializer.Array;
12
+ const _finder = _ros_msg_utils.Find;
13
+ const _getByteLength = _ros_msg_utils.getByteLength;
14
+
15
+ //-----------------------------------------------------------
16
+
17
+
18
+ //-----------------------------------------------------------
19
+
20
+ class GetStringRequest {
21
+ constructor(initObj={}) {
22
+ if (initObj === null) {
23
+ // initObj === null is a special case for deserialization where we don't initialize fields
24
+ }
25
+ else {
26
+ }
27
+ }
28
+
29
+ static serialize(obj, buffer, bufferOffset) {
30
+ // Serializes a message object of type GetStringRequest
31
+ return bufferOffset;
32
+ }
33
+
34
+ static deserialize(buffer, bufferOffset=[0]) {
35
+ //deserializes a message object of type GetStringRequest
36
+ let len;
37
+ let data = new GetStringRequest(null);
38
+ return data;
39
+ }
40
+
41
+ static getMessageSize(object) {
42
+ return 0;
43
+ }
44
+
45
+ static datatype() {
46
+ // Returns string type for a service object
47
+ return 'astra_camera/GetStringRequest';
48
+ }
49
+
50
+ static md5sum() {
51
+ //Returns md5sum for a message object
52
+ return 'd41d8cd98f00b204e9800998ecf8427e';
53
+ }
54
+
55
+ static messageDefinition() {
56
+ // Returns full string definition for message
57
+ return `
58
+
59
+ `;
60
+ }
61
+
62
+ static Resolve(msg) {
63
+ // deep-construct a valid message object instance of whatever was passed in
64
+ if (typeof msg !== 'object' || msg === null) {
65
+ msg = {};
66
+ }
67
+ const resolved = new GetStringRequest(null);
68
+ return resolved;
69
+ }
70
+ };
71
+
72
+ class GetStringResponse {
73
+ constructor(initObj={}) {
74
+ if (initObj === null) {
75
+ // initObj === null is a special case for deserialization where we don't initialize fields
76
+ this.data = null;
77
+ this.success = null;
78
+ this.message = null;
79
+ }
80
+ else {
81
+ if (initObj.hasOwnProperty('data')) {
82
+ this.data = initObj.data
83
+ }
84
+ else {
85
+ this.data = '';
86
+ }
87
+ if (initObj.hasOwnProperty('success')) {
88
+ this.success = initObj.success
89
+ }
90
+ else {
91
+ this.success = false;
92
+ }
93
+ if (initObj.hasOwnProperty('message')) {
94
+ this.message = initObj.message
95
+ }
96
+ else {
97
+ this.message = '';
98
+ }
99
+ }
100
+ }
101
+
102
+ static serialize(obj, buffer, bufferOffset) {
103
+ // Serializes a message object of type GetStringResponse
104
+ // Serialize message field [data]
105
+ bufferOffset = _serializer.string(obj.data, buffer, bufferOffset);
106
+ // Serialize message field [success]
107
+ bufferOffset = _serializer.bool(obj.success, buffer, bufferOffset);
108
+ // Serialize message field [message]
109
+ bufferOffset = _serializer.string(obj.message, buffer, bufferOffset);
110
+ return bufferOffset;
111
+ }
112
+
113
+ static deserialize(buffer, bufferOffset=[0]) {
114
+ //deserializes a message object of type GetStringResponse
115
+ let len;
116
+ let data = new GetStringResponse(null);
117
+ // Deserialize message field [data]
118
+ data.data = _deserializer.string(buffer, bufferOffset);
119
+ // Deserialize message field [success]
120
+ data.success = _deserializer.bool(buffer, bufferOffset);
121
+ // Deserialize message field [message]
122
+ data.message = _deserializer.string(buffer, bufferOffset);
123
+ return data;
124
+ }
125
+
126
+ static getMessageSize(object) {
127
+ let length = 0;
128
+ length += _getByteLength(object.data);
129
+ length += _getByteLength(object.message);
130
+ return length + 9;
131
+ }
132
+
133
+ static datatype() {
134
+ // Returns string type for a service object
135
+ return 'astra_camera/GetStringResponse';
136
+ }
137
+
138
+ static md5sum() {
139
+ //Returns md5sum for a message object
140
+ return '15baad3d82a7b70bfc4eb31d66322293';
141
+ }
142
+
143
+ static messageDefinition() {
144
+ // Returns full string definition for message
145
+ return `
146
+ string data
147
+ bool success
148
+ string message
149
+
150
+
151
+ `;
152
+ }
153
+
154
+ static Resolve(msg) {
155
+ // deep-construct a valid message object instance of whatever was passed in
156
+ if (typeof msg !== 'object' || msg === null) {
157
+ msg = {};
158
+ }
159
+ const resolved = new GetStringResponse(null);
160
+ if (msg.data !== undefined) {
161
+ resolved.data = msg.data;
162
+ }
163
+ else {
164
+ resolved.data = ''
165
+ }
166
+
167
+ if (msg.success !== undefined) {
168
+ resolved.success = msg.success;
169
+ }
170
+ else {
171
+ resolved.success = false
172
+ }
173
+
174
+ if (msg.message !== undefined) {
175
+ resolved.message = msg.message;
176
+ }
177
+ else {
178
+ resolved.message = ''
179
+ }
180
+
181
+ return resolved;
182
+ }
183
+ };
184
+
185
+ module.exports = {
186
+ Request: GetStringRequest,
187
+ Response: GetStringResponse,
188
+ md5sum() { return '15baad3d82a7b70bfc4eb31d66322293'; },
189
+ datatype() { return 'astra_camera/GetString'; }
190
+ };
camera_ws/devel/share/gennodejs/ros/astra_camera/srv/SetInt32.js ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Auto-generated. Do not edit!
2
+
3
+ // (in-package astra_camera.srv)
4
+
5
+
6
+ "use strict";
7
+
8
+ const _serializer = _ros_msg_utils.Serialize;
9
+ const _arraySerializer = _serializer.Array;
10
+ const _deserializer = _ros_msg_utils.Deserialize;
11
+ const _arrayDeserializer = _deserializer.Array;
12
+ const _finder = _ros_msg_utils.Find;
13
+ const _getByteLength = _ros_msg_utils.getByteLength;
14
+
15
+ //-----------------------------------------------------------
16
+
17
+
18
+ //-----------------------------------------------------------
19
+
20
+ class SetInt32Request {
21
+ constructor(initObj={}) {
22
+ if (initObj === null) {
23
+ // initObj === null is a special case for deserialization where we don't initialize fields
24
+ this.data = null;
25
+ }
26
+ else {
27
+ if (initObj.hasOwnProperty('data')) {
28
+ this.data = initObj.data
29
+ }
30
+ else {
31
+ this.data = 0;
32
+ }
33
+ }
34
+ }
35
+
36
+ static serialize(obj, buffer, bufferOffset) {
37
+ // Serializes a message object of type SetInt32Request
38
+ // Serialize message field [data]
39
+ bufferOffset = _serializer.int32(obj.data, buffer, bufferOffset);
40
+ return bufferOffset;
41
+ }
42
+
43
+ static deserialize(buffer, bufferOffset=[0]) {
44
+ //deserializes a message object of type SetInt32Request
45
+ let len;
46
+ let data = new SetInt32Request(null);
47
+ // Deserialize message field [data]
48
+ data.data = _deserializer.int32(buffer, bufferOffset);
49
+ return data;
50
+ }
51
+
52
+ static getMessageSize(object) {
53
+ return 4;
54
+ }
55
+
56
+ static datatype() {
57
+ // Returns string type for a service object
58
+ return 'astra_camera/SetInt32Request';
59
+ }
60
+
61
+ static md5sum() {
62
+ //Returns md5sum for a message object
63
+ return 'da5909fbe378aeaf85e547e830cc1bb7';
64
+ }
65
+
66
+ static messageDefinition() {
67
+ // Returns full string definition for message
68
+ return `
69
+ int32 data
70
+
71
+ `;
72
+ }
73
+
74
+ static Resolve(msg) {
75
+ // deep-construct a valid message object instance of whatever was passed in
76
+ if (typeof msg !== 'object' || msg === null) {
77
+ msg = {};
78
+ }
79
+ const resolved = new SetInt32Request(null);
80
+ if (msg.data !== undefined) {
81
+ resolved.data = msg.data;
82
+ }
83
+ else {
84
+ resolved.data = 0
85
+ }
86
+
87
+ return resolved;
88
+ }
89
+ };
90
+
91
+ class SetInt32Response {
92
+ constructor(initObj={}) {
93
+ if (initObj === null) {
94
+ // initObj === null is a special case for deserialization where we don't initialize fields
95
+ this.success = null;
96
+ this.message = null;
97
+ }
98
+ else {
99
+ if (initObj.hasOwnProperty('success')) {
100
+ this.success = initObj.success
101
+ }
102
+ else {
103
+ this.success = false;
104
+ }
105
+ if (initObj.hasOwnProperty('message')) {
106
+ this.message = initObj.message
107
+ }
108
+ else {
109
+ this.message = '';
110
+ }
111
+ }
112
+ }
113
+
114
+ static serialize(obj, buffer, bufferOffset) {
115
+ // Serializes a message object of type SetInt32Response
116
+ // Serialize message field [success]
117
+ bufferOffset = _serializer.bool(obj.success, buffer, bufferOffset);
118
+ // Serialize message field [message]
119
+ bufferOffset = _serializer.string(obj.message, buffer, bufferOffset);
120
+ return bufferOffset;
121
+ }
122
+
123
+ static deserialize(buffer, bufferOffset=[0]) {
124
+ //deserializes a message object of type SetInt32Response
125
+ let len;
126
+ let data = new SetInt32Response(null);
127
+ // Deserialize message field [success]
128
+ data.success = _deserializer.bool(buffer, bufferOffset);
129
+ // Deserialize message field [message]
130
+ data.message = _deserializer.string(buffer, bufferOffset);
131
+ return data;
132
+ }
133
+
134
+ static getMessageSize(object) {
135
+ let length = 0;
136
+ length += _getByteLength(object.message);
137
+ return length + 5;
138
+ }
139
+
140
+ static datatype() {
141
+ // Returns string type for a service object
142
+ return 'astra_camera/SetInt32Response';
143
+ }
144
+
145
+ static md5sum() {
146
+ //Returns md5sum for a message object
147
+ return '937c9679a518e3a18d831e57125ea522';
148
+ }
149
+
150
+ static messageDefinition() {
151
+ // Returns full string definition for message
152
+ return `
153
+ bool success
154
+ string message
155
+
156
+
157
+ `;
158
+ }
159
+
160
+ static Resolve(msg) {
161
+ // deep-construct a valid message object instance of whatever was passed in
162
+ if (typeof msg !== 'object' || msg === null) {
163
+ msg = {};
164
+ }
165
+ const resolved = new SetInt32Response(null);
166
+ if (msg.success !== undefined) {
167
+ resolved.success = msg.success;
168
+ }
169
+ else {
170
+ resolved.success = false
171
+ }
172
+
173
+ if (msg.message !== undefined) {
174
+ resolved.message = msg.message;
175
+ }
176
+ else {
177
+ resolved.message = ''
178
+ }
179
+
180
+ return resolved;
181
+ }
182
+ };
183
+
184
+ module.exports = {
185
+ Request: SetInt32Request,
186
+ Response: SetInt32Response,
187
+ md5sum() { return '41a6318c88ca9d75d7a585e2aa4ca6ea'; },
188
+ datatype() { return 'astra_camera/SetInt32'; }
189
+ };
camera_ws/devel/share/gennodejs/ros/astra_camera/srv/SetString.js ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Auto-generated. Do not edit!
2
+
3
+ // (in-package astra_camera.srv)
4
+
5
+
6
+ "use strict";
7
+
8
+ const _serializer = _ros_msg_utils.Serialize;
9
+ const _arraySerializer = _serializer.Array;
10
+ const _deserializer = _ros_msg_utils.Deserialize;
11
+ const _arrayDeserializer = _deserializer.Array;
12
+ const _finder = _ros_msg_utils.Find;
13
+ const _getByteLength = _ros_msg_utils.getByteLength;
14
+
15
+ //-----------------------------------------------------------
16
+
17
+
18
+ //-----------------------------------------------------------
19
+
20
+ class SetStringRequest {
21
+ constructor(initObj={}) {
22
+ if (initObj === null) {
23
+ // initObj === null is a special case for deserialization where we don't initialize fields
24
+ this.data = null;
25
+ }
26
+ else {
27
+ if (initObj.hasOwnProperty('data')) {
28
+ this.data = initObj.data
29
+ }
30
+ else {
31
+ this.data = '';
32
+ }
33
+ }
34
+ }
35
+
36
+ static serialize(obj, buffer, bufferOffset) {
37
+ // Serializes a message object of type SetStringRequest
38
+ // Serialize message field [data]
39
+ bufferOffset = _serializer.string(obj.data, buffer, bufferOffset);
40
+ return bufferOffset;
41
+ }
42
+
43
+ static deserialize(buffer, bufferOffset=[0]) {
44
+ //deserializes a message object of type SetStringRequest
45
+ let len;
46
+ let data = new SetStringRequest(null);
47
+ // Deserialize message field [data]
48
+ data.data = _deserializer.string(buffer, bufferOffset);
49
+ return data;
50
+ }
51
+
52
+ static getMessageSize(object) {
53
+ let length = 0;
54
+ length += _getByteLength(object.data);
55
+ return length + 4;
56
+ }
57
+
58
+ static datatype() {
59
+ // Returns string type for a service object
60
+ return 'astra_camera/SetStringRequest';
61
+ }
62
+
63
+ static md5sum() {
64
+ //Returns md5sum for a message object
65
+ return '992ce8a1687cec8c8bd883ec73ca41d1';
66
+ }
67
+
68
+ static messageDefinition() {
69
+ // Returns full string definition for message
70
+ return `
71
+ string data
72
+
73
+ `;
74
+ }
75
+
76
+ static Resolve(msg) {
77
+ // deep-construct a valid message object instance of whatever was passed in
78
+ if (typeof msg !== 'object' || msg === null) {
79
+ msg = {};
80
+ }
81
+ const resolved = new SetStringRequest(null);
82
+ if (msg.data !== undefined) {
83
+ resolved.data = msg.data;
84
+ }
85
+ else {
86
+ resolved.data = ''
87
+ }
88
+
89
+ return resolved;
90
+ }
91
+ };
92
+
93
+ class SetStringResponse {
94
+ constructor(initObj={}) {
95
+ if (initObj === null) {
96
+ // initObj === null is a special case for deserialization where we don't initialize fields
97
+ this.success = null;
98
+ this.message = null;
99
+ }
100
+ else {
101
+ if (initObj.hasOwnProperty('success')) {
102
+ this.success = initObj.success
103
+ }
104
+ else {
105
+ this.success = false;
106
+ }
107
+ if (initObj.hasOwnProperty('message')) {
108
+ this.message = initObj.message
109
+ }
110
+ else {
111
+ this.message = '';
112
+ }
113
+ }
114
+ }
115
+
116
+ static serialize(obj, buffer, bufferOffset) {
117
+ // Serializes a message object of type SetStringResponse
118
+ // Serialize message field [success]
119
+ bufferOffset = _serializer.bool(obj.success, buffer, bufferOffset);
120
+ // Serialize message field [message]
121
+ bufferOffset = _serializer.string(obj.message, buffer, bufferOffset);
122
+ return bufferOffset;
123
+ }
124
+
125
+ static deserialize(buffer, bufferOffset=[0]) {
126
+ //deserializes a message object of type SetStringResponse
127
+ let len;
128
+ let data = new SetStringResponse(null);
129
+ // Deserialize message field [success]
130
+ data.success = _deserializer.bool(buffer, bufferOffset);
131
+ // Deserialize message field [message]
132
+ data.message = _deserializer.string(buffer, bufferOffset);
133
+ return data;
134
+ }
135
+
136
+ static getMessageSize(object) {
137
+ let length = 0;
138
+ length += _getByteLength(object.message);
139
+ return length + 5;
140
+ }
141
+
142
+ static datatype() {
143
+ // Returns string type for a service object
144
+ return 'astra_camera/SetStringResponse';
145
+ }
146
+
147
+ static md5sum() {
148
+ //Returns md5sum for a message object
149
+ return '937c9679a518e3a18d831e57125ea522';
150
+ }
151
+
152
+ static messageDefinition() {
153
+ // Returns full string definition for message
154
+ return `
155
+ bool success
156
+ string message
157
+
158
+
159
+ `;
160
+ }
161
+
162
+ static Resolve(msg) {
163
+ // deep-construct a valid message object instance of whatever was passed in
164
+ if (typeof msg !== 'object' || msg === null) {
165
+ msg = {};
166
+ }
167
+ const resolved = new SetStringResponse(null);
168
+ if (msg.success !== undefined) {
169
+ resolved.success = msg.success;
170
+ }
171
+ else {
172
+ resolved.success = false
173
+ }
174
+
175
+ if (msg.message !== undefined) {
176
+ resolved.message = msg.message;
177
+ }
178
+ else {
179
+ resolved.message = ''
180
+ }
181
+
182
+ return resolved;
183
+ }
184
+ };
185
+
186
+ module.exports = {
187
+ Request: SetStringRequest,
188
+ Response: SetStringResponse,
189
+ md5sum() { return '546971982e3fbbd5a41e60fb6432e357'; },
190
+ datatype() { return 'astra_camera/SetString'; }
191
+ };
camera_ws/devel/share/gennodejs/ros/astra_camera/srv/_index.js ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ "use strict";
3
+
4
+ let GetString = require('./GetString.js')
5
+ let GetBool = require('./GetBool.js')
6
+ let SetString = require('./SetString.js')
7
+ let GetInt32 = require('./GetInt32.js')
8
+ let GetDouble = require('./GetDouble.js')
9
+ let GetDeviceInfo = require('./GetDeviceInfo.js')
10
+ let SetInt32 = require('./SetInt32.js')
11
+ let GetCameraParams = require('./GetCameraParams.js')
12
+ let GetCameraInfo = require('./GetCameraInfo.js')
13
+
14
+ module.exports = {
15
+ GetString: GetString,
16
+ GetBool: GetBool,
17
+ SetString: SetString,
18
+ GetInt32: GetInt32,
19
+ GetDouble: GetDouble,
20
+ GetDeviceInfo: GetDeviceInfo,
21
+ SetInt32: SetInt32,
22
+ GetCameraParams: GetCameraParams,
23
+ GetCameraInfo: GetCameraInfo,
24
+ };
camera_ws/devel/share/gennodejs/ros/realsense2_camera/_index.js ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+
2
+ "use strict";
3
+
4
+ module.exports = {
5
+ msg: require('./msg/_index.js'),
6
+ srv: require('./srv/_index.js')
7
+ };
camera_ws/devel/share/gennodejs/ros/realsense2_camera/msg/Extrinsics.js ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Auto-generated. Do not edit!
2
+
3
+ // (in-package realsense2_camera.msg)
4
+
5
+
6
+ "use strict";
7
+
8
+ const _serializer = _ros_msg_utils.Serialize;
9
+ const _arraySerializer = _serializer.Array;
10
+ const _deserializer = _ros_msg_utils.Deserialize;
11
+ const _arrayDeserializer = _deserializer.Array;
12
+ const _finder = _ros_msg_utils.Find;
13
+ const _getByteLength = _ros_msg_utils.getByteLength;
14
+ let std_msgs = _finder('std_msgs');
15
+
16
+ //-----------------------------------------------------------
17
+
18
+ class Extrinsics {
19
+ constructor(initObj={}) {
20
+ if (initObj === null) {
21
+ // initObj === null is a special case for deserialization where we don't initialize fields
22
+ this.header = null;
23
+ this.rotation = null;
24
+ this.translation = null;
25
+ }
26
+ else {
27
+ if (initObj.hasOwnProperty('header')) {
28
+ this.header = initObj.header
29
+ }
30
+ else {
31
+ this.header = new std_msgs.msg.Header();
32
+ }
33
+ if (initObj.hasOwnProperty('rotation')) {
34
+ this.rotation = initObj.rotation
35
+ }
36
+ else {
37
+ this.rotation = new Array(9).fill(0);
38
+ }
39
+ if (initObj.hasOwnProperty('translation')) {
40
+ this.translation = initObj.translation
41
+ }
42
+ else {
43
+ this.translation = new Array(3).fill(0);
44
+ }
45
+ }
46
+ }
47
+
48
+ static serialize(obj, buffer, bufferOffset) {
49
+ // Serializes a message object of type Extrinsics
50
+ // Serialize message field [header]
51
+ bufferOffset = std_msgs.msg.Header.serialize(obj.header, buffer, bufferOffset);
52
+ // Check that the constant length array field [rotation] has the right length
53
+ if (obj.rotation.length !== 9) {
54
+ throw new Error('Unable to serialize array field rotation - length must be 9')
55
+ }
56
+ // Serialize message field [rotation]
57
+ bufferOffset = _arraySerializer.float64(obj.rotation, buffer, bufferOffset, 9);
58
+ // Check that the constant length array field [translation] has the right length
59
+ if (obj.translation.length !== 3) {
60
+ throw new Error('Unable to serialize array field translation - length must be 3')
61
+ }
62
+ // Serialize message field [translation]
63
+ bufferOffset = _arraySerializer.float64(obj.translation, buffer, bufferOffset, 3);
64
+ return bufferOffset;
65
+ }
66
+
67
+ static deserialize(buffer, bufferOffset=[0]) {
68
+ //deserializes a message object of type Extrinsics
69
+ let len;
70
+ let data = new Extrinsics(null);
71
+ // Deserialize message field [header]
72
+ data.header = std_msgs.msg.Header.deserialize(buffer, bufferOffset);
73
+ // Deserialize message field [rotation]
74
+ data.rotation = _arrayDeserializer.float64(buffer, bufferOffset, 9)
75
+ // Deserialize message field [translation]
76
+ data.translation = _arrayDeserializer.float64(buffer, bufferOffset, 3)
77
+ return data;
78
+ }
79
+
80
+ static getMessageSize(object) {
81
+ let length = 0;
82
+ length += std_msgs.msg.Header.getMessageSize(object.header);
83
+ return length + 96;
84
+ }
85
+
86
+ static datatype() {
87
+ // Returns string type for a message object
88
+ return 'realsense2_camera/Extrinsics';
89
+ }
90
+
91
+ static md5sum() {
92
+ //Returns md5sum for a message object
93
+ return '3627b43073f4cd5dd6dc179a49eda2ad';
94
+ }
95
+
96
+ static messageDefinition() {
97
+ // Returns full string definition for message
98
+ return `
99
+ std_msgs/Header header
100
+ float64[9] rotation
101
+ float64[3] translation
102
+
103
+ ================================================================================
104
+ MSG: std_msgs/Header
105
+ # Standard metadata for higher-level stamped data types.
106
+ # This is generally used to communicate timestamped data
107
+ # in a particular coordinate frame.
108
+ #
109
+ # sequence ID: consecutively increasing ID
110
+ uint32 seq
111
+ #Two-integer timestamp that is expressed as:
112
+ # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')
113
+ # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')
114
+ # time-handling sugar is provided by the client library
115
+ time stamp
116
+ #Frame this data is associated with
117
+ string frame_id
118
+
119
+ `;
120
+ }
121
+
122
+ static Resolve(msg) {
123
+ // deep-construct a valid message object instance of whatever was passed in
124
+ if (typeof msg !== 'object' || msg === null) {
125
+ msg = {};
126
+ }
127
+ const resolved = new Extrinsics(null);
128
+ if (msg.header !== undefined) {
129
+ resolved.header = std_msgs.msg.Header.Resolve(msg.header)
130
+ }
131
+ else {
132
+ resolved.header = new std_msgs.msg.Header()
133
+ }
134
+
135
+ if (msg.rotation !== undefined) {
136
+ resolved.rotation = msg.rotation;
137
+ }
138
+ else {
139
+ resolved.rotation = new Array(9).fill(0)
140
+ }
141
+
142
+ if (msg.translation !== undefined) {
143
+ resolved.translation = msg.translation;
144
+ }
145
+ else {
146
+ resolved.translation = new Array(3).fill(0)
147
+ }
148
+
149
+ return resolved;
150
+ }
151
+ };
152
+
153
+ module.exports = Extrinsics;
camera_ws/devel/share/gennodejs/ros/realsense2_camera/msg/IMUInfo.js ADDED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Auto-generated. Do not edit!
2
+
3
+ // (in-package realsense2_camera.msg)
4
+
5
+
6
+ "use strict";
7
+
8
+ const _serializer = _ros_msg_utils.Serialize;
9
+ const _arraySerializer = _serializer.Array;
10
+ const _deserializer = _ros_msg_utils.Deserialize;
11
+ const _arrayDeserializer = _deserializer.Array;
12
+ const _finder = _ros_msg_utils.Find;
13
+ const _getByteLength = _ros_msg_utils.getByteLength;
14
+
15
+ //-----------------------------------------------------------
16
+
17
+ class IMUInfo {
18
+ constructor(initObj={}) {
19
+ if (initObj === null) {
20
+ // initObj === null is a special case for deserialization where we don't initialize fields
21
+ this.frame_id = null;
22
+ this.data = null;
23
+ this.noise_variances = null;
24
+ this.bias_variances = null;
25
+ }
26
+ else {
27
+ if (initObj.hasOwnProperty('frame_id')) {
28
+ this.frame_id = initObj.frame_id
29
+ }
30
+ else {
31
+ this.frame_id = '';
32
+ }
33
+ if (initObj.hasOwnProperty('data')) {
34
+ this.data = initObj.data
35
+ }
36
+ else {
37
+ this.data = new Array(12).fill(0);
38
+ }
39
+ if (initObj.hasOwnProperty('noise_variances')) {
40
+ this.noise_variances = initObj.noise_variances
41
+ }
42
+ else {
43
+ this.noise_variances = new Array(3).fill(0);
44
+ }
45
+ if (initObj.hasOwnProperty('bias_variances')) {
46
+ this.bias_variances = initObj.bias_variances
47
+ }
48
+ else {
49
+ this.bias_variances = new Array(3).fill(0);
50
+ }
51
+ }
52
+ }
53
+
54
+ static serialize(obj, buffer, bufferOffset) {
55
+ // Serializes a message object of type IMUInfo
56
+ // Serialize message field [frame_id]
57
+ bufferOffset = _serializer.string(obj.frame_id, buffer, bufferOffset);
58
+ // Check that the constant length array field [data] has the right length
59
+ if (obj.data.length !== 12) {
60
+ throw new Error('Unable to serialize array field data - length must be 12')
61
+ }
62
+ // Serialize message field [data]
63
+ bufferOffset = _arraySerializer.float64(obj.data, buffer, bufferOffset, 12);
64
+ // Check that the constant length array field [noise_variances] has the right length
65
+ if (obj.noise_variances.length !== 3) {
66
+ throw new Error('Unable to serialize array field noise_variances - length must be 3')
67
+ }
68
+ // Serialize message field [noise_variances]
69
+ bufferOffset = _arraySerializer.float64(obj.noise_variances, buffer, bufferOffset, 3);
70
+ // Check that the constant length array field [bias_variances] has the right length
71
+ if (obj.bias_variances.length !== 3) {
72
+ throw new Error('Unable to serialize array field bias_variances - length must be 3')
73
+ }
74
+ // Serialize message field [bias_variances]
75
+ bufferOffset = _arraySerializer.float64(obj.bias_variances, buffer, bufferOffset, 3);
76
+ return bufferOffset;
77
+ }
78
+
79
+ static deserialize(buffer, bufferOffset=[0]) {
80
+ //deserializes a message object of type IMUInfo
81
+ let len;
82
+ let data = new IMUInfo(null);
83
+ // Deserialize message field [frame_id]
84
+ data.frame_id = _deserializer.string(buffer, bufferOffset);
85
+ // Deserialize message field [data]
86
+ data.data = _arrayDeserializer.float64(buffer, bufferOffset, 12)
87
+ // Deserialize message field [noise_variances]
88
+ data.noise_variances = _arrayDeserializer.float64(buffer, bufferOffset, 3)
89
+ // Deserialize message field [bias_variances]
90
+ data.bias_variances = _arrayDeserializer.float64(buffer, bufferOffset, 3)
91
+ return data;
92
+ }
93
+
94
+ static getMessageSize(object) {
95
+ let length = 0;
96
+ length += _getByteLength(object.frame_id);
97
+ return length + 148;
98
+ }
99
+
100
+ static datatype() {
101
+ // Returns string type for a message object
102
+ return 'realsense2_camera/IMUInfo';
103
+ }
104
+
105
+ static md5sum() {
106
+ //Returns md5sum for a message object
107
+ return 'a02adb3a99530b11ba18a16f40f9512a';
108
+ }
109
+
110
+ static messageDefinition() {
111
+ // Returns full string definition for message
112
+ return `
113
+ string frame_id
114
+ float64[12] data
115
+ float64[3] noise_variances
116
+ float64[3] bias_variances
117
+
118
+ `;
119
+ }
120
+
121
+ static Resolve(msg) {
122
+ // deep-construct a valid message object instance of whatever was passed in
123
+ if (typeof msg !== 'object' || msg === null) {
124
+ msg = {};
125
+ }
126
+ const resolved = new IMUInfo(null);
127
+ if (msg.frame_id !== undefined) {
128
+ resolved.frame_id = msg.frame_id;
129
+ }
130
+ else {
131
+ resolved.frame_id = ''
132
+ }
133
+
134
+ if (msg.data !== undefined) {
135
+ resolved.data = msg.data;
136
+ }
137
+ else {
138
+ resolved.data = new Array(12).fill(0)
139
+ }
140
+
141
+ if (msg.noise_variances !== undefined) {
142
+ resolved.noise_variances = msg.noise_variances;
143
+ }
144
+ else {
145
+ resolved.noise_variances = new Array(3).fill(0)
146
+ }
147
+
148
+ if (msg.bias_variances !== undefined) {
149
+ resolved.bias_variances = msg.bias_variances;
150
+ }
151
+ else {
152
+ resolved.bias_variances = new Array(3).fill(0)
153
+ }
154
+
155
+ return resolved;
156
+ }
157
+ };
158
+
159
+ module.exports = IMUInfo;