MCPcopy Create free account
hub / github.com/MarkFzp/act-plus-plus / check_connected

Method check_connected

dynamixel_client.py:299–304  ·  view source on GitHub ↗

Ensures the robot is connected.

(self)

Source from the content-addressed store, hash-verified

297 sync_writer.clearParam()
298
299 def check_connected(self):
300 """Ensures the robot is connected."""
301 if self.lazy_connect and not self.is_connected:
302 self.connect()
303 if not self.is_connected:
304 raise OSError('Must call connect() first.')
305
306 def handle_packet_result(self,
307 comm_result: int,

Callers 3

write_byteMethod · 0.95
sync_writeMethod · 0.95
readMethod · 0.80

Calls 1

connectMethod · 0.95

Tested by

no test coverage detected