Ensures the robot is connected.
(self)
| 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, |
no test coverage detected