This callback is called form the Crazyflie API when a Crazyflie has been connected and the TOCs have been downloaded.
(self, link_uri)
| 58 | threading.Thread(target=self._server).start() |
| 59 | |
| 60 | def _connected(self, link_uri): |
| 61 | """ This callback is called form the Crazyflie API when a Crazyflie |
| 62 | has been connected and the TOCs have been downloaded.""" |
| 63 | print('Connected to %s' % link_uri) |
| 64 | |
| 65 | self._cf.packet_received.add_callback(self._got_packet) |
| 66 | |
| 67 | def _got_packet(self, pk): |
| 68 | if pk.port == CRTP_PORT_MAVLINK: |
nothing calls this directly
no test coverage detected