without knowing how you have your board set up, can you post a pic of it? (the black one for ON/OFF, and the #1 dip switch in the upper left corner)
Posts made by ixmclean
-
RE: I can't upload my Arduino code to my remote control
-
RE: Can Codrone fly along the line?
@james-whitee BL is the Blue tooth linking module (you can't use your computer's native bluetooth)
RTSP: is the protocol used by the drone to transmit it's video. you do NOT have the capability to process the video on the drone, and using the FPV module with the CODRONE, you (via computer) will capture the RTSP video feed (the FPV transmits the RTSP feed via wireless network). You then do your Computer Vision processing on the frames you select and in turn can use that to make decisions of how to fly the drone. -
RE: App can't connect Codrone
you don't pair on BLE with the drone. your phone needs to be on the drone's broadcasting wireless network. Use the app, and the app will take care of the BL handshaking/firmware transfer.
-
RE: Can Codrone fly along the line?
(my perspective as I only use python) You would need to have an active link to the drone, (using their BL module from a computer {a pi works}) capture the video feed, do some Computer Vision processing (i.e. openCV) to the captured frames and make assessments to what the drone needs to self correct and transmit those movements back to the drone. The drone will not be self sustaining/autonomous without a system actively processing/issuing commands. Even when done with the Arduino IDE (though the drone cannot self access its video feed, there is no pre-capture before is it broadcast via RTSP) it can do patterns, but not video processing.
-
RE: CoDrone Pro can be programmed with Python?
Good morning @miawan1 not certain where you looked, but it is very inaccurate. There are numerous way to code the Codrone.
- Arduino
- Python
- Blockly
- Snap
A great place to start is the Codrone website. On the Codrone (Lite or Pro) product there is a link to “Learn Codrone” and it will take you to their workbench:
Https://edu.workbencheducation.com/partners/robolinkThere are numerous sites that give examples looking through google, and there are many in this forum.
-
RE: Question about get_opt_flow_position (Can I track how far I've gone?)
Sadly, no. The sensors aren’t sensitive enough for that. An issue I’m trying to resolve myself as I’m trying to have it fly semi autonomous, and within a bounded area, but the drone natively on its own can’t do that either. Don’t try to “calibrate” to zeroize the X/Y either. I’ve runs tests to get reliable and consistent X/Y mapping/flight and it capable. I’ve even tried landing, “calibrate” to try to reset the X/y but alas.
-
RE: Codrone pro - return as faulty or?
without knowing which pins you are using it is hard to gauge which pins you are referring to. Yours looks just like mine (will upload a pic when I get to my phone)
As for documentation, they have an extensive tutorial section (though it is chopped up in very small sections so there is some clicking you have to go through to complete each tutorial)
It can be found here: Starter
But Codrone Pro controller setup can be found here: Remote assembly -
RE: FPV flight height
@lyakh there is a sensor at the bottom of the cordoned like the one in this picture. See if it is covered by any chance
-
RE: website
as a start: how are you trying to code the CoDrone?
- python (what I do most of my work in): Need a simple python PyCharm is good. If you search the forums I have some stuff that explain this. if I have time later this morning I may dig it up and add it to this.
- blocky (not certain as I don't use this)
- Arduino IDE: need the PRO version to do this as it has the controller/board that provides the communication to update the codrone.
-
RE: Programming FPV with Python
@rkm the concept of using the FPV is indirect. While the drone DOES broadcast a video, you can't access it directly. Instead, you access the video feed via RTSP using openCV (your computer must be on the same network the FPV hat is broadcasting on) or whatever computer vision library you want to use.
Here are some applications that have been developed (using the petrone library, but you can easily mod/convert them for CoDrone library). FPV OpenCV use
Python coding note: your computer/python code environment must maintain connectivity with the codrone through their bluetooth/Robolink module (can't use the standard bluetooth built in the computer) if you lose connection, your drone will self land after 8sec. You can't upload code and then take the drone somewhere else and run.
Here is a link to getting started with CoDrone/Python development: RoboLink Lessons/tutorials
-
RE: Python
another good ref is this: Python and Arduino library with examples
-
RE: Python
Yes,
here is a good starter: Robolink's Lessons for python
If you want more granularity petrone has a library you can also use: Petrone website
-
RE: How to land softly?
unfortunately, there isn't a "land slowly/softly" function. If you are using the Arduino/python option for development, and distance is known (surface to drone) you can have it drop the throttle and descend on your own before telling it to land.
-
RE: Propellers
Sadly, that appears to more of an issue @robolink_leila and crew would better handle then me (I'm just a user, not part of the company).
My assumption is how the motors are being connected maybe? the contacts aren't aligned? I've banged my drone plenty in the past 3 months but I always use the guard, even with the FPV hat.
-
RE: Keyboard Input/Events
yikes... my fault, sadly, I wasn't clear enough in my response as I'm used to Arduino or python code as I'm not familiar with the graphic type of development.
-
RE: Petrone app problems
@robolink_leila is correct, you have to assign your controlling/viewing device to the network the Camera hat is on.
The control of the drone is done via bluetooth, the camera/video is done via RTSP on its own network (as mentioned above)
-
RE: Keyboard Input/Events
Please don't forget to also post your code, as it is hard to see exactly what you are trying to do, or what the problem is without the code.
-
RE: Propellers
Do you mean the motors? or the little plastic propellers themselves? Not understanding what you mean by the propeller ins't working (or stops working but not broken?)
-
RE: Basic questions..
good morning @elpoole
when using the arduino method of coding there are 2 things that need to happen- keep the procontroller "on" (either via USB or batteries)
- you have to flip the #1 dip switch. I don't have the drone on me (left it at home as I'm using it at work) iirc, it is UP for programming/uploading, and DOWN for "running" which means everytime the drone is reset/new batteries, it will execute the code you have uploaded.