Hi
First of all thank you for your work.
When launching python ps_drone.py in a terminal it works just fine but when i go in a python interpreter (spyder python 2.7) and i try to "import ps_drone" i get the "ImportError: No module named ps_drone" error.
I tried to export PYTHONPATH=$PYTHONPATH:.
and sudo python ps_drone.py install
both work but i still get the same error in spyder.
What did i miss?
Thank you for your help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't know spyder python, is it that "Scientific PYthon Development EnviRonmen"-library ?
However, I tested PS-Drone with PyPy and IronPython. PS-Drone has no install-function yet, so the only thing I had to do is to copy ps_drone.py to my working directory with the programs I am coding.
This may not be the most satisfactory answer, but I hope it helps anyway.
Have a great day,
Philipp
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
Other quick question. Is there a way we can get the camera's image in the form of a matrix (numpy array for instance) in python?
Can we use this in OpenCV, or get something i can use in OpenCV?
Thank you
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
First of all thank you for your work.
When launching python ps_drone.py in a terminal it works just fine but when i go in a python interpreter (spyder python 2.7) and i try to "import ps_drone" i get the "ImportError: No module named ps_drone" error.
I tried to export PYTHONPATH=$PYTHONPATH:.
and sudo python ps_drone.py install
both work but i still get the same error in spyder.
What did i miss?
Thank you for your help
Hi Pierre,
I don't know spyder python, is it that "Scientific PYthon Development EnviRonmen"-library ?
However, I tested PS-Drone with PyPy and IronPython. PS-Drone has no install-function yet, so the only thing I had to do is to copy ps_drone.py to my working directory with the programs I am coding.
This may not be the most satisfactory answer, but I hope it helps anyway.
Have a great day,
Philipp
Hi
Other quick question. Is there a way we can get the camera's image in the form of a matrix (numpy array for instance) in python?
Can we use this in OpenCV, or get something i can use in OpenCV?
Thank you
Hi Pierre,
yes, this is possible (and often necessary). Just google for openCV and NumPy, there are tons of discriptions and tutorials.
CU,
Philipp