We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb87a33 commit c8ba64fCopy full SHA for c8ba64f
roboticstoolbox/backends/Swift/Swift.py
@@ -263,7 +263,7 @@ def add(
263
elif isinstance(ob, rp.Shape):
264
shape = ob.to_dict()
265
if self.display:
266
- id = self._send_socket('shape', shape)
+ id = int(self._send_socket('shape', shape)) + SHAPE_ADD
267
else:
268
id = len(self.shapes) + SHAPE_ADD
269
self.shapes.append(ob)
0 commit comments