(self, command)
| 70 | return r |
| 71 | |
| 72 | def _send_udp_command(self, command): |
| 73 | msg = TelloModule.fly_params['commands'].get(command) |
| 74 | if msg is not None: |
| 75 | self.logger.info(msg[0]) |
| 76 | r = self.send_command(command) |
| 77 | self._feedback(r, msg[1]) |
| 78 | return r |
| 79 | raise Exception("Bad UDP command") |
| 80 |
no test coverage detected