Can you send me contact me with instructions for using the FPV module with Python? Thanks.
rkm
@rkm
Posts made by rkm
-
Programming FPV with Python
-
Petrone app problems
Hi, I was having problems pairing with my drone in camera mode. Can you give some help here? Or should I ask elsewhere? Any help would be appreciated. Thanks.
-
RE: CoDrone Python pairing issues
Here is a photo of my setup. (The CoDrone is on nearby)
-
RE: CoDrone Python pairing issues
The first time I tried pairing I got this output:
Port : [COM1]
Out[1]: False
The second time I attempted pairing, after disconnecting everything, I got the same error that I initially posted. I am sure that the issue is not being caused by any of the potential causes you described. Can you offer any more help?
-
CoDrone Python pairing issues
I have successfully installed the CoDrone library. However, I keep getting the same error message:
SerialException Traceback (most recent call last)
<ipython-input-7-ae0abd1f88fc> in <module>()
1 import CoDrone
2 drone = CoDrone.CoDrone()
----> 3 drone.pair(drone.Nearest)~\Anaconda3\lib\site-packages\CoDrone\codrone.py in pair(self, device_name, port_name, flag_system_reset)
723 if not self.isOpen():
724 self.close()
--> 725 self.open(port_name)
726 sleep(0.1)
727~\Anaconda3\lib\site-packages\CoDrone\codrone.py in open(self, port_name)
670 stopbits=serial.STOPBITS_ONE,
671 bytesize=serial.EIGHTBITS,
--> 672 timeout=0)
673
674 if self.isOpen():~\Anaconda3\lib\site-packages\serial\serialwin32.py in init(self, *args, **kwargs)
29 self._overlapped_read = None
30 self._overlapped_write = None
---> 31 super(Serial, self).init(*args, **kwargs)
32
33 def open(self):~\Anaconda3\lib\site-packages\serial\serialutil.py in init(self, port, baudrate, bytesize, parity, stopbits, timeout, xonxoff, rtscts, write_timeout, dsrdtr, inter_byte_timeout, exclusive, **kwargs)
238
239 if port is not None:
--> 240 self.open()
241
242 # - - - - - - - - - - - - - - - - - - - - - - - -~\Anaconda3\lib\site-packages\serial\serialwin32.py in open(self)
60 if self._port_handle == win32.INVALID_HANDLE_VALUE:
61 self._port_handle = None # 'cause del is called anyway
---> 62 raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))
63
64 try:SerialException: could not open port 'COM1': PermissionError(13, 'Access is denied.', None, 5)
-
RE: Installing CoDrone Python library on Anaconda
I have resolved this issue.
-
Installing CoDrone Python library on Anaconda
I have installed Python software through the Anaconda distribution. Using pip to install the library may break my installation of Anaconda. Is there any alternative to pip?