You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# No QoS Profiles are set, but this might not be required, since they might already behave like ROS 1 persistant.
40
42
43
+
defsingleton(cls):
44
+
instances= {}
41
45
46
+
defget_instance(*args, **kwargs):
47
+
ifclsnotininstances:
48
+
instances[cls] =cls(*args, **kwargs)
49
+
returninstances[cls]
50
+
51
+
returnget_instance
52
+
53
+
@singleton
42
54
classRobot:
43
55
"""Robot API
44
56
@@ -60,20 +72,20 @@ def __init__(
60
72
machine_namespace (Optional[str], optional): The Namespace from '/' to the ROS namespace for the specific Mirte. Defaults to "/{HOSTNAME}". (This only has to be changed when running the Robot API from a different machine directly. It is configured correctly for the Web interface)
61
73
hardware_namespace (str, optional): The namespace for the hardware peripherals. Defaults to "io".
f"Telemetrix node at '{self._node.get_namespace()+'/'+self._hardware_namespace+'/telemetrix'}' does not provide a '{self._node.get_namespace() +'/'+self._hardware_namespace+'/get_board_characteristics'}' service! Aborting"
0 commit comments