@CariWilliamz Just forwarded this information! Let me know when this gets resolved.
Posts made by robolink_leila
RE: unable to pair
Sorry for the delayed response! Just checking in to see if you solved this problem. Did you make sure to include the header file
#include <CoDrone.h>? If you did, you probably do not have the latest version of the CoDrone library. Go to Sketch>>Include Libraries>>Manage Libraries. Search for CoDrone and make sure you update to the latest version. Close Arduino and then try your code again. This should solve the problem!
RE: IR Sensors Not Working
Hi @rhavlick ,
Take a look at this diagram and make sure you are using a
digitalRead()from the bottom IR sensors. I've included a link to the lesson here so you can take a look. If you still want to use the ones on the side you will need to write some different code because those are analog pins, which means they return a value from 0-1023. The code would look similar to this but replacing the motor commands with CoDrone commands. Hope this helps!
RE: Choosing a Drone that can be remotely controlled by a PC in python via Wifi or bluetooth
Hi @Joao-H ,
Hopefully the following can answer your questions:
- We have recently published introductory lessons for using Python on a PC with CoDrone on Basecamp. You will need to install Python and Jupyter Notebook (or any other IDE of your choice)
- You can gather sensor data using the following documentation
- For a remote control program you will need to install additional libraries. I recommend either
opencv-pythonwhich have functions for keyboard input
- You can purchase an FPV Camera Add-on to access video feed via Wifi. I can send you a sample program in Python later if you need it.
- There is no GPS functionality but you can roughly estimate position from the origin using the optical flow sensor data
We are working on publishing lessons for a remote control program but for now this should point you in the right direction!
RE: So about the CoDrone
Thanks for looking at CoDrone! As for adding components, you may have a hard time adding many more. Keep in mind that any added mass will affect flight. We also do not offer any support for adding any new sensors and you would need to consult ByRobot's documentation. A camera, however, can be added on. You can purchase the FPV Camera Add-On for CoDrone separately and write a Python program to access the video. If you are still interested let me know and I can send you further instructions for accessing the camera feed.
RE: Any news on access to camera video stream?
Hello @brimstone ,
I apologize for the delayed response! Currently the only way you can access the video stream is through Petrone or by writing a Python program. We have lessons posted on how to get started programming CoDrone with Python, however for this project I recommend installing an IDE like PyCharm instead of using Jupyter notebook. I can send you more detailed instructions if you are still interested! Let me know if you have any more questions.
RE: No Connection
I would double check that you installed the driver properly for your operating system. It seems like your computer does not recognize the device. In the past some users needed to install it twice for it to work. Also make sure the UART cable is disconnected from the SmartInventor board if you have a CoDrone Pro. If you still experience problems, you might have an incompatible USB cable. Did you switch it out by any chance with another one? If you are still experiencing issues please set up a support call here